...
waypointModifyFlightPathCommand (1 byte uint8_t) (Comes from Pilot on the ground)
enum:
{ NO_FLIGHT_PATH_EDIT = 0, INITIALIZE_FLIGHT_PATH, APPEND, INSERT, UPDATE, DELETE, NUKE }
waypointNextDirectionsCommand (1 byte uint8_t) (Comes from Pilot on the ground)
enum:
{ REGULAR_PATH_FOLLOWING = 0, TOGGLE_HOLDING, TOGGLE_HEAD_HOME }
initializingHomeBase (1 byte bool) (Comes from Pilot on the ground)
...
holdingAltitude (4 byte int) (Comes from Pilot on the ground)
holdingTurnRadius (4 byte int) (Comes from Pilot on the ground)
holdingTurnDirection (1 byte uint8_t) (Comes from Pilot on the ground)
enum:
{ CLOCKWISE = 0, COUNTER_CLOCKWISE }
flightPathModifyNextId (4 byte int) (Comes from Pilot on the ground)
flightPathModifyPrevId (4 byte int) (Comes from Pilot on the ground)
flightPathModifyId (4 byte int) (Comes from Pilot on the ground)
...
waypoints (array of size
numWaypoints
) (Comes from Pilot on the ground)latitude (4 byte int)
longitude (4 byte int)
altitude (4 byte int)
turnRadius (4 byte float)
waypointType (1 byte uint8_t)
enum:
{ PATH_FOLLOW = 0, ORBIT, HOLD}
homebase (Comes from Pilot on the ground)
latitude (4 byte int)
longitude (4 byte int)
altitude (4 byte int)
turnRadius (4 byte float)
waypointType (1 byte uint8_t)
enum:
{ PATH_FOLLOW = 0, ORBIT, HOLD}
Pogi (plane out ground in)
...