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 901 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 903 of file mavutil.py.

Member Function Documentation

def pymavlink.mavutil.mavserial.close (   self)

Definition at line 947 of file mavutil.py.

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

Definition at line 950 of file mavutil.py.

def pymavlink.mavutil.mavserial.reset (   self)

Definition at line 971 of file mavutil.py.

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

Definition at line 939 of file mavutil.py.

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

Definition at line 931 of file mavutil.py.

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

Definition at line 960 of file mavutil.py.

Member Data Documentation

pymavlink.mavutil.mavserial.autoreconnect

Definition at line 909 of file mavutil.py.

pymavlink.mavutil.mavserial.baud

Definition at line 907 of file mavutil.py.

pymavlink.mavutil.mavserial.device

Definition at line 908 of file mavutil.py.

pymavlink.mavutil.mavserial.fd

Definition at line 987 of file mavutil.py.

pymavlink.mavutil.mavserial.force_connected

Definition at line 910 of file mavutil.py.

pymavlink.mavutil.mavserial.port

Definition at line 915 of file mavutil.py.

pymavlink.mavutil.mavserial.portdead

Definition at line 966 of file mavutil.py.

pymavlink.mavutil.mavserial.rtscts

Definition at line 929 of file mavutil.py.


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


mavlink
Author(s): Lorenz Meier
autogenerated on Sun Apr 7 2019 02:06:02