Developer Guide¶
The mtmount CSC is implemented using ts_salobj.
The CSC controls the main telescope mount using a TCP/IP connection to a low-level controller provided by Tekniker. It also reads telemetry from another TCP/IP connection using a background process (to avoid being overloaded).
See Interface with the Telescope Mount Assembly for information about the low-level controller.
API¶
The primary classes are:
MTMountCsc
: control for the mount.TelemetryClient
: read telemetry and translated it to SAL/DDS.
lsst.ts.mtmount Package¶
Functions¶
Run MTMount Commander. |
|
Run the MTMount CSC. |
|
Run the MTMountCcwOnly CSC. |
|
Run MTMount telemetry client. |
|
Generate MTMount_Telemetry.xml from the TMA's telemetry config file. |
|
|
Truncate a value, if necessary. |
|
Wrap a parameter description appropriately for a doc string. |
Classes¶
|
Command codes for Command.command_code. |
|
asyncio futures to track the progress of a low-level controller command. |
|
|
|
|
|
Status of enabling/disabling subsystems. |
|
MTMount CSC commanding only the CCW. |
|
|
|
MTMount CSC |
|
Reply codes for messages read from the low-level controller. |
|
Values for the |
|
Create MTMount_Telemetry.xml from the TMA telemetry config file. |
|
Read telemetry data from the TMA and publish as SAL messages. |
|
Coroutine functor that takes a telemetry message from the low-level controller and outputs the associated SAL telemetry message. |
|
Enum of sal_topic_name: topic_id where: |
|
Thermal control mode for azimuth, elevation, and cabinet0101. |
Class Inheritance Diagram¶
Build and Test¶
This is a pure python package. There is nothing to build except the documentation.
make_idl_files.py MTMount
setup -r .
pytest -v # to run tests
package-docs clean; package-docs build # to build the documentation
Interface with the Telescope Mount Assembly¶
Contributing¶
lsst.ts.mtmount
is developed at https://github.com/lsst-ts/ts_mtmount.
Bug reports and feature requests use Jira with labels=ts_mtmount.