AmcsStatus

class lsst.ts.MTDome.AmcsStatus(start_tai)

Bases: lsst.ts.MTDome.mock_llc.base_mock_llc.BaseMockStatus

Represents the status of the Azimuth Motion Control System in simulation mode.

Parameters:
start_tai: `float`

The TAI time, unix seconds, at the time at which this class is instantiated. To model the real dome, this should be the current time. However, for unit tests it can be convenient to use other values.

Methods Summary

crawlAz(velocity, start_tai) Crawl the dome in the given direction at the given velocity.
determine_status(current_tai) Determine the status of the Lower Level Component and store it in the llc_status dict.
fans(action) Enable or disable the fans in the dome.
inflate(action) Inflate or deflate the inflatable seal.
moveAz(position, velocity, start_tai) Move the dome at maximum velocity to the specified azimuth.
park(start_tai) Park the dome by moving it to azimuth 0.
stopAz(start_tai) Stop all motion of the dome.

Methods Documentation

crawlAz(velocity, start_tai)

Crawl the dome in the given direction at the given velocity.

Parameters:
velocity: `float`

The velocity (deg/s) at which to crawl. The velocity is not checked against the velocity limits for the dome.

start_tai: `float`

The TAI time, unix seconds, when the command was issued. To model the real dome, this should be the current time. However, for unit tests it can be convenient to use other values.

determine_status(current_tai)

Determine the status of the Lower Level Component and store it in the llc_status dict.

Parameters:
current_tai: `float`

The TAI time, unix seconds, for which the status is requested. To model the real dome, this should be the current time. However, for unit tests it can be convenient to use other values.

fans(action)

Enable or disable the fans in the dome.

This is a placeholder for now until it becomes clear what this command is supposed to do.

Parameters:
action: `str`

The value should be ON or OFF but the value doesn’t get validated here.

inflate(action)

Inflate or deflate the inflatable seal.

This is a placeholder for now until it becomes clear what this command is supposed to do.

Parameters:
action: `str`

The value should be ON or OFF but the value doesn’t get validated here.

moveAz(position, velocity, start_tai)

Move the dome at maximum velocity to the specified azimuth. Azimuth is measured from 0 at north via 90 at east and 180 at south to 270 west and 360 = 0. The value of azimuth is not checked for the range between 0 and 360.

Parameters:
position: `float`

The azimuth (deg) to move to.

velocity: `float`

The velocity (deg/s) at which to crawl once the commanded azimuth has been reached at maximum velocity. The velocity is not checked against the velocity limits for the dome.

start_tai: `float`

The TAI time, unix seconds, when the command was issued. To model the real dome, this should be the current time. However, for unit tests it can be convenient to use other values.

park(start_tai)

Park the dome by moving it to azimuth 0.

Parameters:
start_tai: `float`

The TAI time, unix seconds, when the command was issued. To model the real dome, this should be the current time. However, for unit tests it can be convenient to use other values.

stopAz(start_tai)

Stop all motion of the dome.

Parameters:
start_tai: `float`

The TAI time, unix seconds, when the command was issued. To model the real dome, this should be the current time. However, for unit tests it can be convenient to use other values.