MTMountCommander#

class lsst.ts.mtmount.MTMountCommander(enable)#

Bases: CscCommander

Attributes Summary

Methods Summary

close()

Close the commander, prior to quitting.

do_ramp(args)

do_stop(args)

do_stopTracking(args)

telemetry_callback(data, name[, digits])

Default callback for telemetry topics.

Attributes Documentation

ramp_arg_names#

Methods Documentation

async close()#

Close the commander, prior to quitting.

async do_ramp(args)#
async do_stop(args)#
async do_stopTracking(args)#
async telemetry_callback(data, name, digits=1)#

Default callback for telemetry topics.

Print the telemetry information if it has changed enough (as specified by digits).

Parameters:
  • data (type_hints.BaseMsgType) – The message data.

  • name (str) – The name to print. Typically the basic topic name with no prefix.

  • digits (int) – The default number of digits to which to round float values before comparing if fields have changed enough to be worth printing the new data. May be overridden for specific fields using constructor argument telemetry_fields_compare_digits.

Notes

  • This method cannot be directly assigned as a topic callback. Use functools.partial or similar to specify name, and, if you like, digits.

  • This method can also be used for events, if you only want The event published when the data changes significantly. One good candidate is the generic clockOffset event.