285 istringstream stream(line);
307 double zd_err, az_err;
311 uint16_t armed, stgmd;
316 stream >> hex >> pdo3;
328 const bool ready = (pdo3&0xef00ef)==0xef00ef;
330 fState = Drive::State::kNotReady;
333 Drive::State::kReady+armed :
334 Drive::State::kNotReady+status1;
368 const double dev =
GetDevAbs(zd1, zd1-zd_err, az_err)*3600;
444 const array<uint8_t, 3> state = {{ uint8_t(pdo3>>16), uint8_t(pdo3), uint8_t(pdo3>>24) }};
447 const array<double, 2> point = {{ zd2, az2 }};
450 const array<double, 8> track =
vector< double > fDevBuffer
Adds some functionality to boost::posix_time::ptime for our needs.
static double ReadAngle(istream &in)
static Time ReadTime(istream &in)
uint64_t fTrackingCounter
double GetDevAbs(double nomzd, double meszd, double devaz)
virtual void UpdateTracking(const Time &, const array< double, 8 > &)
virtual void UpdateStatus(const Time &, const array< uint8_t, 3 > &)
Error states should be between 0x100 and 0xffff.
Return to feeserver c CVS log Up to[MAIN] dcscvs FeeServer feeserver src Wed FeeServer_v0 v0 dev
virtual void UpdatePointing(const Time &, const array< double, 2 > &)
uint16_t fDeviationCounter