JointTrajectory
- class compas_fab.robots.JointTrajectory[source]
Bases:
TrajectoryDescribes a joint trajectory as a list of trajectory points.
- Parameters:
- trajectory_points
listofJointTrajectoryPoint, optional List of points composing the trajectory.
- joint_names
listofstr, optional List of joint names of the trajectory.
- start_configuration
compas_robots.Configuration, optional Start configuration for the trajectory.
- fraction
float, optional Indicates the percentage of requested trajectory that was calculated, e.g.
1means the full trajectory was found.- attached_collision_meshes
listofcompas_fab.robots.AttachedCollisionMesh The attached collision meshes included in the calculation of this trajectory.
- attributes
dict Custom attributes of the trajectory.
- trajectory_points
- Attributes:
- points
listofJointTrajectoryPoint List of points composing the trajectory.
- joint_names
listofstr List of joint names of the trajectory.
- start_configuration
compas_robots.Configuration Start configuration for the trajectory.
- fraction
float Indicates the percentage of requested trajectory that was calculated, e.g.
1means the full trajectory was found.- attached_collision_meshes
listofcompas_fab.robots.AttachedCollisionMesh The attached collision meshes included in the calculation of this trajectory.
- attributes
dict - data
dict The data representing the trajectory.
- points
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.