module documentation

Undocumented

Constant LOG_LEVEL_TO_MSG Undocumented
Constant LOG_LEVEL_TO_STR Undocumented
Constant LOG_STATUS_TO_STR Undocumented
Constant ROBOT_STATUS_TO_MESSAGE Undocumented
Constant ROBOT_STATUS_TO_STR Undocumented
LOG_LEVEL_TO_MSG =

Undocumented

Value
{Log.DEBUG: RobotStatus.NONE,
 Log.INFO: RobotStatus.NONE,
 Log.WARN: RobotStatus.WARN,
 Log.ERROR: RobotStatus.ERROR,
 Log.FATAL: RobotStatus.FATAL}
LOG_LEVEL_TO_STR =

Undocumented

Value
{Log.DEBUG: 'DEBUG',
 Log.INFO: 'INFO',
 Log.WARN: 'WARN',
 Log.ERROR: 'ERROR',
 Log.FATAL: 'FATAL'}
LOG_STATUS_TO_STR =

Undocumented

Value
{RobotStatus.FATAL: 'Fatal',
 RobotStatus.ERROR: 'Error',
 RobotStatus.WARN: 'Warn',
 RobotStatus.NONE: 'None'}
ROBOT_STATUS_TO_MESSAGE =

Undocumented

Value
{RobotStatus.UPDATE: 'Update',
 RobotStatus.REBOOT: 'Rebooting one or more motors',
 RobotStatus.SHUTDOWN: 'Shutdown',
 RobotStatus.COLLISION: 'Robot collision detected, waiting for user intervention'
,
 RobotStatus.USER_PROGRAM_ERROR: 'User program error',
 RobotStatus.BOOTING: 'Robot is booting',
...
ROBOT_STATUS_TO_STR =

Undocumented

Value
{RobotStatus.UPDATE: 'Update',
 RobotStatus.REBOOT: 'Reboot',
 RobotStatus.SHUTDOWN: 'Shutdown',
 RobotStatus.FATAL_ERROR: 'Fatal error',
 RobotStatus.MOTOR_ERROR: 'Motor Error',
 RobotStatus.COLLISION: 'Collision',
 RobotStatus.USER_PROGRAM_ERROR: 'User program error',
...