CompositeTrajectory

@Serializable
@SerialName(value = "CompositeTrajectory")
class CompositeTrajectory @JvmOverloads constructor(val trajectories: List<DisplacementTrajectory>, val offsets: List<Double> = trajectories.scan(0.0) { acc, t -> acc + t.length() }) : Trajectory<Arclength>

Constructors

Link copied to clipboard
constructor(trajectories: Collection<Trajectory<*>>)
constructor(vararg trajectories: DisplacementTrajectory)
constructor(vararg trajectories: Trajectory<*>)
constructor(trajectories: List<DisplacementTrajectory>, offsets: List<Double> = trajectories.scan(0.0) { acc, t -> acc + t.length() })

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Transient
val path: CompositePosePath
Link copied to clipboard

Functions

Link copied to clipboard
open fun duration(): Duration
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open operator override fun get(s: Double): Pose2dDual<Time>
Link copied to clipboard
open override fun length(): Double
Link copied to clipboard
Link copied to clipboard
open operator fun plus(other: Trajectory<Arclength>): CompositeTrajectory
Link copied to clipboard
open override fun project(query: Vector2d, init: Double): Double
Link copied to clipboard
open fun start(): Pose2dDual<Time>
Link copied to clipboard
open override fun wrtDisp(): DisplacementTrajectory
Link copied to clipboard
open override fun wrtTime(): TimeTrajectory