public final class PredictedTrajectory extends Object
The physical motion profile is sampled at regular intervals, each sampling being used to make a PredictedPosition object. The starting time is added to the time-since-move-start used by the profile. The sampling is done once but can be retrieved as many times as needed.
Instances are immutable.
| Constructor and Description |
|---|
PredictedTrajectory(double startPosition,
org.lsst.ccs.utilities.taitime.CCSTimeStamp startTime,
Duration dt,
int numSamples,
MotionProfile profile)
Samples the given physical motion profile.
|
| Modifier and Type | Method and Description |
|---|---|
List<PredictedPosition> |
getPositions()
Returns the time-ordered list of predicted positions (and accelerations, etc.).
|
public PredictedTrajectory(double startPosition,
org.lsst.ccs.utilities.taitime.CCSTimeStamp startTime,
Duration dt,
int numSamples,
MotionProfile profile)
startPosition - the normalized start position (dimensionless in [0, 1])startTime - The absolute time of motion start.dt - the time between samples in secondsnumSamples - the number of positions to takeprofile - the motion profile to be sampledpublic List<PredictedPosition> getPositions()
Copyright © 2020 LSST. All rights reserved.