ExternalAxes.from_configuration_primitive

classmethod ExternalAxes.from_configuration_primitive(configuration, joint_names=None)[source]

Create an instance of ExternalAxes from a compas_robots.Configuration, including the unit conversion from meters and radians to mm and degrees.

Parameters:
configurationcompas_robots.Configuration

The configuration from which to create the ExternalAxes instance.

joint_nameslist

An optional list of joint names from the configuration whose corresponding values will fill the ExternalAxes values.

Returns:
compas_rrc.ExternalAxes