38 #define _GS232BLIB_H 1 49 #define GS232B_BAUD 9600 51 #define GS232B_PARITY 0 52 #define GS232B_STOPBITS 1 54 #define GS_STATE_STOWED 0 55 #define GS_STATE_FIXED 1 56 #define GS_STATE_SEEKING 2 57 #define GS_STATE_TRACKING 3 float gs232b_get_el_offset()
Definition: gs232b_lib.cpp:363
int32_t gs232b_getdata(char *buf, int32_t buflen)
Definition: gs232b_lib.cpp:124
float gs232b_get_az_offset()
Definition: gs232b_lib.cpp:358
int32_t gs232b_get_az_el(float &az, float &el)
Definition: gs232b_lib.cpp:338
int32_t gs232b_disconnect()
Definition: gs232b_lib.cpp:108
float targetaz
Definition: gs232b_lib.h:71
Simple Serial library header file.
int32_t gs232b_az_speed(int32_t speed)
Definition: gs232b_lib.cpp:205
float gs232b_get_el()
Definition: gs232b_lib.cpp:328
int32_t gs232b_connect(string dev)
Definition: gs232b_lib.cpp:54
int32_t in_command
Definition: gs232b_lib.h:77
int32_t gs232b_calibrate_offset(int32_t axis)
int32_t gs232b_stop()
Definition: gs232b_lib.cpp:309
float el_offset
Definition: gs232b_lib.h:73
int32_t az_offset_waiting
Definition: gs232b_lib.h:68
Headers and definitions common to all COSMOS.
int32_t el_offset_waiting
Definition: gs232b_lib.h:72
float currentel
Definition: gs232b_lib.h:74
float gs232b_get_az()
Definition: gs232b_lib.cpp:318
GS-232B state.
Definition: gs232b_lib.h:64
float targetel
Definition: gs232b_lib.h:75
int32_t gs232b_send(char *buf, bool force)
Definition: gs232b_lib.cpp:397
int32_t data_received
Definition: gs232b_lib.h:78
float speed
Definition: netperf_send.cpp:40
int32_t az_center
Definition: gs232b_lib.h:66
int32_t gs232b_test()
Definition: gs232b_lib.cpp:373
char buf[128]
Definition: rw_test.cpp:40
float sensitivity
Definition: gs232b_lib.h:76
int32_t az_mode
Definition: gs232b_lib.h:67
float currentaz
Definition: gs232b_lib.h:70
float az_offset
Definition: gs232b_lib.h:69
int32_t gs232b_goto(float az, float el)
Definition: gs232b_lib.cpp:224
void gs232b_get_state(gs232b_state &state)
Definition: gs232b_lib.cpp:368
int32_t gs232b_set_sensitivity(float sensitivity)
Definition: gs232b_lib.cpp:417