Class Trajectory
Represents a high-resolution trajectory, that is, a series of poses that happens in-between two frames.
Inherited Members
Namespace: Mechatronics.SensorSDK
Assembly: solution.dll
Syntax
[DefaultExecutionOrder(314)]
public class Trajectory : MonoBehaviour
Remarks
By default, the class use a linear interpolator to generate poses. However, it is possible to provide
your own ITrajectory
Fields
Name | Description |
---|---|
min |
Minimum number of points along a trajectory: origin and destination. |
Properties
Name | Description |
---|---|
cur |
The pose of the game object the trajectory component is attached to, during the current frame, in world space. |
generator | The object used to generate poses in-between the previous frame and the current frame. |
is |
Indicates whether the trajectory poses are available. |
prev |
The pose of the game object the trajectory component is attached to, during the previous frame, in world space. |
suggested |
The suggested minimum number of points along the trajectory for accurate simulation. |
Methods
Name | Description |
---|---|
Compute |
Creates a list of local-to-world poses of the trajectory, evaluated uniformly in time. |
Get |
Retrieves the Trajectory component attached to a given game object, creating it if necessary. |