rby1_sdk.CommandHeaderBuilder

class CommandHeaderBuilder

Bases: pybind11_object

Command header builder.

Builds command headers with control hold time settings.

Examples

>>> import numpy as np, rby1_sdk as rby
>>> header = rby.CommandHeaderBuilder().set_control_hold_time(5.0)
>>> # Use this header in any command builder:
>>> jp = rby.JointPositionCommandBuilder().set_command_header(header)
>>> # Control hold time keeps the command active for 5 seconds
__init__(self: rby1_sdk.CommandHeaderBuilder) None

Construct a CommandHeaderBuilder instance.

Methods

__init__(self)

Construct a CommandHeaderBuilder instance.

set_control_hold_time(self, control_hold_time)

Set the control hold time.