Functions
mavros_msgs::mavlink Namespace Reference

Functions

bool convert (const mavros_msgs::Mavlink &rmsg, mavlink_message_t &mmsg)
 Convert mavros_msgs/Mavlink message to mavlink_message_t. More...
 
bool convert (const mavlink_message_t &mmsg, mavros_msgs::Mavlink &rmsg, uint8_t framing_status=mavros_msgs::Mavlink::FRAMING_OK)
 Convert mavlink_message_t to mavros/Mavlink. More...
 

Function Documentation

bool mavros_msgs::mavlink::convert ( const mavros_msgs::Mavlink &  rmsg,
mavlink_message_t &  mmsg 
)
inline

Convert mavros_msgs/Mavlink message to mavlink_message_t.

Note
signature vector should be empty for unsigned OR MAVLINK_SIGNATURE_BLOCK size for signed messages
Parameters
[in]rmsgmavros_msgs/Mavlink message
[out]mmsgmavlink_message_t struct
Returns
true if success

Definition at line 50 of file mavlink_convert.h.

bool mavros_msgs::mavlink::convert ( const mavlink_message_t &  mmsg,
mavros_msgs::Mavlink &  rmsg,
uint8_t  framing_status = mavros_msgs::Mavlink::FRAMING_OK 
)
inline

Convert mavlink_message_t to mavros/Mavlink.

Parameters
[in]mmsgmavlink_message_t struct
[out]rmsgmavros_msgs/Mavlink message
[in]framing_statusframing parse result (OK, BAD_CRC or BAD_SIGNATURE)
Returns
true, this convertion can't fail

Definition at line 88 of file mavlink_convert.h.



mavros_msgs
Author(s): Vladimir Ermakov
autogenerated on Tue Jun 1 2021 02:36:23