Class TcsInfo#

Class Documentation#

class TcsInfo#

contains TCS telemetry

Public Functions

inline TcsInfo()#
inline double get_zenangle()#
inline double get_casangle()#
inline double get_parallactic()#
inline double get_equivalentcass()#
inline bool is_older_than(std::chrono::seconds sec)#

is the TCS telemetry more than <sec> seconds old?

When the telemetry is stored in this class it is time-stamped. This returns true if that time stamp is more than <sec> seconds ago from now.

Parameters:

sec[in] number of seconds

Returns:

true|false

inline void store(const double &_zenangle, const double &_casangle, const double &_parallactic, const std::optional<double> &_equivalentcass = std::nullopt)#

timestamp telemetry

Call this function when This returns true if that time stamp is more than <sec>