M1M3 Support System
Loading...
Searching...
No Matches
LSST::M1M3::SS::TMA Class Reference

Represents Telescope Mount Assembly (TMA). More...

#include <TMA.h>

Inheritance diagram for LSST::M1M3::SS::TMA:
Collaboration diagram for LSST::M1M3::SS::TMA:

Public Member Functions

 TMA (token)
 
void checkTimestamps (bool checkAzimuth, bool checkElevation)
 Checks that TMA azimuth and elevation timestamps are current.
 
void updateTMAAzimuth (MTMount_azimuthC *data)
 Updates azimuth data to match current TMA data.
 
void updateTMAElevation (MTMount_elevationC *data)
 Updates elevation data to match current TMA data.
 
double getElevation (bool forceTelescope=false)
 Returns mirror elevation.
 
void getMirrorAngularVelocities (double &x, double &y, double &z)
 Returns mirror angular X, Y and Z velocities.
 
void getMirrorAngularAccelerations (double &ax, double &ay, double &az)
 
double getElevationSin (bool forceTelescope=false)
 Returns elevation sin.
 
double getElevationCos (bool forceTelescope=false)
 Returns elevation cos.
 

Detailed Description

Represents Telescope Mount Assembly (TMA).

Provides functions to retrieve mirror elevation, either from inclinometer readout, or from telescope data.

Member Function Documentation

◆ checkTimestamps()

void TMA::checkTimestamps ( bool checkAzimuth,
bool checkElevation )

Checks that TMA azimuth and elevation timestamps are current.

Parameters
checkAzimuthtrue if azimuth timestamp shall be checked
checkElevationtrue if elevation timestamp shall be checked

◆ getElevation()

double TMA::getElevation ( bool forceTelescope = false)

Returns mirror elevation.

Uses either telescope provided data, or internal inclinometer readout.

Parameters
forceTelescopeif true, telescope elevation angle is provided
Returns
telescope elevation in degrees. 0 for horizon, 90 for zenith.
Here is the caller graph for this function:

◆ getElevationCos()

double LSST::M1M3::SS::TMA::getElevationCos ( bool forceTelescope = false)
inline

Returns elevation cos.

Parameters
forceTelescopeif true, telescope elevation angle is provided
Returns
elevation cos
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getElevationSin()

double LSST::M1M3::SS::TMA::getElevationSin ( bool forceTelescope = false)
inline

Returns elevation sin.

Parameters
forceTelescopeif true, telescope elevation angle is provided
Returns
elvation sin
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMirrorAngularVelocities()

void TMA::getMirrorAngularVelocities ( double & x,
double & y,
double & z )

Returns mirror angular X, Y and Z velocities.

Those are calculated from azimuth and elevation velocities.

Here is the call graph for this function:

◆ updateTMAAzimuth()

void TMA::updateTMAAzimuth ( MTMount_azimuthC * data)

Updates azimuth data to match current TMA data.

Should be called on reception of new azimuth data.

Parameters
dataMTMount_azimuth data

◆ updateTMAElevation()

void TMA::updateTMAElevation ( MTMount_elevationC * data)

Updates elevation data to match current TMA data.

Should be called on reception of new elevation data.

Parameters
dataMTMount_elevation data

The documentation for this class was generated from the following files: