|
rby1-sdk
|
Robot command handler. More...
#include <robot.h>
Public Member Functions | |
| void | Cancel () |
| Cancel the command execution. | |
| RobotCommandFeedback | Get () |
| Wait for the command execution and get feedback. | |
| bool | GetStatus () const |
| Get gRPC status. | |
| bool | IsDone () const |
| Check if the command execution is complete. | |
| void | Wait () |
| Wait for the command execution to complete. | |
| bool | WaitFor (int timeout_ms) |
| Wait for the command execution with timeout. | |
Friends | |
| class | RobotImpl< T > |
Robot command handler.
Handles robot command execution and provides status monitoring.
| T | Robot model type |
| RobotCommandFeedback rb::RobotCommandHandler< T >::Get | ( | ) |
Wait for the command execution and get feedback.
Waits for command completion and returns detailed controller feedback including position errors, control status, and final execution results.
| bool rb::RobotCommandHandler< T >::GetStatus | ( | ) | const |
Get gRPC status.
| bool rb::RobotCommandHandler< T >::IsDone | ( | ) | const |
Check if the command execution is complete.
| void rb::RobotCommandHandler< T >::Wait | ( | ) |
Wait for the command execution to complete.
This method blocks until the command is done or cancelled.
| bool rb::RobotCommandHandler< T >::WaitFor | ( | int | timeout_ms | ) |
Wait for the command execution with timeout.
| timeout_ms | Timeout [ms]. |