0x040D - SetLocalWaypoint
Description
This message is used to set waypoint data based on the local coordinate system. A local waypoint can have up to six fields to describe it completely. The waypoint is defined in a local coordinate system using the X, Y, and Z fields. The desired orientation of the platform at the waypoint is defined using the roll, pitch, and yaw fields. The remaining fields provide the desired waypoint and path tolerances. Only fields 1-3 (presence vector, X, and Y) are required for each waypoint. The presence vector is used to specify if the remaining fields, i.e., Z, roll, pitch, and yaw, are used to further describe each waypoint and the desired orientation at that point and whether tolerances are provided.
Structure
SetLocalWaypoint LocalWaypointRec
LocalWaypointRec
Type: Record
Field # | Field Name | Type | Units | Optional | Interpretation |
---|---|---|---|---|---|
1 | PresenceVector | uint8 | |||
2 | X | uint32 | meter | false | |
3 | Y | uint32 | meter | false | |
4 | Z | uint32 | meter | true | |
5 | Roll | uint16 | radian | true | |
6 | Pitch | uint16 | radian | true | |
7 | Yaw | uint16 | radian | true | |
8 | WaypointTolerance | uint16 | meter | true | |
9 | PathTolerance | uint32 | meter | true | A value of zero (0) is used for infinite tolerance |