Path Control State
PathControlState
ID 410
- Payload
- 81 bytes
- Packet
- 103 bytes
- Source
- vehicle
- Category
- Guidance
Path control state issued by Path Controller.
#Fields
| Offset | Field | Type | Unit | Range | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | #path_refPath Reference |
uint32_t |
– | – | Unsigned integer reference of the desired path message to which this PathControlState message refers to. Path reference should only be set by a maneuver, not by path controllers. |
|||||||||||||||
| 4 | #start_latStart Point -- Latitude WGS-84 |
fp64_t |
rad | −π/2 … π/2 | WGS-84 latitude of start point. |
|||||||||||||||
| 12 | #start_lonStart Point -- WGS-84 Longitude |
fp64_t |
rad | −π … π | WGS-84 longitude of start point. |
|||||||||||||||
| 20 | #start_zStart Point -- Z Reference |
fp32_t |
m | – | Altitude or depth of start point. This parameter will be ignored if the 'NO_Z' flag is set, or if the 'START' flag is not set. |
|||||||||||||||
| 24 | #start_z_unitsStart Point -- Z Units |
uint8_t |
Enumerated | default
0 |
Units of the start point's z reference. 4 values from
|
0 | Z_NONE | None |
1 | Z_DEPTH | Depth |
2 | Z_ALTITUDE | Altitude |
3 | Z_HEIGHT | Height |
end_latEnd Point -- Latitude WGS-84fp64_tWGS-84 latitude of end point.
end_lonEnd Point -- WGS-84 Longitudefp64_tWGS-84 longitude of end point.
end_zEnd Point -- Z Referencefp32_tDepth or altitude for the end point. This parameter should be ignored if the 'NO_Z' flag is set.
end_z_unitsEnd Point -- Z Unitsuint8_t0Units of the end point's z reference.
4 values from ZUnits
0 | Z_NONE | None |
1 | Z_DEPTH | Depth |
2 | Z_ALTITUDE | Altitude |
3 | Z_HEIGHT | Height |
lradiusLoiter -- Radiusfp32_tRadius for loitering at end point. Will be 0 if no loitering is active.
flagsFlagsuint8_tPath control state flags.
0x01 | FL_NEAR | Near Endpoint Set if near the target endpoint. |
0x02 | FL_LOITERING | Loitering Set if loitering. |
0x04 | FL_NO_Z | No Altitude/Depth control Altitude/depth being controlled independently. |
0x08 | FL_3DTRACK | 3D Tracking 3D-tracking is active. |
0x10 | FL_CCLOCKW | Counter-Clockwise loiter Indicates that loitering, if active, is being done counter-clockwise. Otherwise, clockwise loitering should be assumed. |
xAlong Track Positionfp32_tAlong-Track position value.
yCross Track Positionfp32_tCross-Track position value.
zVertical Track Positionfp32_tVertical-Track position value.
vxAlong Track Velocityfp32_tAlong-Track velocity value.
vyCross Track Velocityfp32_tCross-Track velocity value.
vzVertical Track Velocityfp32_tVertical-Track velocity value.
course_errorCourse Errorfp32_tCourse error value.
etaEstimated Time to Arrival (ETA)uint16_tEstimated time to reach target waypoint. The value will be 65535 if the time is unknown or undefined, and 0 when loitering.