Class TcsInfo#

Nested Relationships#

Nested Types#

Class Documentation#

class TcsInfo#

TCS information class.

This class contains functions which can parse the output from TCS-native commands REQSTAT, REQPOS, and ?WEATHER, which then store the parsed results into class variables.

Public Functions

inline TcsInfo()#
inline void init()#

initialize all class member variables to “non-values”

void parse_weather(std::string &input)#

parse retstring from native ?WEATHER

void parse_reqstat(std::string &input)#

parse retstring from native REQSTAT

void parse_reqpos(std::string &input)#

parse retstring from native REQPOS

void parse_pa(std::string &input)#

parse retstring from native ?PARALLACTIC

void parse_lamps(std::string &input)#

parse retstring from native LAMPS?

Public Members

bool isopen#
std::string tcsname#

is connection open to TCS

std::string utc#

name of connected TCS { real sim }

std::string lst#

ddd hh:mm:ss

std::string ha#

hh:mm:ss

std::string ra_hms#

hh:mm:ss.s

std::string dec_dms#

hh:mm:ss.ss

std::string motion#

dd:mm:ss.ss

double ra_h_dec#

one of the human readable TCS_MOTION*_STRs from tcs_constants.h

double dec_d_dec#

h.hhhhh (decimal hours)

double azimuth#

d.ddddd (decimal degrees)

double zenithangle#
double domeazimuth#
double airmass#
double focus#
double offsetra#
double offsetdec#
double offsetrate#
double cassangle#
double pa#
int domeshutters#
std::map<std::string, lamp_t> lampinfo#

lamp info indexed by a UI key