TwiceAsNice
2019-02-18
|
#include "NexStarAUXScope.h"
#include <inditelescope.h>
#include <algorithm>
#include <math.h>
#include <queue>
#include <string.h>
#include <unistd.h>
#include <arpa/inet.h>
Macros | |
#define | BUFFER_SIZE 10240 |
Functions | |
void | msleep (unsigned ms) |
void | prnBytes (unsigned char *b, int n) |
void | dumpMsg (buffer buf) |
int | sendBuffer (int sock, buffer buf, long tout_msec) |
Variables | |
int | MAX_CMD_LEN = 32 |
bool | DEBUG = false |
const long | STEPS_PER_REVOLUTION = 16777216 |
const double | STEPS_PER_DEGREE = STEPS_PER_REVOLUTION / 360.0 |
int | debug_timeout = 30 |
#define BUFFER_SIZE 10240 |
void dumpMsg | ( | buffer | buf | ) |
void msleep | ( | unsigned | ms | ) |
void prnBytes | ( | unsigned char * | b, |
int | n | ||
) |
int debug_timeout = 30 |
int MAX_CMD_LEN = 32 |
const double STEPS_PER_DEGREE = STEPS_PER_REVOLUTION / 360.0 |