docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LerpTrajectoryGenerator

    Provides the default trajectory generator for the Trajectory class.

    Inheritance
    object
    LerpTrajectoryGenerator
    Implements
    ITrajectoryGenerator
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Mechatronics.SensorSDK
    Assembly: solution.dll
    Syntax
    public class LerpTrajectoryGenerator : ITrajectoryGenerator
    Remarks

    The default algorithm performs linear interpolation between the poses at the previous frame and the current frame.

    Fields

    Name Description
    instance

    A global instance to be used as default generator instance in the Trajectory class.

    Properties

    Name Description
    isHighFrequency

    Indicates whether the generated trajectory can change non-linearly during the time of an Update.

    isLocal

    Indicates whether the generated trajectory is in local space or world space.

    suggestedTrajectoryCount

    The suggested minimum number of points along the trajectory for accurate simulation. Must be at least as big as Trajectory.minTrajectoryCount.

    Methods

    Name Description
    ComposeTrajectory(Pose, Pose, float, List<Pose>)

    Modifies the given ancestor trajectory by composing its own trajectory, evaluated uniformly in time.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)