Public Member Functions | Public Attributes | List of all members
pymavlink.mavutil.mavserial Class Reference
Inheritance diagram for pymavlink.mavutil.mavserial:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, device, baud=115200, autoreconnect=False, source_system=255, source_component=0, use_native=default_native, force_connected=False)
 
def close (self)
 
def recv (self, n=None)
 
def reset (self)
 
def set_baudrate (self, baudrate)
 
def set_rtscts (self, enable)
 
def write (self, buf)
 

Public Attributes

 autoreconnect
 
 baud
 
 device
 
 fd
 
 force_connected
 
 port
 
 portdead
 
 rtscts
 

Detailed Description

a serial mavlink port

Definition at line 906 of file mavutil.py.

Constructor & Destructor Documentation

def pymavlink.mavutil.mavserial.__init__ (   self,
  device,
  baud = 115200,
  autoreconnect = False,
  source_system = 255,
  source_component = 0,
  use_native = default_native,
  force_connected = False 
)

Definition at line 908 of file mavutil.py.

Member Function Documentation

def pymavlink.mavutil.mavserial.close (   self)

Definition at line 952 of file mavutil.py.

def pymavlink.mavutil.mavserial.recv (   self,
  n = None 
)

Definition at line 955 of file mavutil.py.

def pymavlink.mavutil.mavserial.reset (   self)

Definition at line 976 of file mavutil.py.

def pymavlink.mavutil.mavserial.set_baudrate (   self,
  baudrate 
)
set baudrate

Definition at line 944 of file mavutil.py.

def pymavlink.mavutil.mavserial.set_rtscts (   self,
  enable 
)
enable/disable RTS/CTS if applicable

Definition at line 936 of file mavutil.py.

def pymavlink.mavutil.mavserial.write (   self,
  buf 
)

Definition at line 965 of file mavutil.py.

Member Data Documentation

pymavlink.mavutil.mavserial.autoreconnect

Definition at line 914 of file mavutil.py.

pymavlink.mavutil.mavserial.baud

Definition at line 912 of file mavutil.py.

pymavlink.mavutil.mavserial.device

Definition at line 913 of file mavutil.py.

pymavlink.mavutil.mavserial.fd

Definition at line 992 of file mavutil.py.

pymavlink.mavutil.mavserial.force_connected

Definition at line 915 of file mavutil.py.

pymavlink.mavutil.mavserial.port

Definition at line 920 of file mavutil.py.

pymavlink.mavutil.mavserial.portdead

Definition at line 971 of file mavutil.py.

pymavlink.mavutil.mavserial.rtscts

Definition at line 934 of file mavutil.py.


The documentation for this class was generated from the following file:


mavlink
Author(s): Lorenz Meier
autogenerated on Sun Jul 7 2019 03:22:08