File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -145,10 +145,10 @@ Use it if JCx ports are configured to work as PWM signal generators.
145145 <!-- Encoders configuration, maps logical port to I2C command.
146146 I2C device path and device id are set separately, in "i2c" section. -->
147147 <encoders >
148- <encoder port =" B1" i2cCommandNumber =" 0x30" defaultType =" defaultEncoder " />
149- <encoder port =" B2" i2cCommandNumber =" 0x31" defaultType =" defaultEncoder " />
150- <encoder port =" B4" i2cCommandNumber =" 0x32" defaultType =" defaultEncoder " />
151- <encoder port =" B3" i2cCommandNumber =" 0x33" defaultType =" defaultEncoder " />
148+ <encoder port =" B1" i2cCommandNumber =" 0x30" defaultType =" encoder95 " />
149+ <encoder port =" B2" i2cCommandNumber =" 0x31" defaultType =" encoder95 " />
150+ <encoder port =" B4" i2cCommandNumber =" 0x32" defaultType =" encoder95 " />
151+ <encoder port =" B3" i2cCommandNumber =" 0x33" defaultType =" encoder95 " />
152152 </encoders >
153153
154154 <!-- Description of servo motor types used in servo motors mapping. Supplied values correspond to
@@ -185,7 +185,8 @@ Use it if JCx ports are configured to work as PWM signal generators.
185185
186186 <!-- Description of encoder types. Provides a coefficient for converting raw encoder values to degrees. -->
187187 <encoderTypes >
188- <defaultEncoder rawToDegrees =" 0.02304708" />
188+ <encoder95 rawToDegrees =" 0.02304708" />
189+ <encoder126 rawToDegrees =" 0.03033597" />
189190 </encoderTypes >
190191
191192 <!-- Format for playSound command, used to play .wav files. %1 designates file name to be played. -->
Original file line number Diff line number Diff line change @@ -145,9 +145,9 @@ Use it if JCx ports are configured to work as PWM signal capture devices.
145145 <!-- Encoders configuration, maps logical port to I2C command.
146146 I2C device path and device id are set separately, in "i2c" section. -->
147147 <encoders >
148- <encoder port =" B2" i2cCommandNumber =" 0x31" />
149- <encoder port =" B4" i2cCommandNumber =" 0x32" />
150- <encoder port =" B3" i2cCommandNumber =" 0x33" />
148+ <encoder port =" B2" i2cCommandNumber =" 0x31" defaultType = " encoder95 " />
149+ <encoder port =" B4" i2cCommandNumber =" 0x32" defaultType = " encoder95 " />
150+ <encoder port =" B3" i2cCommandNumber =" 0x33" defaultType = " encoder95 " />
151151 </encoders >
152152
153153 <!-- Description of servo motor types used in servo motors mapping. Supplied values correspond to
@@ -184,7 +184,8 @@ Use it if JCx ports are configured to work as PWM signal capture devices.
184184
185185 <!-- Description of encoder types. Provides a coefficient for converting raw encoder values to degrees. -->
186186 <encoderTypes >
187- <defaultEncoder rawToDegrees =" 0.02304708" />
187+ <encoder95 rawToDegrees =" 0.02304708" />
188+ <encoder126 rawToDegrees =" 0.03033597" />
188189 </encoderTypes >
189190
190191 <!-- Format for playSound command, used to play .wav files. %1 designates file name to be played. -->
You can’t perform that action at this time.
0 commit comments