Functions
mavros.mavlink Namespace Reference

Functions

def convert_to_bytes (msg)
 
def convert_to_payload64 (payload_bytes)
 
def convert_to_rosmsg (mavmsg, stamp=None)
 

Function Documentation

def mavros.mavlink.convert_to_bytes (   msg)
Re-builds the MAVLink byte stream from mavros_msgs/Mavlink messages.

Support both v1.0 and v2.0.

Definition at line 18 of file mavlink.py.

def mavros.mavlink.convert_to_payload64 (   payload_bytes)
Convert payload bytes to Mavlink.payload64

Definition at line 58 of file mavlink.py.

def mavros.mavlink.convert_to_rosmsg (   mavmsg,
  stamp = None 
)
Convert pymavlink message to Mavlink.msg

Currently supports MAVLink v1.0 only.

Definition at line 72 of file mavlink.py.



mavros
Author(s): Vladimir Ermakov
autogenerated on Tue Jun 1 2021 02:36:27