FACT++  1.0
template<class T , class S >
int StateMachineDrive< T, S >::Park ( )
inlineprivate

Definition at line 2003 of file drivectrl.cc.

References Local::az, Drive::State::kMoving, Drive::State::kParking, and Local::zd.

2004  {
2005  ostringstream out;
2006  out << "Parking telescope at Zd=" << fParkingPos.zd << "deg Az=" << fParkingPos.az << "deg";
2007  T::Message(out);
2008 
2009  const int rc = InitMovement(ZdAz(fParkingPos.zd*M_PI/180, fParkingPos.az*M_PI/180), false, "Park");
2010  return rc==State::kMoving ? State::kParking : rc;
2011  }
double zd
Definition: drivectrl.cc:51
double az
Definition: drivectrl.cc:52
int InitMovement(const ZdAz &sky, bool tracking=false, const string &name="")
Definition: drivectrl.cc:1886
Definition: MPointing.h:64