Control Loops
ControlLoops
ID 507
- Payload
- 9 bytes
- Packet
- 31 bytes
- Source
- vehicle
- Category
- Vehicle Supervision
Enable or disable control loops.
#Fields
| Offset | Field | Type | Unit | Range | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | #enableEnable |
uint8_t |
Enumerated | – |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1 | #maskControl Loop Mask |
uint32_t |
Bitfield | – | Control loop mask. 20 flags from
|
0x00000000 | CL_NONE | None |
0x00000001 | CL_PATH | Path Control |
0x00000002 | CL_TELEOPERATION | Teleoperation Control |
0x00000004 | CL_ALTITUDE | Altitude Control |
0x00000008 | CL_DEPTH | Depth Control |
0x00000010 | CL_ROLL | Roll Control |
0x00000020 | CL_PITCH | Pitch Control |
0x00000040 | CL_YAW | Yaw Control |
0x00000080 | CL_SPEED | Speed Control |
0x00000100 | CL_YAW_RATE | Yaw Rate Control |
0x00000200 | CL_VERTICAL_RATE | Vertical Rate Control |
0x00000400 | CL_TORQUE | Torque Control |
0x00000800 | CL_FORCE | Force Control |
0x00001000 | CL_VELOCITY | Velocity Control |
0x00002000 | CL_THROTTLE | Throttle Control |
0x00004000 | CL_HOVERING | Hovering Control |
0x00008000 | CL_PADDLING | Paddling Control |
0x40000000 | CL_EXTERNAL | Unspecified External Control |
0x80000000 | CL_NO_OVERRIDE | Non-overridable control |
0xFFFFFFFF | CL_ALL | All |
scope_refScope Time Referenceuint32_tUnsigned integer reference for the scope of the control loop message. Scope reference should only be set by a maneuver. Should be set to an always increasing reference at the time of dispatching this message. Lower level controllers must inherit the same scope reference sent by maneuver. This same scope reference must be sent down to lower control layers.