
public class MotorPosition extends Object
The time for each sample is
an absolute system time in microseconds. Only relative blade set positions are used
(see BladePosition).
The velocity units are 1/sec and the acceleration units are 1/sec/sec.
Instances are immutable.
| Constructor and Description |
|---|
MotorPosition(double position,
double velocity,
double acceleration,
long time)
Constructs an instance from the field values.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAcceleration()
Gets the acceleration in units of 1/sec/sec.
|
double |
getPosition()
Gets the relative position.
|
long |
getTime()
Gets the time of the sample.
|
double |
getVelocity()
Gets the velocity in units of 1/sec.
|
public MotorPosition(double position,
double velocity,
double acceleration,
long time)
position - the relative positionvelocity - the rate of change of relative positionacceleration - the second time derivative of the relative positiontime - the time in microsecondspublic double getPosition()
public long getTime()
public double getAcceleration()
public double getVelocity()
Copyright © 2019 LSST. All rights reserved.