mirror of
https://github.com/eddyem/small_tel.git
synced 2026-05-01 18:37:07 +03:00
add heater commands and fits-header creation
This commit is contained in:
@@ -25,6 +25,17 @@
|
||||
// dome polling interval (clear watchdog & get status)
|
||||
#define T_INTERVAL (2.0)
|
||||
|
||||
typedef struct{
|
||||
int focuserpos; // focuser position
|
||||
char status[STATBUF_SZ]; // device status
|
||||
double stattime; // time of last status
|
||||
int cooler; // cooler's status
|
||||
int heater; // heater's status
|
||||
double mirrortemp; // T mirror, degC
|
||||
double ambienttemp; // T ambient, degC
|
||||
} telstatus_t;
|
||||
|
||||
void runserver(int isunix, const char *node, int maxclients);
|
||||
void stopserver();
|
||||
void forbid_observations(int forbid);
|
||||
bool get_telescope_data(telstatus_t *t);
|
||||
|
||||
Reference in New Issue
Block a user