Classes | |
class | serCommander |
Functions | |
def | calcPacketCksum (msgBytes) |
def | fetchReplyByte (ser, cmdHex, regHex) |
def | fetchReplyLongWord (ser, cmdHex, regHex) |
def | fetchReplyWord (ser, cmdHex, regHex) |
def | formMagniParamSetMessage (registerNumber, paramValue) |
def | formMagniSpeedMessage (rightSpeed, leftSpeed) |
def | keyboard_thread (intKeys) |
def | logAlways (message) |
def | logDebug (message) |
def | runTillKeypress (speed) |
def | setSpeedTillKeypress (ser, speed1, speed2) |
def | showHelp () |
def | stopMotors () |
Variables | |
bool | g_debug = False |
string | g_serialDev = '/dev/ttyAMA0' |
string | g_version = "20210215" |
def test_motor_board.calcPacketCksum | ( | msgBytes | ) |
Definition at line 71 of file test_motor_board.py.
def test_motor_board.fetchReplyByte | ( | ser, | |
cmdHex, | |||
regHex | |||
) |
Definition at line 148 of file test_motor_board.py.
def test_motor_board.fetchReplyLongWord | ( | ser, | |
cmdHex, | |||
regHex | |||
) |
Definition at line 235 of file test_motor_board.py.
def test_motor_board.fetchReplyWord | ( | ser, | |
cmdHex, | |||
regHex | |||
) |
Definition at line 190 of file test_motor_board.py.
def test_motor_board.formMagniParamSetMessage | ( | registerNumber, | |
paramValue | |||
) |
Definition at line 82 of file test_motor_board.py.
def test_motor_board.formMagniSpeedMessage | ( | rightSpeed, | |
leftSpeed | |||
) |
Definition at line 102 of file test_motor_board.py.
def test_motor_board.keyboard_thread | ( | intKeys | ) |
Definition at line 64 of file test_motor_board.py.
def test_motor_board.logAlways | ( | message | ) |
Definition at line 55 of file test_motor_board.py.
def test_motor_board.logDebug | ( | message | ) |
Definition at line 58 of file test_motor_board.py.
def test_motor_board.runTillKeypress | ( | speed | ) |
Definition at line 123 of file test_motor_board.py.
def test_motor_board.setSpeedTillKeypress | ( | ser, | |
speed1, | |||
speed2 | |||
) |
Definition at line 284 of file test_motor_board.py.
def test_motor_board.showHelp | ( | ) |
Definition at line 297 of file test_motor_board.py.
def test_motor_board.stopMotors | ( | ) |
Definition at line 142 of file test_motor_board.py.
bool test_motor_board.g_debug = False |
Definition at line 51 of file test_motor_board.py.
test_motor_board.g_serialDev = '/dev/ttyAMA0' |
Definition at line 48 of file test_motor_board.py.
string test_motor_board.g_version = "20210215" |
Definition at line 45 of file test_motor_board.py.