QP  0.7-SNAPSHOT
Control software for the ??SRT telescope
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Public Member Functions | List of all members
TrackingSchedule Class Reference

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>

Inheritance diagram for TrackingSchedule:
Schedule

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.
 
- Public Member Functions inherited from Schedule
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

- Protected Attributes inherited from Schedule
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...
 

Detailed Description

Provides the schedule for tracking a point across the celestial sphere, typically at a speed of one sidereal day per solar day.

Constructor & Destructor Documentation

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.

Parameters
axisthe axis to be tracked about, in equatorial coordinates
hdotthe angular speed to track at, in radians/sec clockwise about this axis
observatorythe location of the observatory

Member Function Documentation

ms_t TrackingSchedule::step ( double  current_phi,
double  current_theta,
ms_t  t 
)
virtual

Update the schedule with the current position of the system.

Step the schedule to the given time

Parameters
current_phithe current pointing of the system (azimuth, rad)
current_thetathe current pointing of the system (altitude, rad)
tthe current time
Returns
a new suggested step time, or zero to indicate that we've arrived at a destination, or should otherwise stop

Implements Schedule.


The documentation for this class was generated from the following files: