Skip to content

0x040F - SetGlobalPathSegment

Description

This message is used to set the path segment data based on the global coordinate system. A global path segment is defined in this message using three points, P0, P1 and P2 and a weighting factor. For the first path segment, i.e. the first element in a list of path segments, P0 is assumed to be the current location of the platform as defined by Report Global Pose. For each successive path segments, i.e. where the path segment number is greater than zero, P0 is equal to the previous path segment's P2. Therefore, for each message, only P1, P2, and a weighting factor must be set in order to define a path segment. Each point is defined in the Global Coordinate System by setting its Latitude, Longitude and Altitude, as specified by the WGS 84 standard. Both the Latitude and Longitude are required fields, but the Altitude field is optional.

Structure

SetGlobalPathSegment
 GlobalPathSegmentRec

GlobalPathSegmentRec

Type: Record

Field # Field Name Type Units Optional Interpretation
1 PresenceVector uint8
2 P1_Latitude uint32 degree false
3 P1_Longitude uint32 degree false
4 P1_Altitude uint32 meter true
5 P2_Latitude uint32 degree false
6 P2_Longitude uint32 degree false
7 P2_Altitude uint32 meter true
8 WeightingFactor uint16 one false A value of zero (0) is a straight line
9 PathTolerance uint32 meter true A value of zero (0) is used for infinite tolerance