rby1_sdk.StopCommandBuilder

class StopCommandBuilder

Bases: pybind11_object

Stop 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.