Public Member Functions | |
def | __init__ |
def | debug |
def | flushInput |
def | read |
def | setBaudrate |
def | write |
Public Attributes | |
baudrate | |
buf | |
mav | |
port | |
timeout | |
Private Member Functions | |
def | _recv |
Private Attributes | |
_debug |
an object that looks like a serial port, but transmits using mavlink SERIAL_CONTROL packets
Definition at line 1433 of file mavutil.py.
def pymavlink.mavutil.MavlinkSerialPort.__init__ | ( | self, | |
portname, | |||
baudrate, | |||
devnum = 0 , |
|||
devbaud = 0 , |
|||
timeout = 3 , |
|||
debug = 0 |
|||
) |
Definition at line 1436 of file mavutil.py.
def pymavlink.mavutil.MavlinkSerialPort._recv | ( | self | ) | [private] |
read some bytes into self.buf
Definition at line 1476 of file mavutil.py.
def pymavlink.mavutil.MavlinkSerialPort.debug | ( | self, | |
s, | |||
level = 1 |
|||
) |
write some debug text
Definition at line 1452 of file mavutil.py.
def pymavlink.mavutil.MavlinkSerialPort.flushInput | ( | self | ) |
flush any pending input
Definition at line 1516 of file mavutil.py.
def pymavlink.mavutil.MavlinkSerialPort.read | ( | self, | |
n | |||
) |
read some bytes
Definition at line 1501 of file mavutil.py.
def pymavlink.mavutil.MavlinkSerialPort.setBaudrate | ( | self, | |
baudrate | |||
) |
set baudrate
Definition at line 1526 of file mavutil.py.
def pymavlink.mavutil.MavlinkSerialPort.write | ( | self, | |
b | |||
) |
write some bytes
Definition at line 1457 of file mavutil.py.
Definition at line 1436 of file mavutil.py.
Definition at line 1436 of file mavutil.py.
Definition at line 1436 of file mavutil.py.
Definition at line 1436 of file mavutil.py.
Definition at line 1436 of file mavutil.py.
Definition at line 1436 of file mavutil.py.