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 1554 of file mavutil.py.
def pymavlink.mavutil.MavlinkSerialPort.__init__ | ( | self, | |
portname, | |||
baudrate, | |||
devnum = 0 , |
|||
devbaud = 0 , |
|||
timeout = 3 , |
|||
debug = 0 |
|||
) |
Definition at line 1557 of file mavutil.py.
def pymavlink.mavutil.MavlinkSerialPort._recv | ( | self | ) | [private] |
read some bytes into self.buf
Definition at line 1597 of file mavutil.py.
def pymavlink.mavutil.MavlinkSerialPort.debug | ( | self, | |
s, | |||
level = 1 |
|||
) |
write some debug text
Definition at line 1573 of file mavutil.py.
def pymavlink.mavutil.MavlinkSerialPort.flushInput | ( | self | ) |
flush any pending input
Definition at line 1637 of file mavutil.py.
def pymavlink.mavutil.MavlinkSerialPort.read | ( | self, | |
n | |||
) |
read some bytes
Definition at line 1622 of file mavutil.py.
def pymavlink.mavutil.MavlinkSerialPort.setBaudrate | ( | self, | |
baudrate | |||
) |
set baudrate
Definition at line 1647 of file mavutil.py.
def pymavlink.mavutil.MavlinkSerialPort.write | ( | self, | |
b | |||
) |
write some bytes
Definition at line 1578 of file mavutil.py.
Definition at line 1557 of file mavutil.py.
Definition at line 1557 of file mavutil.py.
Definition at line 1557 of file mavutil.py.
Definition at line 1557 of file mavutil.py.
Definition at line 1557 of file mavutil.py.
Definition at line 1557 of file mavutil.py.