Classes | |
| class | Arm |
| class | ArmException |
Functions | |
| def | ending_in (s, li) |
| def | r12_serial_port (port) |
| def | search_for_port (port_glob, req, expected_res) |
Variables | |
| int | BAUD_RATE = 19200 |
| BYTE_SIZE = serial.EIGHTBITS | |
| string | CMD_ERROR = 'ABORTED' |
| string | CMD_SUCCESS = 'OK' |
| string | OUTPUT_ENCODING = 'latin_1' |
| string | OUTPUT_STRIP_CHARS = string.whitespace + '>' |
| PARITY = serial.PARITY_NONE | |
| float | READ_SLEEP_TIME = 0.05 |
| float | READ_TIMEOUT = 0.1 |
| list | RESPONSE_END_WORDS = [CMD_SUCCESS, CMD_ERROR] |
| STOP_BITS = serial.STOPBITS_TWO | |
| def arm.ending_in | ( | s, | |
| li | |||
| ) |
| def arm.r12_serial_port | ( | port | ) |
| def arm.search_for_port | ( | port_glob, | |
| req, | |||
| expected_res | |||
| ) |
| list arm.RESPONSE_END_WORDS = [CMD_SUCCESS, CMD_ERROR] |