Public Member Functions | |
def | __init__ |
def | baud |
def | full |
def | off |
def | pos |
def | servo_cmd |
def | setup |
def | st |
Public Attributes | |
ser |
Class to connect and send commands to brake.
Definition at line 32 of file robot_brake.py.
def brake::robot_brake::commands::__init__ | ( | self, | ||
device = TTY | ||||
) |
Constructor method. Takes serial port as input.
Definition at line 36 of file robot_brake.py.
def brake::robot_brake::commands::baud | ( | self | ) |
Set baud rate
Definition at line 43 of file robot_brake.py.
def brake::robot_brake::commands::full | ( | self | ) |
Engage brake fully
Definition at line 120 of file robot_brake.py.
def brake::robot_brake::commands::off | ( | self | ) |
Release brake
Definition at line 110 of file robot_brake.py.
def brake::robot_brake::commands::pos | ( | self | ) |
Return brake position info
Definition at line 132 of file robot_brake.py.
def brake::robot_brake::commands::servo_cmd | ( | self, | ||
cmd | ||||
) |
Send command and wait for response
Definition at line 55 of file robot_brake.py.
def brake::robot_brake::commands::setup | ( | self | ) |
Run brake setup routine
Definition at line 73 of file robot_brake.py.
def brake::robot_brake::commands::st | ( | self | ) |
Print status of motor
Definition at line 145 of file robot_brake.py.
Definition at line 40 of file robot_brake.py.