TwiceAsNice  2019-02-18
Classes | Enumerations | Functions
ieqprodriver.h File Reference
#include <string>
Include dependency graph for ieqprodriver.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  IEQInfo
 
struct  FirmwareInfo
 

Enumerations

enum  IEQ_GPS_STATUS { GPS_OFF, GPS_ON, GPS_DATA_OK }
 
enum  IEQ_SYSTEM_STATUS {
  ST_STOPPED, ST_TRACKING_PEC_OFF, ST_SLEWING, ST_GUIDING,
  ST_MERIDIAN_FLIPPING, ST_TRACKING_PEC_ON, ST_PARKED, ST_HOME
}
 
enum  IEQ_TRACK_RATE {
  TR_SIDEREAL, TR_LUNAR, TR_SOLAR, TR_KING,
  TR_CUSTOM
}
 
enum  IEQ_SLEW_RATE {
  SR_1, SR_2, SR_3, SR_4,
  SR_5, SR_6, SR_7, SR_8,
  SR_MAX
}
 
enum  IEQ_TIME_SOURCE { TS_RS232, TS_CONTROLLER, TS_GPS }
 
enum  IEQ_HEMISPHERE { HEMI_SOUTH, HEMI_NORTH }
 
enum  IEQ_FIRMWARE {
  FW_MODEL, FW_BOARD, FW_CONTROLLER, FW_RA,
  FW_DEC
}
 
enum  IEQ_AXIS { RA_AXIS, DEC_AXIS }
 
enum  IEQ_DIRECTION { IEQ_N, IEQ_S, IEQ_W, IEQ_E }
 
enum  IEQ_HOME_OPERATION { IEQ_FIND_HOME, IEQ_SET_HOME, IEQ_GOTO_HOME }
 

Functions

void set_ieqpro_debug (bool enable)
 
void set_ieqpro_simulation (bool enable)
 
void set_ieqpro_device (const char *name)
 
void set_sim_gps_status (IEQ_GPS_STATUS value)
 
void set_sim_system_status (IEQ_SYSTEM_STATUS value)
 
void set_sim_track_rate (IEQ_TRACK_RATE value)
 
void set_sim_slew_rate (IEQ_SLEW_RATE value)
 
void set_sim_time_source (IEQ_TIME_SOURCE value)
 
void set_sim_hemisphere (IEQ_HEMISPHERE value)
 
void set_sim_ra (double ra)
 
void set_sim_dec (double dec)
 
void set_sim_guide_rate (double rate)
 
bool check_ieqpro_connection (int fd)
 
bool get_ieqpro_status (int fd, IEQInfo *info)
 Get iEQ current status info. More...
 
bool get_ieqpro_firmware (int fd, FirmwareInfo *info)
 Get All firmware informatin in addition to mount model. More...
 
bool get_ieqpro_main_firmware (int fd, FirmwareInfo *info)
 Get mainboard and controller firmware only. More...
 
bool get_ieqpro_radec_firmware (int fd, FirmwareInfo *info)
 Get RA and DEC firmware info. More...
 
bool get_ieqpro_model (int fd, FirmwareInfo *info)
 Get Mount model. More...
 
bool get_ieqpro_coords (int fd, double *ra, double *dec)
 Get RA/DEC. More...
 
bool get_ieqpro_utc_date_time (int fd, double *utc_hours, int *yy, int *mm, int *dd, int *hh, int *minute, int *ss)
 Get UTC/Date/Time. More...
 
bool start_ieqpro_motion (int fd, IEQ_DIRECTION dir)
 
bool stop_ieqpro_motion (int fd, IEQ_DIRECTION dir)
 
bool set_ieqpro_slew_rate (int fd, IEQ_SLEW_RATE rate)
 
bool set_ieqpro_custom_ra_track_rate (int fd, double rate)
 
bool set_ieqpro_custom_de_track_rate (int fd, double rate)
 
bool set_ieqpro_track_mode (int fd, IEQ_TRACK_RATE rate)
 
bool set_ieqpro_track_enabled (int fd, bool enabled)
 
bool abort_ieqpro (int fd)
 
bool slew_ieqpro (int fd)
 
bool sync_ieqpro (int fd)
 
bool set_ieqpro_ra (int fd, double ra)
 
