@@ -62,6 +62,7 @@ public ConfigurePolledBno055(ConfigurePolledBno055 configurePolledBno055)
6262 /// </remarks>
6363 [ Category ( ConfigurationCategory ) ]
6464 [ Description ( "Specifies the axis map that will be applied during configuration." ) ]
65+ [ Browsable ( false ) ]
6566 public Bno055AxisMap AxisMap { get ; set ; } = Bno055AxisMap . XYZ ;
6667
6768 /// <summary>
@@ -74,6 +75,7 @@ public ConfigurePolledBno055(ConfigurePolledBno055 configurePolledBno055)
7475 /// </remarks>
7576 [ Category ( ConfigurationCategory ) ]
7677 [ Description ( "Specifies axis sign that will be applied during configuration." ) ]
78+ [ Browsable ( false ) ]
7779 public Bno055AxisSign AxisSign { get ; set ; } = Bno055AxisSign . Default ;
7880
7981 /// <summary>
@@ -229,24 +231,6 @@ public enum Bno055AxisSign : uint
229231 MirrorX = 0b00000_100 ,
230232 }
231233
232- // NB: Can be used to remove axis map and sign properties from MultiDeviceFactories that include a
233- // ConfigurePolledBno055 when having those options would cause confusion and potential
234- // commutator malfunction
235- internal class PolledBno055SingleDeviceFactoryConverter : SingleDeviceFactoryConverter
236- {
237- public override PropertyDescriptorCollection GetProperties ( ITypeDescriptorContext context , object value , Attribute [ ] attributes )
238- {
239- var properties = ( from property in base . GetProperties ( context , value , attributes ) . Cast < PropertyDescriptor > ( )
240- where ! property . IsReadOnly &&
241- ! ( property . PropertyType == typeof ( Bno055AxisMap ) ) &&
242- ! ( property . PropertyType == typeof ( Bno055AxisSign ) ) &&
243- property . ComponentType != typeof ( SingleDeviceFactory )
244- select property )
245- . ToArray ( ) ;
246- return new PropertyDescriptorCollection ( properties ) . Sort ( properties . Select ( p => p . Name ) . ToArray ( ) ) ;
247- }
248- }
249-
250234 /// <inheritdoc cref = "ConfigurePolledBno055"/>
251235 [ Obsolete ( "This operator is obsolete. Use ConfigurePolledBno055 instead. Will be removed in version 1.0.0." ) ]
252236 public class ConfigureNeuropixelsV1eBno055 : ConfigurePolledBno055
0 commit comments