ConfigurationTarget.scaled

ConfigurationTarget.scaled(factor)[source]

Returns copy of the target where the target configuration and tolerances are scaled.

This function should only be needed if the ConfigurationTarget was created with a distance unit other than meters.

Only the values for prismatic and planar joints are scaled. The values for revolute and continuous joints are not scaled, as they must be in radians.

Parameters:
factorfloat

The scaling factor.

Returns:
ConfigurationTarget

The scaled configuration target.