lsst.ts.hexrotcomm

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

Using lsst.ts.hexrotcomm

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, CommandCode, ...[, ...])

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 a Moog controller.

CommandStatus

Command status from a Moog controller.

CommandStatusCode(value[, names, module, ...])

Possible values for CommandStatus.status.

CommandTelemetryClient(*, log, ConfigClass, ...)

TCP/IP Client for a Moog CSC.

FrameId(value[, names, module, qualname, ...])

Frame ID for each message type.

Header

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

SetStateParam(value[, names, module, ...])

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

SimpleCommandCode(value[, names, module, ...])

SimpleConfig

Configuration of SimpleMockController.

SimpleCsc([config_dir, initial_state, ...])

Simple CSC to talk to SimpleMockController.

SimpleMockController(log[, port, host, ...])

Simple mock controller for unit testing BaseMockController.

SimpleTelemetry

Telemetry from SimpleMockController.

Version History