rby1_sdk.StopCommandBuilder#
- class StopCommandBuilder#
Bases:
pybind11_objectStop command builder.
Generates a stop command that halts all robot motion immediately. Typically used in whole-body command contexts to enforce a safe and deterministic stop.
Examples
>>> import rby1_sdk as rby >>> stop = rby.StopCommandBuilder() >>> cmd = rby.RobotCommandBuilder().set_command( ... rby.WholeBodyCommandBuilder().set_command(stop) ... ) >>> # robot.send_command(cmd, priority=1).get()
- __init__(self: rby1_sdk.StopCommandBuilder) None#
Construct a StopCommandBuilder instance.
Methods
__init__(self)Construct a StopCommandBuilder instance.
set_command_header(self, command_header_builder)Attach a command header.
- set_command_header(self: rby1_sdk.StopCommandBuilder, command_header_builder: rby1_sdk.CommandHeaderBuilder) rby1_sdk.StopCommandBuilder#
Attach a command header.
- Parameters:
command_header_builder (CommandHeaderBuilder) – Command header configuration (e.g., control hold time).
- Returns:
Self reference for method chaining.
- Return type: