14 #include "carma/szaarrayutils/szaregs.h"
16 #include "carma/szautil/Axis.h"
21 #include "carma/antenna/sza/antenna/control/Encoder.h"
99 unsigned char* getName();
109 void setRa(
double ra);
143 sza::util::RegDate getDate();
156 bool ignoreWrapLogic=
true);
168 void setAngles(
double az,
double el,
double pa);
173 void setRates(
double az,
double el,
double pa);
183 void packUtc(
unsigned* u_elements);
223 bool currentPositionIsSet_;
228 double wrapPi(
double angle);
233 double wrap2pi(
double angle);
293 #endif // End #ifndef
The following class is used to record the horizon coordinates of a source.
void packUtc(unsigned *u_elements)
Pack the UTC for archival into the register database.
The AxisPositions class is used by the Tracker class to record the positions of the telescope axes...
Tagged: Thu Nov 13 16:53:43 UTC 2003.
void setAngles(double az, double el, double pa)
Install the angles to which the axes will be driven.
PositionType
An enumerator for the Position members below.
void setRates(double az, double el, double pa)
Install the rates with which the axes will be driven.
void packHorizMount(signed *s_elements)
Pack mount horizon coordinates.
void setRa(double ra)
Set the RA of the source.
void setupForHalt(SzaShare *share)
Prepare for a halt of the antenna.
void packHorizGeoc(signed *s_elements)
Pack geocentric horizon coordinates.
void setupForTrack()
Prepare for a track command.
Tagged: Thu Nov 13 16:53:54 UTC 2003.
void setDec(double dec)
Set the Dec of the source.
void setRefraction(double refraction)
Install the refraction correction.
Objects of the following type are used to aggregate the encoder calibration parameters of each axis...
While computing pointing corrections, an object of the following type is used to communicate accumula...
Tagged: Tue Oct 12 09:13:47 PDT 2004.
void packSourceName(unsigned *u_elements, int nel)
Pack the source name for archival in the register database.
double getRefraction()
Return the refraction correction.
sza::util::Axis::Type getAxes()
Get the mask of axes to be driven.
Type
An enumerator to identify a valid axis.
void packHorizTopo(signed *s_elements)
Pack topocentric horizon coordinates.
double getUtc()
Return the current UTC.
Tagged: Thu Nov 13 16:53:33 UTC 2003.
Mode
Enumerate the pmac control modes.
void setupForSlew(SzaShare *share, TrackerMsg *msg)
Prepare for a slew.
void setTime(double utc)
Set the current time.
bool includesAxis(sza::util::Axis::Type axis)
Return true if the passed axis is included in the set of axes to control.
A class used by Tracker to handle pointing.
Tagged: Thu Nov 13 16:53:56 UTC 2003.
void reset()
Reset method.
void setupForReboot(SzaShare *share)
Prepare for a reboot (of the pmac).
Tagged: Thu Nov 13 16:53:45 UTC 2003.
void setName(char *name)
Set the current source name.
void convertMountToEncoder(Encoder *encoder, PmacAxis *axis, int current, bool ignoreWrapLogic=true)
Convert a mount angle to encoder counts.
void packEquatGeoc(signed *s_elements)
Pack geocentric equatorial coordinates.
Define a class that will handle pointing and tracking for this antenna.
Tagged: Thu Nov 13 16:53:49 UTC 2003.
void setAxes(sza::util::Axis::Type axes)
Install the set of axes to drive.
sza::antenna::control::Position * Position(PositionType type)
Return a pointer to the requested pointing angle container.
An instance of this class is created by AntennaMaster and passed to the constructors of other tasks...
void setDist(double dist)
Set the source distance.
void computeGeocentricPosition(double lst, PointingCorrections *f)
Compute the current geocentric position.
Encapsulate the encoder counts and rates for a telescope axis.