CircularPointToPointActuator¶
- class lsst.ts.simactuators.CircularPointToPointActuator(speed: float, start_position: float | None = None)¶
 Bases:
BasePointToPointActuatorSimulated circular actuator that moves to a specified position at constant velocity and halts.
Circular means motion around a circle, with no limits, such as the azimuth axis for some telescope enclosures. Positions are reported in the range [0, 360) degrees.
- Parameters:
 - Raises:
 - ValueError
 If
speed <= 0
Attributes Summary
Direction of current or most recent move, as a
lsst.ts.simactuators.Directionenum value.Ending position of move, in the range [0, 360) degrees.
TAI date at end of move, unix seconds.
Starting position of move in the range [0, 360) degrees.
TAI date at start of move move recent move.
Methods Summary
moving([tai])Is the axis moving? False before and after the move.
position([tai])Current position.
remaining_time([tai])Remaining time for the move (seconds); 0 after the move.
set_position(position[, direction, start_tai])Set a new target position and return the move duration.
stop([tai])Stop motion instantly.
velocity([tai])Actual velocity.
Attributes Documentation
- direction¶
 Direction of current or most recent move, as a
lsst.ts.simactuators.Directionenum value.lsst.ts.simactuators.Direction.NEGATIVEif moving or moved in the negative direction,lsst.ts.simactuators.Direction.POSTIVEotherwise, including for a null movement or if never moved.
- end_position¶
 Ending position of move, in the range [0, 360) degrees.
- end_tai¶
 TAI date at end of move, unix seconds.
- start_position¶
 Starting position of move in the range [0, 360) degrees.
- start_tai¶
 TAI date at start of move move recent move.
Methods Documentation
- remaining_time(tai: float | None = None) float¶
 Remaining time for the move (seconds); 0 after the move.
- set_position(position: float, direction: Direction = Direction.NEAREST, start_tai: float | None = None) float¶
 Set a new target position and return the move duration.