robot_interfaces.py_generic module¶
- class robot_interfaces.py_generic.RobotBackendTerminationReason¶
Bases:
pybind11_object
Members:
NOT_TERMINATED
SHUTDOWN_REQUESTED
MAXIMUM_NUMBER_OF_ACTIONS_REACHED
DRIVER_ERROR
FIRST_ACTION_TIMEOUT
NEXT_ACTION_TIMEOUT
- DRIVER_ERROR = <RobotBackendTerminationReason.DRIVER_ERROR: -1>¶
- FIRST_ACTION_TIMEOUT = <RobotBackendTerminationReason.FIRST_ACTION_TIMEOUT: -2>¶
- MAXIMUM_NUMBER_OF_ACTIONS_REACHED = <RobotBackendTerminationReason.MAXIMUM_NUMBER_OF_ACTIONS_REACHED: 2>¶
- NEXT_ACTION_TIMEOUT = <RobotBackendTerminationReason.NEXT_ACTION_TIMEOUT: -3>¶
- NOT_TERMINATED = <RobotBackendTerminationReason.NOT_TERMINATED: 0>¶
- SHUTDOWN_REQUESTED = <RobotBackendTerminationReason.SHUTDOWN_REQUESTED: 1>¶
- property name¶
- property value¶
- class robot_interfaces.py_generic.Status¶
Bases:
pybind11_object
- class ErrorStatus¶
Bases:
pybind11_object
Members:
NO_ERROR : Indicates that there is no error.
DRIVER_ERROR : Error from the low level robot driver (e.g. some hardware failure).
BACKEND_ERROR : Error from the robot back end (e.g. some communication issue).
- BACKEND_ERROR = <ErrorStatus.BACKEND_ERROR: 2>¶
- DRIVER_ERROR = <ErrorStatus.DRIVER_ERROR: 1>¶
- NO_ERROR = <ErrorStatus.NO_ERROR: 0>¶
- property name¶
- property value¶
- property action_repetitions¶
Number of times the current action has been repeated.
- Type:
int
- property error_status¶
Current error status.
- Type:
- get_error_message(self: robot_interfaces.py_generic.Status) str ¶
- set_error(self: robot_interfaces.py_generic.Status, arg0: robot_interfaces::Status::ErrorStatus, arg1: str) None ¶
- robot_interfaces.py_generic.clear_memory(arg0: str) None ¶
- robot_interfaces.py_generic.create_follower__StatusMultiProcessTimeSeries(arg0: str) robot_interfaces.py_generic._StatusMultiProcessTimeSeries ¶
- robot_interfaces.py_generic.create_leader__StatusMultiProcessTimeSeries(arg0: str, arg1: int, arg2: int) robot_interfaces.py_generic._StatusMultiProcessTimeSeries ¶