Rev 1321 | Rev 1365 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1321 | Rev 1363 | ||
|---|---|---|---|
| Line 175... | Line 175... | ||
| 175 | <variable name="I_term" type="uint" start_bit="16" bit_length="16" unit="" description=""/> |
175 | <variable name="I_term" type="uint" start_bit="16" bit_length="16" unit="" description=""/> |
| 176 | <variable name="D_term" type="uint" start_bit="32" bit_length="16" unit="" description=""/> |
176 | <variable name="D_term" type="uint" start_bit="32" bit_length="16" unit="" description=""/> |
| 177 | <variable name="Sum" type="uint" start_bit="48" bit_length="16" unit="" description=""/> |
177 | <variable name="Sum" type="uint" start_bit="48" bit_length="16" unit="" description=""/> |
| 178 | </variables> |
178 | </variables> |
| 179 | </command> |
179 | </command> |
| 180 | <command id="129" name=" |
180 | <command id="129" name="CONFIG_SENSOR" type="specific" module="PID" description="Configure PID regulator, if message is sent with 0 data bytes, module will respond with current configuration"> |
| 181 | <variables> |
181 | <variables> |
| 182 | <variable name="sensorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
182 | <variable name="sensorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 183 | <variable name="sensorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
183 | <variable name="sensorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 184 | <variable name="sensorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
184 | <variable name="sensorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
| - | 185 | </variables> |
|
| - | 186 | </command> |
|
| - | 187 | <command id="130" name="CONFIG_ACTUATOR" type="specific" module="PID" description="Configure PID regulator, if message is sent with 0 data bytes, module will respond with current configuration"> |
|
| - | 188 | <variables> |
|
| - | 189 | <variable name="actuatorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
|
| - | 190 | <variable name="actuatorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
|
| - | 191 | <variable name="actuatorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
|
| - | 192 | </variables> |
|
| - | 193 | </command> |
|
| - | 194 | <command id="131" name="CONFIG_PARAMETER" type="specific" module="PID" description="Configure PID regulator constants, if message is sent with 0 data bytes, module will respond with current configuration"> |
|
| - | 195 | <variables> |
|
| - | 196 | <variable name="K_P" type="float" start_bit="0" bit_length="16" unit="" description=""/> |
|
| - | 197 | <variable name="K_I" type="float" start_bit="16" bit_length="16" unit="" description=""/> |
|
| - | 198 | <variable name="K_D" type="float" start_bit="32" bit_length="16" unit="" description=""/> |
|
| - | 199 | <variable name="TimeUnit" type="uint" start_bit="48" bit_length="1" unit="" description=""> |
|
| - | 200 | <value id="0" name="Seconds"/> |
|
| - | 201 | <value id="1" name="Milliseconds"/> |
|
| - | 202 | </variable> |
|
| - | 203 | <variable name="RegulatorTime" type="uint" start_bit="49" bit_length="16" unit="" description=""/> |
|
| - | 204 | </variables> |
|
| - | 205 | </command> |
|
| - | 206 | <command id="132" name="PID_STATUS" type="specific" module="PID" description="information about the pid controller"> |
|
| - | 207 | <variables> |
|
| - | 208 | <variable name="Measurment" type="float" start_bit="0" bit_length="16" unit="" description=""/> |
|
| - | 209 | <variable name="Reference" type="float" start_bit="16" bit_length="16" unit="" description=""/> |
|
| - | 210 | <variable name="PWM" type="float" start_bit="32" bit_length="16" unit="" description=""/> |
|
| - | 211 | <variable name="Sum" type="uint" start_bit="48" bit_length="16" unit="" description=""/> |
|
| 185 | </variables> |
212 | </variables> |
| 186 | </command> |
213 | </command> |
| 187 | <command id="128" name="CONFIG" type="specific" module="SlowPWM" description="Configure PWM output, if message is sent with 0 data bytes, module will respond with current configuration"> |
214 | <command id="128" name="CONFIG" type="specific" module="SlowPWM" description="Configure PWM output, if message is sent with 0 data bytes, module will respond with current configuration"> |
| 188 | <variables> |
215 | <variables> |
| 189 | <variable name="pwmPeriod" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
216 | <variable name="pwmPeriod" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |