RobotJoints.from_configuration_primitive
- classmethod RobotJoints.from_configuration_primitive(configuration, joint_names=None)[source]
Create an instance of
RobotJoints
from acompas.robots.Configuration
, including the unit conversion from meters and radians to mm and degrees.- Parameters
configuration (
compas.robots.Configuration
) – The configuration from which to create theRobotJoints
instance.joint_names (
list
) – An optional list of joint names from theconfiguration
whose corresponding values will fill theRobotJoints
values.
- Returns