Definition at line 2400 of file drivectrl.cc.
References Local::az, data, Time::GetAsStr(), PointingModel::MountToSky(), and Local::zd.
2406 array<double, 2>
data;
2407 data[0] = pos.
zd*180/M_PI;
2408 data[1] = pos.
az*180/M_PI;
2411 if (
fDrive.GetVerbosity())
2412 T::Out() <<
Time().
GetAsStr(
" %H:%M:%S.%f") <<
" - Position [deg] " << pos.
zd*180/M_PI <<
" " << pos.
az*180/M_PI << endl;
Adds some functionality to boost::posix_time::ptime for our needs.
ZdAz MountToSky(const Encoder &mnt) const
PointingModel fPointingModel
std::string GetAsStr(const char *fmt="%Y-%m-%d %H:%M:%S") const