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

◆ convert_to_bytes()

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.

◆ convert_to_payload64()

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

Definition at line 58 of file mavlink.py.

◆ convert_to_rosmsg()

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 13 2023 02:17:50