bool set_ieqpro_dec (int fd, double dec)
 
bool find_ieqpro_home (int fd)
 
bool goto_ieqpro_home (int fd)
 
bool set_ieqpro_current_home (int fd)
 
bool park_ieqpro (int fd)
 
bool unpark_ieqpro (int fd)
 
bool set_ieqpro_guide_rate (int fd, double rate)
 
bool get_ieqpro_guide_rate (int fd, double *rate)
 
bool start_ieqpro_guide (int fd, IEQ_DIRECTION dir, int ms)
 
bool set_ieqpro_longitude (int fd, double longitude)
 
bool set_ieqpro_latitude (int fd, double latitude)
 
bool get_ieqpro_longitude (int fd, double *longitude)
 
bool get_ieqpro_latitude (int fd, double *latitude)
 
bool set_ieqpro_local_date (int fd, int yy, int mm, int dd)
 
bool set_ieqpro_local_time (int fd, int hh, int mm, int ss)
 
bool set_ieqpro_utc_offset (int fd, double offset_hours)
 
bool set_ieqpro_daylight_saving (int fd, bool enabled)
 

Enumeration Type Documentation

◆ IEQ_AXIS

enum IEQ_AXIS
Enumerator
RA_AXIS 
DEC_AXIS 

◆ IEQ_DIRECTION

Enumerator
IEQ_N 
IEQ_S 
IEQ_W 
IEQ_E 

◆ IEQ_FIRMWARE

Enumerator
FW_MODEL 
FW_BOARD 
FW_CONTROLLER 
FW_RA 
FW_DEC 

◆ IEQ_GPS_STATUS

Enumerator
GPS_OFF 
GPS_ON 
GPS_DATA_OK 

◆ IEQ_HEMISPHERE

Enumerator
HEMI_SOUTH 
HEMI_NORTH 

◆ IEQ_HOME_OPERATION

Enumerator
IEQ_FIND_HOME 
IEQ_SET_HOME 
IEQ_GOTO_HOME 

◆ IEQ_SLEW_RATE

Enumerator
SR_1 
SR_2 
SR_3 
SR_4 
SR_5 
SR_6 
SR_7 
SR_8 
SR_MAX 

◆ IEQ_SYSTEM_STATUS

Enumerator
ST_STOPPED 
ST_TRACKING_PEC_OFF 
ST_SLEWING 
ST_GUIDING 
ST_MERIDIAN_FLIPPING 
ST_TRACKING_PEC_ON 
ST_PARKED 
ST_HOME 

◆ IEQ_TIME_SOURCE

Enumerator
TS_RS232 
TS_CONTROLLER 
TS_GPS 

◆ IEQ_TRACK_RATE

Enumerator
TR_SIDEREAL 
TR_LUNAR 
TR_SOLAR 
TR_KING 
TR_CUSTOM 

Function Documentation

◆ abort_ieqpro()

bool abort_ieqpro ( int  fd)

◆ check_ieqpro_connection()

bool check_ieqpro_connection ( int  fd)

◆ find_ieqpro_home()

bool find_ieqpro_home ( int  fd)

◆ get_ieqpro_coords()

bool get_ieqpro_coords ( int  fd,
double *  ra,
double *  dec 
)

Get RA/DEC.

◆ get_ieqpro_firmware()

bool get_ieqpro_firmware ( int  fd,
FirmwareInfo info 
)

Get All firmware informatin in addition to mount model.

◆ get_ieqpro_guide_rate()

bool get_ieqpro_guide_rate ( int  fd,
double *  rate 
)

◆ get_ieqpro_latitude()

bool get_ieqpro_latitude ( int  fd,
double *  latitude 
)

◆ get_ieqpro_longitude()

bool get_ieqpro_longitude ( int  fd,
double *  longitude 
)

◆ get_ieqpro_main_firmware()

bool get_ieqpro_main_firmware ( int  fd,
FirmwareInfo info 
)

Get mainboard and controller firmware only.

◆ get_ieqpro_model()

bool get_ieqpro_model ( int  fd,
FirmwareInfo info 
)

Get Mount model.

◆ get_ieqpro_radec_firmware()

bool get_ieqpro_radec_firmware ( int  fd,
FirmwareInfo info 
)

Get RA and DEC firmware info.

◆ get_ieqpro_status()

