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

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
* positionsnumpy.ndarray

Position of each axis at tai_time.

* velocitiesnumpy.ndarray

Velocity of each axis at tai_time.

* tai_timefloat

Current time + advance_time (TAI unix seconds).