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
SlewSchedule Class Reference

Provides the schedule for a slew to a particular point on the celestial sphere. More...

#include <state.h>

Inheritance diagram for SlewSchedule:
Schedule

Public Member Functions

 SlewSchedule (const Position &target)
 Construct an instance of this schedule.
 
ms_t step (double current_phi, double current_theta, ms_t t)
 Take a step on the slewing path. More...
 
bool schedule_ok () const
 Is this a feasible schedule? Return false if it would end up in the empty sector. More...
 
- 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 a slew to a particular point on the celestial sphere.

This is done by calculating a target phi and theta, and moving directly to those angles by independent motions in the two axes. This is in contrast to the initial implementation, which planned a great-circle route and followed that.

Member Function Documentation

bool SlewSchedule::schedule_ok ( ) const
inline

Is this a feasible schedule? Return false if it would end up in the empty sector.

ms_t SlewSchedule::step ( double  current_phi,
double  current_theta,
ms_t  current_time 
)
virtual

Take a step on the slewing path.

Phi is the longitudinal coordinate, theta is the altitude (so increasing towards the zenith). Note that, like the outputs from the Kalman filters, these arguments should not be normalised into [-pi,pi].

Implements Schedule.


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