FACT++  1.0
template<class T , class S >
double StateMachineDrive< T, S >::ReadAngle ( istream &  in)
inlineprivate

Definition at line 1774 of file drivectrl.cc.

1775  {
1776  char sgn;
1777  uint16_t d, m;
1778  float s;
1779 
1780  in >> sgn >> d >> m >> s;
1781 
1782  const double ret = ((60.0 * (60.0 * (double)d + (double)m) + s))/3600.;
1783  return sgn=='-' ? -ret : ret;
1784  }