voidclearWaypointList();///< Sends the waypoint clear all message to the MAV
voidreadWaypoints();///< Requests the MAV's current waypoint list
voidwriteWaypoints();///< Sends the local waypoint list to the MAV
voidwriteWaypoints();///< Sends the waypoint list to the MAV
intsetCurrentWaypoint(quint16seq);///< Changes the current waypoint and sends the sequence number of the waypoint that should get the new target waypoint to the UAS
/*@}*/
/** @name Local waypoint list operations */
/** @name Waypoint list operations */
/*@{*/
constQVector<Waypoint*>&getWaypointList(void){returnwaypoints;}///< Returns a const reference to the local waypoint list.
voidlocalAddWaypoint(Waypoint*wp);///< locally adds a new waypoint to the end of the list and changes its sequence number accordingly
intlocalRemoveWaypoint(quint16seq);///< locally remove the specified waypoint from the storage
voidlocalMoveWaypoint(quint16cur_seq,quint16new_seq);///< locally move a waypoint from its current position cur_seq to a new position new_seq
voidlocalSaveWaypoints(constQString&saveFile);///< saves the local waypoint list to saveFile
voidlocalLoadWaypoints(constQString&loadFile);///< loads a waypoint list from loadFile
/*@}*/
/** @name Global waypoint list operations */
/*@{*/
constQVector<Waypoint*>&getGlobalWaypointList(void){returnwaypoints;}///< Returns a const reference to the global waypoint list.
voidglobalAddWaypoint(Waypoint*wp);///< locally adds a new waypoint to the end of the list and changes its sequence number accordingly
intglobalRemoveWaypoint(quint16seq);///< locally remove the specified waypoint from the storage
constQVector<Waypoint*>&getWaypointList(void){returnwaypoints;}///< Returns a const reference to the waypoint list.
voidaddWaypoint(Waypoint*wp);///< adds a new waypoint to the end of the list and changes its sequence number accordingly
intremoveWaypoint(quint16seq);///< locally remove the specified waypoint from the storage
voidmoveWaypoint(quint16cur_seq,quint16new_seq);///< locally move a waypoint from its current position cur_seq to a new position new_seq
voidsaveWaypoints(constQString&saveFile);///< saves the local waypoint list to saveFile
voidloadWaypoints(constQString&loadFile);///< loads a waypoint list from loadFile