FrameWaypoints
- class compas_fab.robots.FrameWaypoints[source]
Bases:
Waypoints
Represents a sequence of fully constrained pose target for the robot’s end-effector using a
compas.geometry.Frame
.When using a FrameWaypoints, the end-effector has no translational or rotational freedom. In another words, the pose of the end-effector is fully defined (constrained).
The behavior of FrameWaypoints is similar to
FrameTarget
, but it represents a sequence of targets.- Attributes:
- target_frames
list
ofcompas.geometry.Frame
The target frames.
- tolerance_positionfloat, optional
The tolerance for the position. Unit is meters. If not specified, the default value from the planner is used.
- tolerance_orientationfloat, optional
The tolerance for the orientation. Unit is radians. If not specified, the default value from the planner is used.
- tool_coordinate_frame
compas.geometry.Frame
orcompas.geometry.Transformation
, optional The tool tip coordinate frame relative to the flange of the robot. If not specified, the target frame is relative to the robot’s flange.
- namestr, optional
The human-readable name of the target. Defaults to ‘Frame Waypoints’.
- target_frames
Methods
Creates a FrameWaypoints from a list of transformation matrices.
Returns a copy of the
FrameWaypoints
where the target frames and tolerances are scaled.Inherited Methods
Converts the instance to a string.
Make an independent copy of the data object.
Construct an object of this type from a JSON file.
Construct an object of this type from a JSON string.
Compute a hash of the data for comparison during version control using the sha256 algorithm.
Convert an object to its native data representation and save it to a JSON file.
Convert an object to its native data representation and save it to a JSON string.
Validate the data against the object's data schema.