Definition at line 317 of file drivectrl.cc.
References PointingModel::AltAz::alt, Local::az, PointingModel::AltAz::az, and Local::zd.
Referenced by StateMachineDrive< T, S >::UpdatePointingPosition().
319 AltAz p(M_PI/2-mnt.
zd*M_PI/180, mnt.
az*M_PI/180);
327 const AltAz AW1(
fAw *sin(p.az), -
fAw *cos(p.az) *tan(p.alt));
328 const AltAz AN1(-
fAn *cos(p.az), -
fAn *sin(p.az) *tan(p.alt));
329 const AltAz AW2(
fAw2*sin(p.az*2), -
fAw2*cos(p.az*2)*tan(p.alt));
330 const AltAz AN2(-
fAn2*cos(p.az*2), -
fAn2*sin(p.az*2)*tan(p.alt));
357 const AltAz CRY(-
fCry*cos(p.az-p.alt), -
fCry*sin(p.az-p.alt)/cos(p.alt));
358 const AltAz CRX(-
fCrx*sin(p.az-p.alt),
fCrx*cos(p.az-p.alt)/cos(p.alt));
362 return ZdAz(M_PI/2-p.alt, p.az);
double Sign(double val, double alt) const