PositionConstraint.from_point
- classmethod PositionConstraint.from_point(link_name, point, tolerance_position, weight=1.0)[source]
Create a
PositionConstraintfrom a point.- Parameters:
- link_name
str The name of the link this contraint refers to.
- point
compas.geometry.Point Point defining the bounding volume this constraint refers to.
- tolerance_position
float The allowed tolerance to the point’s position (defined in the robot’s units).
- weight
float A weighting factor for this constraint. Denotes relative importance to other constraints. Closer to zero means less important. Defaults to
1.
- link_name
- Returns: