RampGenerator¶
- class lsst.ts.simactuators.RampGenerator(start_positions: Sequence[float], end_positions: Sequence[float], speeds: Sequence[float], advance_time: float = 0.1, nextra: int = 5)¶
Bases:
object
Attributes Summary
Duration of the move (seconds), ignoring the extra elements.
Methods Summary
__call__
()Generator of positions, velocities and time.
Attributes Documentation
- duration¶
Duration of the move (seconds), ignoring the extra elements.
Methods Documentation
- __call__() Generator[Tuple[ndarray, ndarray, float], None, None] ¶
Generator of positions, velocities and time.
- Returns
- * positions
numpy.ndarray
Position of each axis at tai_time.
- * velocities
numpy.ndarray
Velocity of each axis at tai_time.
- * tai_time
float
Current time + advance_time (TAI unix seconds).
- * positions