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

The Schedule class represents a planned rotation of the telescope. More...

#include <state.h>

Inheritance diagram for Schedule:
SlewSchedule TrackingSchedule

Public Member Functions

virtual ms_t step (double current_phi, double current_theta, ms_t t)=0
 Update the schedule with the current position of the system. More...
 
double phidot (void) const
 Obtain the suggested azimuthal angular speed. More...
 
double thetadot (void) const
 Obtain the suggested altitudinal angular speed. More...
 

Protected Attributes

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

The Schedule class represents a planned rotation of the telescope.

This can be either a slew from one position directly to another (which will typically happen by a great-circle route) or it will generate the rotations to track an object across the celestial sphere (typically along a small circle).

Member Function Documentation

double Schedule::phidot ( void  ) const
inline

Obtain the suggested azimuthal angular speed.

The speed is positive for clockwise rotations about the zenith.

Returns
angular speed; units of rad/s.
virtual ms_t Schedule::step ( double  current_phi,
double  current_theta,
ms_t  t 
)
pure 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

Implemented in TrackingSchedule, and SlewSchedule.

double Schedule::thetadot ( void  ) const
inline

Obtain the suggested altitudinal angular speed.

The speed is positive for rotations towards the zenith.

Returns
angular speed; units of rad/s.

Member Data Documentation

double Schedule::thetadot_
protected

Suggested rate of change of theta (altitude coordinate, rad/s).

Thus this is positive for rotations towards from the zenith.


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