RobotConfiguration

class pyniryo_nate.models.robot.RobotConfiguration(name: str, model: str, tool_model: str, hardware_mode: str, n_joint: int, joints: list[JointConfiguration])[source]

Bases: object

Represents the complete configuration of a robot.

Parameters:
  • name (str) – The name of the robot.

  • n_joint (int) – The number of joints.

  • joints (list[JointConfiguration]) – List of configurations for each joint.

  • model (str)

  • tool_model (str)

  • hardware_mode (str)

Attributes

Methods

name: str
model: str
tool_model: str
hardware_mode: str
n_joint: int
joints: list[JointConfiguration]
classmethod from_transport_model(model: RobotConfig) → RobotConfiguration[source]
Parameters:

model (RobotConfig)

Return type:

RobotConfiguration

to_transport_model() → RobotConfig[source]
Return type:

RobotConfig