![]() |
QP
0.7-SNAPSHOT
Control software for the ??SRT telescope
|
Provides the schedule for tracking a point across the celestial sphere, typically at a speed of one sidereal day per solar day. More...
#include <state.h>
Public Member Functions | |
TrackingSchedule (const Quaternion &axis, double hdot, Position observatory) | |
Initialise a schedule which tracks a point in a rotation about a given axis. More... | |
ms_t | step (double current_phi, double current_theta, ms_t t) |
Update the schedule with the current position of the system. More... | |
double | speed (void) |
Returns the rotation speed of the schedule, in rad/s. | |
float | limit_tracking (Quaternion &actual, const TelescopeController *) |
Establish the bounds of the permitted movement of the telescope. | |
![]() | |
double | phidot (void) const |
Obtain the suggested azimuthal angular speed. More... | |
double | thetadot (void) const |
Obtain the suggested altitudinal angular speed. More... | |
Additional Inherited Members | |
![]() | |
double | phidot_ |
Suggested rate of change of phi (azimuthal coordinate, rad/s) | |
double | thetadot_ |
Suggested rate of change of theta (altitude coordinate, rad/s). More... | |
Provides the schedule for tracking a point across the celestial sphere, typically at a speed of one sidereal day per solar day.
TrackingSchedule::TrackingSchedule | ( | const Quaternion & | axis, |
double | hdot, | ||
Position | observatory | ||
) |
Initialise a schedule which tracks a point in a rotation about a given axis.
The result is a rotation expressed in horizontal coordinates. If, however, the observatory
position is given as the null position (see Position::get_null()), then we take the axis to be in horizontal coordinates.
axis | the axis to be tracked about, in equatorial coordinates |
hdot | the angular speed to track at, in radians/sec clockwise about this axis |
observatory | the location of the observatory |
|
virtual |
Update the schedule with the current position of the system.
Step the schedule to the given time
current_phi | the current pointing of the system (azimuth, rad) |
current_theta | the current pointing of the system (altitude, rad) |
t | the current time |
Implements Schedule.