1 #ifndef SZA_ANTENNA_CORBA_DRIVEPROXY_H
2 #define SZA_ANTENNA_CORBA_DRIVEPROXY_H
13 #include "carma/antenna/sza/control/szaDriveControl.h"
15 #include "carma/szautil/Angle.h"
16 #include "carma/szautil/Axis.h"
17 #include "carma/szautil/Length.h"
19 #include "carma/szautil/PointingMode.h"
20 #include "carma/szautil/Rx.h"
35 class PointingModelProxy;
58 void setAntLocation(
double longitude,
double latitude,
62 double el, CORBA::ULong seq);
64 void setAzel(
double az,
double el, CORBA::ULong seq);
66 void setAz(
double az, CORBA::ULong seq);
68 void setEl(
double el, CORBA::ULong seq);
70 void setMountOffset(
double az,
double el, CORBA::ULong seq);
72 void setEqnEqx(
double mjd,
double eqneqx);
74 void setMaxRate(
float azRate,
float elRate);
76 void setAzMaxRate(
float azRate);
78 void setElMaxRate(
float elRate);
83 void setRefrac(
double a,
double b );
85 void setSlewRate(
unsigned long axes,
88 void setUt1Utc(
double mjd,
double ut1utc);
92 void slew(
const char* source,
unsigned long axisMask,
93 double az,
double el);
103 bool newSource=
false,
unsigned seq=0,
char* source=0,
106 void track(
const char* source,
107 const carma::antenna::common::DriveControl::RaDecTriplet& positionTriplet,
116 void updateWeather(
float ambientTemp,
117 float barometricPressure,
118 float relativeHumidity,
121 float windDirection);
123 void setAzMountOffset(
double az, CORBA::ULong seq);
125 void setElMountOffset(
double el, CORBA::ULong seq);
127 void setOffset(sza::util::OffsetMsg::Axis axes,
132 void setOffset(
double az,
double el, CORBA::ULong seq);
134 void setAzOffset(
double az, CORBA::ULong seq);
136 void setElOffset(
double el, CORBA::ULong seq);
138 void setAperturePointingConstants(carma::antenna::common::
144 void setTilts(
double azTilt1,
double azTilt2,
145 double elTilt1,
double elTilt2);
147 void setTiltmeterZero(
float aftForward,
150 void setTolerance(
float toleranceInArcsecs);
152 void setSafeRange(
float azLow,
161 void setEncoderCountsPerTurn(
unsigned long azCountsPerTurn,
unsigned long elCountsPerTurn);
163 void setEncoderLimits(
unsigned long azMinCount,
unsigned long azMaxCount,
164 unsigned long elMinCount,
unsigned long elMaxCount);
166 void setEncoderZeros(
double azEncZeroDeg,
double elEncZeroDeg);
168 void setTilts(
double haTiltDeg,
double latTiltDeg,
double elTiltDeg);
171 double xCollimationDeg,
double yCollimationDeg);
174 double sinCoeffDeg,
double cosCoeffDeg);
178 void setMountPointingConstants(CORBA::ULong azEncoderCountsPerTurn, CORBA::ULong elEncoderCountsPerTurn,
179 CORBA::ULong azMinEncoderCount, CORBA::ULong azMaxEncoderCount,
180 CORBA::ULong elMinEncoderCount, CORBA::ULong elMaxEncoderCount,
181 double azEncoderZeroDegrees,
double elEncoderZeroDegrees,
182 double haTiltDegrees,
double latTiltDegrees,
double elTiltDegrees,
183 double opticalXCollimationDegrees,
double opticalYCollimationDegrees,
184 double opticalFlexureSinDegrees,
double opticalFlexureCosDegrees,
185 double radioXCollimationDegrees,
double radioYCollimationDegrees,
186 double radioFlexureSinDegrees,
double radioFlexureCosDegrees);
194 void setSite(sza::util::Angle& lng, sza::util::Angle& lat, sza::util::Length& alt);
195 void setLocation(sza::util::Length& up, sza::util::Length& east, sza::util::Length& north);
197 void setEncoderCountsPerTurn(
unsigned az,
unsigned el);
198 void setEncoderLimits(
unsigned azMin,
unsigned azMax,
unsigned elMin,
unsigned elMax);
199 void setEncoderZeros(sza::util::Angle& azZero, sza::util::Angle& elZero);
201 void setTilts(sza::util::Angle& haTilt, sza::util::Angle& latTilt, sza::util::Angle& elTilt);
PointingModelProxy * pointingModel_
The object that will be served as the CORBA DO to handle pointing model commands. ...
Aperture
Enumerate apertures to use for selecting pointing models.
Type
Enumerate possible pointing modes.
DriveProxy(sza::antenna::control::AntennaMaster *parent)
Constructor with a pointer to the parent AntennaDrive.
A class which will be served as the CORBA PointingModel DO, whose methods will send messages to the A...
Type
An enumerator to identify a valid axis.
Aperture
Enumerate apertures to use for selecting pointing models.
AzWrapMode
The azimuth drive can operate over more than a full circle, and the wrap logic dictates how the ambig...
Tagged: Fri Jul 24 11:34:30 PDT 2009.
Don't add or subtract anything to the azimuth.
Tagged: Thu Mar 11 16:38:48 PST 2004.
Time-Tagged Ra/Dec value.
Position
Enumerate valid fixed positions for Stow.
Define a class to encapsulate the entire Antenna control system.
Create a DriveProxy class in namespace carma.