#include <celestrondriver.h>
|
| CelestronDriver () |
|
const char * | getDeviceName () |
|
void | set_port_fd (int port_fd) |
|
void | set_simulation (bool enable) |
|
void | set_device (const char *name) |
|
void | set_sim_slew_rate (CELESTRON_SLEW_RATE val) |
|
void | set_sim_track_mode (CELESTRON_TRACK_MODE val) |
|
void | set_sim_gps_status (CELESTRON_GPS_STATUS val) |
|
void | set_sim_slewing (bool isSlewing) |
|
void | set_sim_ra (double ra) |
|
void | set_sim_dec (double dec) |
|
void | set_sim_az (double az) |
|
void | set_sim_alt (double alt) |
|
double | get_sim_ra () |
|
double | get_sim_dec () |
|
bool | echo () |
|
bool | check_connection () |
|
bool | get_firmware (FirmwareInfo *info) |
|
bool | get_version (char *version, int size) |
|
bool | get_variant (char *variant) |
|
bool | get_model (char *model, int size) |
|
bool | get_dev_firmware (int dev, char *version, int size) |
|
bool | get_radec (double *ra, double *dec, bool precise) |
|
bool | get_azalt (double *az, double *alt, bool precise) |
|
bool | get_utc_date_time (double *utc_hours, int *yy, int *mm, int *dd, int *hh, int *minute, int *ss) |
|
bool | start_motion (CELESTRON_DIRECTION dir, CELESTRON_SLEW_RATE rate) |
|
bool | stop_motion (CELESTRON_DIRECTION dir) |
|
bool | abort () |
|
bool | slew_radec (double ra, double dec, bool precise) |
|
bool | slew_azalt (double az, double alt, bool precise) |
|
bool | sync (double ra, double dec, bool precise) |
|
bool | set_location (double longitude, double latitude) |
|
bool | set_datetime (struct ln_date *utc, double utc_offset) |
|
bool | get_track_mode (CELESTRON_TRACK_MODE *mode) |
|
bool | set_track_mode (CELESTRON_TRACK_MODE mode) |
|
bool | is_slewing () |
|
bool | hibernate () |
|
bool | wakeup () |
|
int | send_pulse (CELESTRON_DIRECTION direction, signed char rate, unsigned char duration_msec) |
|
int | get_pulse_status (CELESTRON_DIRECTION direction, bool &pulse_state) |
|
|
void | set_sim_response (const char *fmt,...) |
|
virtual int | serial_write (const char *cmd, int nbytes, int *nbytes_written) |
|
virtual int | serial_read (int nbytes, int *nbytes_read) |
|
virtual int | serial_read_section (char stop_char, int *nbytes_read) |
|
int | send_command (const char *cmd, int cmd_len, char *resp, int resp_len, bool ascii_cmd, bool ascii_resp) |
|
int | send_passthrough (int dest, int cmd_id, const char *payload, int payload_len, char *response, int response_len) |
|
◆ CelestronDriver()
CelestronDriver::CelestronDriver |
( |
| ) |
|
|
inline |
◆ abort()
bool CelestronDriver::abort |
( |
| ) |
|
◆ check_connection()
bool CelestronDriver::check_connection |
( |
| ) |
|
◆ echo()
bool CelestronDriver::echo |
( |
| ) |
|
◆ get_azalt()
bool CelestronDriver::get_azalt |
( |
double * |
az, |
|
|
double * |
alt, |
|
|
bool |
precise |
|
) |
| |
◆ get_dev_firmware()
bool CelestronDriver::get_dev_firmware |
( |
int |
dev, |
|
|
char * |
version, |
|
|
int |
size |
|
) |
| |
◆ get_firmware()
◆ get_model()
bool CelestronDriver::get_model |
( |
char * |
model, |
|
|
int |
size |
|
) |
| |
◆ get_pulse_status()
◆ get_radec()
bool CelestronDriver::get_radec |
( |
double * |
ra, |
|
|
double * |
dec, |
|
|
bool |
precise |
|
) |
| |
◆ get_sim_dec()
double CelestronDriver::get_sim_dec |
( |
| ) |
|
|
inline |
◆ get_sim_ra()
double CelestronDriver::get_sim_ra |
( |
| ) |
|
|
inline |
◆ get_track_mode()
◆ get_utc_date_time()
bool CelestronDriver::get_utc_date_time |
( |
double * |
utc_hours, |
|
|
int * |
yy, |
|
|
int * |
mm, |
|
|
int * |
dd, |
|
|
int * |
hh, |
|
|
int * |
minute, |
|
|
int * |
ss |
|
) |
| |
◆ get_variant()
bool CelestronDriver::get_variant |
( |
char * |
variant | ) |
|
◆ get_version()
bool CelestronDriver::get_version |
( |
char * |
version, |
|
|
int |
size |
|
) |
| |
◆ getDeviceName()
const char * CelestronDriver::getDeviceName |
( |
| ) |
|
◆ hibernate()
bool CelestronDriver::hibernate |
( |
| ) |
|
◆ is_slewing()
bool CelestronDriver::is_slewing |
( |
| ) |
|
◆ send_command()
int CelestronDriver::send_command |
( |
const char * |
cmd, |
|
|
int |
cmd_len, |
|
|
char * |
resp, |
|
|
int |
resp_len, |
|
|
bool |
ascii_cmd, |
|
|
bool |
ascii_resp |
|
) |
| |
|
protected |
◆ send_passthrough()
int CelestronDriver::send_passthrough |
( |
int |
dest, |
|
|
int |
cmd_id, |
|
|
const char * |
payload, |
|
|
int |
payload_len, |
|
|
char * |
response, |
|
|
int |
response_len |
|
) |
| |
|
protected |
◆ send_pulse()
int CelestronDriver::send_pulse |
( |
CELESTRON_DIRECTION |
direction, |
|
|
signed char |
rate, |
|
|
unsigned char |
duration_msec |
|
) |
| |
◆ serial_read()
int CelestronDriver::serial_read |
( |
int |
nbytes, |
|
|
int * |
nbytes_read |
|
) |
| |
|
protectedvirtual |
◆ serial_read_section()
int CelestronDriver::serial_read_section |
( |
char |
stop_char, |
|
|
int * |
nbytes_read |
|
) |
| |
|
protectedvirtual |
◆ serial_write()
int CelestronDriver::serial_write |
( |
const char * |
cmd, |
|
|
int |
nbytes, |
|
|
int * |
nbytes_written |
|
) |
| |
|
protectedvirtual |
◆ set_datetime()
bool CelestronDriver::set_datetime |
( |
struct ln_date * |
utc, |
|
|
double |
utc_offset |
|
) |
| |
◆ set_device()
void CelestronDriver::set_device |
( |
const char * |
name | ) |
|
◆ set_location()
bool CelestronDriver::set_location |
( |
double |
longitude, |
|
|
double |
latitude |
|
) |
| |
◆ set_port_fd()
void CelestronDriver::set_port_fd |
( |
int |
port_fd | ) |
|
|
inline |
◆ set_sim_alt()
void CelestronDriver::set_sim_alt |
( |
double |
alt | ) |
|
|
inline |
◆ set_sim_az()
void CelestronDriver::set_sim_az |
( |
double |
az | ) |
|
|
inline |
◆ set_sim_dec()
void CelestronDriver::set_sim_dec |
( |
double |
dec | ) |
|
|
inline |
◆ set_sim_gps_status()
◆ set_sim_ra()
void CelestronDriver::set_sim_ra |
( |
double |
ra | ) |
|
|
inline |
◆ set_sim_response()
void CelestronDriver::set_sim_response |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
|
protected |
◆ set_sim_slew_rate()
◆ set_sim_slewing()
void CelestronDriver::set_sim_slewing |
( |
bool |
isSlewing | ) |
|
|
inline |
◆ set_sim_track_mode()
◆ set_simulation()
void CelestronDriver::set_simulation |
( |
bool |
enable | ) |
|
|
inline |
◆ set_track_mode()
◆ slew_azalt()
bool CelestronDriver::slew_azalt |
( |
double |
az, |
|
|
double |
alt, |
|
|
bool |
precise |
|
) |
| |
◆ slew_radec()
bool CelestronDriver::slew_radec |
( |
double |
ra, |
|
|
double |
dec, |
|
|
bool |
precise |
|
) |
| |
◆ start_motion()
◆ stop_motion()
◆ sync()
bool CelestronDriver::sync |
( |
double |
ra, |
|
|
double |
dec, |
|
|
bool |
precise |
|
) |
| |
◆ wakeup()
bool CelestronDriver::wakeup |
( |
| ) |
|
◆ fd
int CelestronDriver::fd = 0 |
|
protected |
◆ response
◆ sim_data
◆ simulation
The documentation for this class was generated from the following files: