Definition at line 271 of file drivectrl.cc.
References PointingModel::AltAz::alt, and PointingModel::AltAz::az.
Referenced by StateMachineDrive< T, S >::InitMovement().
273 const AltAz CRX(-
fCrx*sin(p.az-p.alt),
fCrx*cos(p.az-p.alt)/cos(p.alt));
274 const AltAz CRY(-
fCry*cos(p.az-p.alt), -
fCry*sin(p.az-p.alt)/cos(p.alt));
299 const AltAz AW2(
fAw2*sin(p.az*2), -
fAw2*cos(p.az*2)*tan(p.alt));
300 const AltAz AN2(-
fAn2*cos(p.az*2), -
fAn2*sin(p.az*2)*tan(p.alt));
301 const AltAz AW1(
fAw *sin(p.az), -
fAw *cos(p.az) *tan(p.alt));
302 const AltAz AN1(-
fAn *cos(p.az), -
fAn *sin(p.az) *tan(p.alt));
314 return Encoder(90 - p.alt*180/M_PI, p.az *180/M_PI);
double Sign(double val, double alt) const