rby1_sdk.Model_UB#

class Model_UB#

Bases: pybind11_object

Robot model configuration (UB).

This class provides access to robot model specifications including joint configurations, degrees of freedom, and component indices.

model_name#

‘UB’

Name identifier for the robot model.

Type:

str

robot_dof#

18

Total degrees of freedom.

Type:

int

robot_joint_names#

[‘torso_hp’, ‘torso_5’, ‘right_arm_0’, ‘right_arm_1’, ‘right_arm_2’, ‘right_arm_3’, ‘right_arm_4’, ‘right_arm_5’, ‘right_arm_6’, ‘left_arm_0’, ‘left_arm_1’, ‘left_arm_2’, ‘left_arm_3’, ‘left_arm_4’, ‘left_arm_5’, ‘left_arm_6’, ‘head_0’, ‘head_1’]

List of joint names in index order.

Type:

list[str]

mobility_idx#

[]

Indices of mobility components (e.g., wheels).

Type:

list[int]

body_idx#

[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]

Indices of main body components (excluding mobility and head).

Type:

list[int]

head_idx#

[16, 17]

Indices of head components.

Type:

list[int]

right_arm_idx#

[2, 3, 4, 5, 6, 7, 8]

Indices of right arm components.

Type:

list[int]

left_arm_idx#

[9, 10, 11, 12, 13, 14, 15]

Indices of left arm components.

Type:

list[int]

torso_idx#

[0, 1]

Indices of torso components.

Type:

list[int]

velocity_estimation_required_idx#

[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]

Indices of joints requiring velocity estimation.

Type:

list[int]

control_period#

0.002000

Control update period in seconds.

Type:

float

__init__(self: rby1_sdk.Model_UB) None#

Construct a model instance.

Methods

__init__(self)

Construct a model instance.

Attributes

body_idx

[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]

control_period

0.002000

head_idx

[16, 17]

left_arm_idx

[9, 10, 11, 12, 13, 14, 15]

mobility_idx

[]

model_name

'UB'

right_arm_idx

[2, 3, 4, 5, 6, 7, 8]

robot_dof

18

robot_joint_names

['torso_hp', 'torso_5', 'right_arm_0', 'right_arm_1', 'right_arm_2', 'right_arm_3', 'right_arm_4', 'right_arm_5', 'right_arm_6', 'left_arm_0', 'left_arm_1', 'left_arm_2', 'left_arm_3', 'left_arm_4', 'left_arm_5', 'left_arm_6', 'head_0', 'head_1']

torso_idx

[0, 1]

velocity_estimation_required_idx

[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]

property body_idx#

[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]

Indices of main body components (excluding mobility and head).

property control_period#

0.002000

Control period in seconds.

property head_idx#

[16, 17]

Indices of head components.

property left_arm_idx#

[9, 10, 11, 12, 13, 14, 15]

Indices of left arm components.

property mobility_idx#

[]

Indices of mobility components (e.g., wheels).

property model_name#

‘UB’

Name identifier for the robot model.

property right_arm_idx#

[2, 3, 4, 5, 6, 7, 8]

Indices of right arm components.

property robot_dof#

18

Total degrees of freedom.

property robot_joint_names#

[‘torso_hp’, ‘torso_5’, ‘right_arm_0’, ‘right_arm_1’, ‘right_arm_2’, ‘right_arm_3’, ‘right_arm_4’, ‘right_arm_5’, ‘right_arm_6’, ‘left_arm_0’, ‘left_arm_1’, ‘left_arm_2’, ‘left_arm_3’, ‘left_arm_4’, ‘left_arm_5’, ‘left_arm_6’, ‘head_0’, ‘head_1’]

List of joint names in index order.

property torso_idx#

[0, 1]

Indices of torso components.

property velocity_estimation_required_idx#

[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]

Indices of joints where velocity estimation is essential.