Function mavros_msgs::mavlink::convert(const mavlink_message_t&, Mavlink&, uint8_t)
Defined in File mavlink_convert.hpp
Function Documentation
-
inline bool mavros_msgs::mavlink::convert(const mavlink_message_t &mmsg, Mavlink &rmsg, uint8_t framing_status = Mavlink::FRAMING_OK)
Convert mavlink_message_t to mavros/Mavlink.
- Parameters:
mmsg – [in] mavlink_message_t struct
rmsg – [out] mavros_msgs/Mavlink message
framing_status – [in] framing parse result (OK, BAD_CRC or BAD_SIGNATURE)
- Returns:
true, this convertion can’t fail