Class MissionItem

Inheritance Relationships

Base Type

  • public mavros_msgs::msg::Waypoint

Class Documentation

class MissionItem : public mavros_msgs::msg::Waypoint

Thin wrapper for Waypoint message.

Public Functions

inline explicit MissionItem(const MISSION_ITEM &wpi)
inline explicit MissionItem(const MISSION_ITEM_INT &wpi)
inline explicit MissionItem(const mavros_msgs::msg::Waypoint &other)
inline MissionItem &operator=(const mavros_msgs::msg::Waypoint &other)
inline void to_msg(MISSION_ITEM &out) const
inline void to_msg(MISSION_ITEM_INT &out) const

Public Members

uint16_t seq

sequence number, not a part of ros message

uint8_t mission_type

MAV_MISSION_TYPE.

Public Static Functions

static inline constexpr double encode_factor(const uint8_t frame)

Friends

friend std::ostream &operator<<(std::ostream &os, const MissionItem &mi)