rby1_sdk.Robot_A_CommandHandler#
- class Robot_A_CommandHandler#
Bases:
pybind11_objectRobot (model:
Model_A) command handler.Handles robot command execution and provides status monitoring.
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)cancel(self)Cancel the command execution.
get(self)Wait for the command execution and get feedback
get_status(self)Get gRPC status
is_done(self)Check if the command execution is complete.
wait(self)Wait for the command execution to complete.
wait_for(self, timeout_ms)Wait for the command execution with timeout.
- cancel(self: rby1_sdk.Robot_A_CommandHandler) None#
Cancel the command execution.
- get(self: rby1_sdk.Robot_A_CommandHandler) rby1_sdk.RobotCommandFeedback#
Wait for the command execution and get feedback
- Returns:
Current feedback information.
- Return type:
- get_status(self: rby1_sdk.Robot_A_CommandHandler) bool#
Get gRPC status
- is_done(self: rby1_sdk.Robot_A_CommandHandler) bool#
Check if the command execution is complete.
- Returns:
Trueif command is complete,Falseotherwise.- Return type:
- wait(self: rby1_sdk.Robot_A_CommandHandler) None#
Wait for the command execution to complete.
This method blocks until the command is done or cancelled.