RobotJoints.to_configuration_primitive

RobotJoints.to_configuration_primitive(joint_types, joint_names=None)[source]

Convert the RobotJoints to a compas.robots.Configuration, including the unit conversion from mm and degrees to meters and radians.

Parameters
  • joint_types (list) – List of integers representing the joint types of the corresponding internal axes values.

  • joint_names (list) – List of strings representing the joint names of the corresponding internal axes values. Optional.

Returns

compas.robots.Configuration