rby1_sdk.RobotCommandFeedback#
- class RobotCommandFeedback#
Bases:
CommandFeedbackTop-level feedback for a robot command.
- whole_body_command#
Feedback for a whole-body command (if present).
- Type:
- component_based_command#
Feedback for a component-based command (if present).
- jog_command#
Feedback for a jog command (if present).
- Type:
- status#
High-level status of the command execution.
- finish_code#
Finish code indicating why execution finished (if finished).
- __init__(self: rby1_sdk.RobotCommandFeedback) None#
Construct a
RobotCommandFeedbackinstance.
Methods
__init__(self)Construct a
RobotCommandFeedbackinstance.Attributes
command_headerHeader-level feedback.
Component-based command feedback.
Finish reason (if finished).
Jog command feedback.
High-level execution status.
validWhether this feedback object contains valid data.
Whole-body command feedback.
- class FinishCode#
Bases:
pybind11_objectReason for finishing (if any).
Members#
- Unknownint
Unknown reason.
- Okint
Finished successfully.
- Canceledint
Canceled by user/system.
- Preemptedint
Preempted by another command.
- InitializationFailedint
Failed during initialization.
- ControlManagerIdleint
Control manager entered idle unexpectedly.
- ControlManagerFaultint
Control manager reported a fault.
- UnexpectedStateint
Reached an unexpected state.
Members:
Unknown
Ok
Canceled
Preempted
InitializationFailed
ControlManagerIdle
ControlManagerFault
UnexpectedState
- Canceled = <FinishCode.Canceled: 2>#
- ControlManagerFault = <FinishCode.ControlManagerFault: 6>#
- ControlManagerIdle = <FinishCode.ControlManagerIdle: 5>#
- InitializationFailed = <FinishCode.InitializationFailed: 4>#
- Ok = <FinishCode.Ok: 1>#
- Preempted = <FinishCode.Preempted: 3>#
- UnexpectedState = <FinishCode.UnexpectedState: 7>#
- Unknown = <FinishCode.Unknown: 0>#
- property name#
- property value#
- class Status#
Bases:
pybind11_objectHigh-level execution status.
Members#
- Idleint
No command is active.
- Initializingint
Command is initializing.
- Runningint
Command is running.
- Finishedint
Command has finished.
Members:
Idle
Initializing
Running
Finished
- Finished = <Status.Finished: 3>#
- Idle = <Status.Idle: 0>#
- Initializing = <Status.Initializing: 1>#
- Running = <Status.Running: 2>#
- property name#
- property value#
- property component_based_command#
Component-based command feedback.
- Returns:
Feedback object (if present).
- Return type:
- property finish_code#
Finish reason (if finished).
- Returns:
- Return type:
- property jog_command#
Jog command feedback.
- Returns:
Feedback object (if present).
- Return type:
- property status#
High-level execution status.
- Returns:
- Return type:
- property whole_body_command#
Whole-body command feedback.
- Returns:
Feedback object (if present).
- Return type: