TelemetryTopicHandler

class lsst.ts.mtmount.TelemetryTopicHandler(topic, field_dict, preprocessor=None)

Bases: object

Coroutine functor that takes a telemetry message from the low-level controller and outputs the associated SAL telemetry message.

Parameters:
topicsalobj.topics.ControllerTelemetry

SAL telemetry topic.

field_dictdict

Dicts of SAL topic field name: low-level message field name

preprocessorcallable or None, optional

Function to preprocess the low-level message.

Methods Summary

__call__(data_dict)

Process one low-level message.

Methods Documentation

async __call__(data_dict)

Process one low-level message.

Parameters:
data_dictdict

Dict of field name: value. Note: if there is preprocessor, this will be modified in place.