19 #define SERVO_DATA_MAX_LEN 1600
20 #define MILLI_SECOND_SAMPLE_RATE 200
21 #define MAX_RESPONSE_SAMPLES 1000/MILLI_SECOND_SAMPLE_RATE*4+2
314 #endif // End #ifndef
unsigned char readData_[SERVO_DATA_MAX_LEN]
Definition: ServoCommand.h:274
float responseValue_[MAX_RESPONSE_SAMPLES]
Definition: ServoCommand.h:300
void packDisableElAmp()
Definition: ServoCommand.cc:338
void constructMap()
Definition: ServoCommand.cc:736
char responseReceived_[SERVO_DATA_MAX_LEN]
Definition: ServoCommand.h:170
void packEnableElAmp()
Definition: ServoCommand.cc:324
bool responseValid_
Definition: ServoCommand.h:285
std::string expectedResponse_
Definition: ServoCommand.h:165
std::map< Request, std::string > commandMap_
Definition: ServoCommand.h:145
void checkTwoOutputs()
Definition: ServoCommand.cc:645
void interpretStatusResponse(const char *response)
Definition: ServoCommand.cc:612
void packEnableAzAmp1()
Definition: ServoCommand.cc:352
unsigned short cmdSize_
Definition: ServoCommand.h:258
Definition: ServoCommand.h:30
size_t responseLength()
Definition: ServoCommand.cc:391
void packCommand(Request req)
Definition: ServoCommand.cc:38
~ServoCommand()
Definition: ServoCommand.cc:33
void interpretResponse()
Definition: ServoCommand.cc:399
void packDisableAzAmp1()
Definition: ServoCommand.cc:366
void packStartAmpComms()
Definition: ServoCommand.cc:309
void checkOneOutput()
Definition: ServoCommand.cc:530
unsigned char tmpBuffer_[SERVO_DATA_MAX_LEN]
Definition: ServoCommand.h:280
size_t size()
Definition: ServoCommand.cc:383
unsigned short responseLength_
Definition: ServoCommand.h:269
bool ppsPresent_
Definition: ServoCommand.h:295
void checkManyOutputs()
Definition: ServoCommand.cc:679
ServoCommand()
Definition: ServoCommand.cc:24
Request
Definition: ServoCommand.h:36
std::string messageToSend_
Definition: ServoCommand.h:160
bool expectsResponse_
Definition: ServoCommand.h:263
bool simpleValidityCheck()
Definition: ServoCommand.cc:511
Definition: ServoComms.h:42
bool responseValueValid_
Definition: ServoCommand.h:290
unsigned char request_
Definition: ServoCommand.h:155