VrepClient.set_robot_metric
- VrepClient.set_robot_metric(group, metric_values)[source]
Assigns a metric defining relations between axis values of a robot.
It takes a list containing one value per configurable joint. Each value ranges from 0 to 1, where 1 indicates the axis is blocked and cannot move during inverse kinematic solving. A value of 1 on any of these effectively removes one degree of freedom (DOF).
- Parameters
robot (
compas_fab.robots.Robot
) – Robot instance.metric_values (
list
offloat
) – List containing one value per configurable joint. Each value ranges from 0 to 1.