rby1_sdk.Model_UB#
- class Model_UB#
Bases:
pybind11_objectRobot model configuration (
UB).This class provides access to robot model specifications including joint configurations, degrees of freedom, and component indices.
- 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.
- 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).
- 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.
- __init__(self: rby1_sdk.Model_UB) None#
Construct a model instance.
Methods
__init__(self)Construct a model instance.
Attributes
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
0.002000
[16, 17]
[9, 10, 11, 12, 13, 14, 15]
[]
'UB'
[2, 3, 4, 5, 6, 7, 8]
18
['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']
[0, 1]
[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.