RobotJoints.to_configuration

RobotJoints.to_configuration(robot, group=None)[source]

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

Parameters:
robotcompas_fab.robots.Robot

The robot to be configured.

groupstr

The name of the group of joints to be included in the Configuration. Optional. Defaults to the robot’s main group name.

Returns:
compas_robots.Configuration