bool get_ieqpro_status ( int  fd,
IEQInfo info 
)

Get iEQ current status info.

◆ get_ieqpro_utc_date_time()

bool get_ieqpro_utc_date_time ( int  fd,
double *  utc_hours,
int *  yy,
int *  mm,
int *  dd,
int *  hh,
int *  minute,
int *  ss 
)

Get UTC/Date/Time.

◆ goto_ieqpro_home()

bool goto_ieqpro_home ( int  fd)

◆ park_ieqpro()

bool park_ieqpro ( int  fd)

◆ set_ieqpro_current_home()

bool set_ieqpro_current_home ( int  fd)

◆ set_ieqpro_custom_de_track_rate()

bool set_ieqpro_custom_de_track_rate ( int  fd,
double  rate 
)

◆ set_ieqpro_custom_ra_track_rate()

bool set_ieqpro_custom_ra_track_rate ( int  fd,
double  rate 
)

◆ set_ieqpro_daylight_saving()

bool set_ieqpro_daylight_saving ( int  fd,
bool  enabled 
)

◆ set_ieqpro_debug()

void set_ieqpro_debug ( bool  enable)

◆ set_ieqpro_dec()

bool set_ieqpro_dec ( int  fd,
double  dec 
)

◆ set_ieqpro_device()

void set_ieqpro_device ( const char *  name)

◆ set_ieqpro_guide_rate()

bool set_ieqpro_guide_rate ( int  fd,
double  rate 
)

◆ set_ieqpro_latitude()

bool set_ieqpro_latitude ( int  fd,
double  latitude 
)

◆ set_ieqpro_local_date()

bool set_ieqpro_local_date ( int  fd,
int  yy,
int  mm,
int  dd 
)

◆ set_ieqpro_local_time()

bool set_ieqpro_local_time ( int  fd,
int  hh,
int  mm,
int  ss 
)

◆ set_ieqpro_longitude()

bool set_ieqpro_longitude ( int  fd,
double  longitude 
)

◆ set_ieqpro_ra()

bool set_ieqpro_ra ( int  fd,
double  ra 
)

◆ set_ieqpro_simulation()

void set_ieqpro_simulation ( bool  enable)

◆ set_ieqpro_slew_rate()

bool set_ieqpro_slew_rate ( int  fd,
IEQ_SLEW_RATE  rate 
)

◆ set_ieqpro_track_enabled()

bool set_ieqpro_track_enabled ( int  fd,
bool  enabled 
)

◆ set_ieqpro_track_mode()

bool set_ieqpro_track_mode ( int  fd,
IEQ_TRACK_RATE  rate 
)

◆ set_ieqpro_utc_offset()

bool set_ieqpro_utc_offset ( int  fd,
double  offset_hours 
)

◆ set_sim_dec()

void set_sim_dec ( double  dec)

◆ set_sim_gps_status()

void set_sim_gps_status ( IEQ_GPS_STATUS  value)

◆ set_sim_guide_rate()

void set_sim_guide_rate ( double  rate)

◆ set_sim_hemisphere()

void set_sim_hemisphere ( IEQ_HEMISPHERE  value)

◆ set_sim_ra()

void set_sim_ra ( double  ra)

◆ set_sim_slew_rate()

void set_sim_slew_rate ( IEQ_SLEW_RATE  value)

◆ set_sim_system_status()

void set_sim_system_status ( IEQ_SYSTEM_STATUS  value)

◆ set_sim_time_source()

void set_sim_time_source ( IEQ_TIME_SOURCE  value)

◆ set_sim_track_rate()

void set_sim_track_rate ( IEQ_TRACK_RATE  value)

◆ slew_ieqpro()

bool slew_ieqpro ( int  fd)

◆ start_ieqpro_guide()

bool start_ieqpro_guide ( int  fd,
IEQ_DIRECTION  dir,
int  ms 
)

◆ start_ieqpro_motion()

bool start_ieqpro_motion ( int  fd,
IEQ_DIRECTION  dir 
)

◆ stop_ieqpro_motion()

bool stop_ieqpro_motion ( int  fd,
IEQ_DIRECTION  dir 
)

◆ sync_ieqpro()

bool sync_ieqpro ( int  fd)

◆ unpark_ieqpro()

bool unpark_ieqpro ( int  fd)