lsst.ts.hexrotcomm

Python code to communicate with the main telescope camera rotator and hexapod low level controllers (code running in PXI computers).

Contributing

lsst.ts.hexrotcomm is developed at https://github.com/lsst-ts/ts_hexrotcomm. You can find Jira issues for this module at labels=ts_hexrotcomm.

Python API reference

lsst.ts.hexrotcomm Package

Classes

BaseCsc(*, name, index, port, sync_pattern, …)

Base CSC for talking to Moog hexpod or rotator controllers.

BaseCscTestCase()

A variant of salobj.BaseCscTestCase that captures all but the last controller state in make_csc.

BaseMockController(log, CommandCode, …[, …])

Base class for a mock Moog TCP/IP controller with states.

Command

Command for Moog controller.

CommandTelemetryClient(*, log, config, …)

Client for a mock Moog TCP/IP controller.

CommandTelemetryServer(host, log, port, …)

Serve command and telemetry ports for a low level controller to connect to.

Header

Initial part of telemetry or configuration data from a Moog controller.

SetStateParam(value)

Values for Command.param1 when Command.code = CommandCode.SET_STATE.

SimpleCommandCode(value)

An enumeration.

SimpleConfig

Configuration of SimpleMockController.

SimpleCsc([config_dir, initial_state, …])

Simple CSC to talk to SimpleMockController.

SimpleMockController(log[, host, …])

Simple mock controller for unit testing BaseMockController.

SimpleTelemetry

Telemetry from SimpleMockController.

Version History