ExternalAxes.to_configuration_primitive

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

Convert the ExternalAxes to a compas_robots.Configuration, including the unit conversion from mm and degrees to meters and radians.

Parameters:
joint_typeslist

List of integers representing the joint types of the corresponding external axes values.

joint_nameslist

List of strings representing the joint names of the corresponding external axes values. Optional.

Returns:
compas_robots.Configuration