MockMessageTelemetry

class lsst.ts.m2com.MockMessageTelemetry(server: OneClientServer | None)

Bases: object

Mock message of telemetry to simulate the message from real hardware.

Parameters

servertcpip.OneClientServer or None

Telemetry server.

Attributes

servertcpip.OneClientServer or None

Telemetry server.

Methods Summary

write_axial_actuator_steps(data)

Write the message: axial actuator steps.

write_axial_encoder_positions(data)

Write the message: axial actuator encoder positions in micron.

write_axial_force(data)

Write the message: axial force in Newton.

write_displacement_sensors(data)

Write the message: raw measurements from displacement sensors.

write_force_balance(data)

Write the message: net forces and moments as commanded by the force balance system.

write_force_error_tangent(data)

Write the message: tangent force error.

write_ilc_data(data)

Write the message: inner-loop controller (ILC) data.

write_inclinometer_angle_tma(data)

Write the message: telescope mount assembly (TMA) inclinometer angle in degree.

write_net_forces_total(data)

Write the message: total actuator net forces in Newton.

write_net_moments_total(data)

Write the message: total actuator net moments of force in Newton * meter.

write_position(data)

Write the message: M2 position by the actuator positions.

write_position_ims(data)

Write the message: M2 position by the independent measurement system (IMS).

write_power_status(data)

Write the message: power status.

write_power_status_raw(data)

Write the message: raw power status.

write_tangent_actuator_steps(data)

Write the message: tangent actuator steps.

write_tangent_encoder_positions(data)

Write the message: tangent actuator encoder positions in micron.

write_tangent_force(data)

Write the message: tangent force in Newton.

write_temperature(data)

Write the message: cell temperature in degree C.

write_zenith_angle(data)

Write the message: zenith angle in degree.

Methods Documentation

async write_axial_actuator_steps(data: dict) None

Write the message: axial actuator steps.

Parameters

datadict

Data of axial actuator steps.

async write_axial_encoder_positions(data: dict) None

Write the message: axial actuator encoder positions in micron.

Parameters

datadict

Data of axial actuator encoder position in millimeter.

async write_axial_force(data: dict) None

Write the message: axial force in Newton.

Parameters

datadict

Data of axial force.

async write_displacement_sensors(data: dict) None

Write the message: raw measurements from displacement sensors.

Parameters

datadict

Data of displacement sensors.

async write_force_balance(data: dict) None

Write the message: net forces and moments as commanded by the force balance system.

Parameters

datadict

Data of force balance system.

async write_force_error_tangent(data: dict) None

Write the message: tangent force error.

Parameters

datadict

Data of tangent force error.

async write_ilc_data(data: dict) None

Write the message: inner-loop controller (ILC) data.

Parameters

datadict

Data of ILC status.

async write_inclinometer_angle_tma(data: dict) None

Write the message: telescope mount assembly (TMA) inclinometer angle in degree.

Parameters

datadict

Data of TMA angle.

async write_net_forces_total(data: dict) None

Write the message: total actuator net forces in Newton.

Parameters

datadict

Data of total actuator net forces.

async write_net_moments_total(data: dict) None

Write the message: total actuator net moments of force in Newton * meter.

Parameters

datadict

Data of total actuator net moments of force.

async write_position(data: dict) None

Write the message: M2 position by the actuator positions.

Parameters

datadict

Data of M2 position.

async write_position_ims(data: dict) None

Write the message: M2 position by the independent measurement system (IMS).

Parameters

datadict

Data of M2 position by IMS.

async write_power_status(data: dict) None

Write the message: power status.

Parameters

datadict

Data of power status.

async write_power_status_raw(data: dict) None

Write the message: raw power status.

Parameters

datadict

Data of raw power status.

async write_tangent_actuator_steps(data: dict) None

Write the message: tangent actuator steps.

Parameters

datadict

Data of tangent actuator steps.

async write_tangent_encoder_positions(data: dict) None

Write the message: tangent actuator encoder positions in micron.

Parameters

datadict

Data of tangent actuator encoder position in millimeter.

async write_tangent_force(data: dict) None

Write the message: tangent force in Newton.

Parameters

datadict

Data of axial force.

async write_temperature(data: dict) None

Write the message: cell temperature in degree C.

Parameters

datadict

Data of cell temperature.

async write_zenith_angle(data: dict) None

Write the message: zenith angle in degree.

Parameters

datadict

Data of zenith angle.