CARMA C++
|
Implementation class for DriveControl idl. More...
#include <carma/antenna/bima/control/DriveControlImpl.h>
Public Member Functions | |
DriveControlImpl (std::string antenna, bool emulate) | |
Constructor. More... | |
void | selectAperture (carma::antenna::common::DriveControl::Aperture aperature) |
void | setAntLocation (double longitude, double latitude, double altitude) |
Set the antenna location (absolute) More... | |
void | setAperturePointingConstants (carma::antenna::common::DriveControl::Aperture aperture, float azOffset, float elOffset, float sag) |
void | setAz (double az, CORBA::ULong seq) |
Go to requested Az. More... | |
void | setAzel (double az, double el, CORBA::ULong seq) |
Go to requested Az/El. More... | |
void | setAzMaxRate (float azRate) |
Sets the maximum azimuth drive rate that can be requested. More... | |
void | setAzMountOffset (double az, CORBA::ULong seq) |
void | setAzOffset (double az, CORBA::ULong seq) |
Az astronomical offsets. More... | |
void | setEl (double el, CORBA::ULong seq) |
Go to requested El. More... | |
void | setElMaxRate (float elRate) |
Sets the maximum elevation drive rate that can be requested. More... | |
void | setElMountOffset (double el, CORBA::ULong seq) |
void | setElOffset (double el, CORBA::ULong seq) |
El astronomical offsets. More... | |
void | setEncoderCountsPerTurn (long az, long el) |
Set Encoder counts per 1 revolution. More... | |
void | setEncoderLimits (long azMin, long azMax, long elMin, long elMax) |
Set encoder limits. More... | |
void | setMaxRate (float azRate, float elRate) |
Set maximum drive rate that can be requested by the drive sytem software. More... | |
void | setMountOffset (double az, double el, CORBA::ULong seq) |
void | setOffset (double az, double el, CORBA::ULong seq) |
void | setPointingModelCoefs (const ::carma::antenna::bima::control::DriveControl::sequence_double &dazCoefs, const ::carma::antenna::bima::control::DriveControl::sequence_double &delCoefs) |
void | setSafeRange (float azLow, float azHigh, float elLow, float elHigh) |
void | setSlewRate (unsigned long axes, long azRate, long elRate) |
Set the slew rate. More... | |
void | setTiltmeterZero (float aftForward, float leftRight) |
void | setTolerance (float arcsec) |
void | stop () |
Stop the antenna. More... | |
void | stow (carma::antenna::common::DriveControl::Position position, CORBA::ULong seq) |
Stow antenna. More... | |
void | track (const char *source, const ::carma::antenna::common::DriveControl::RaDecTriplet &positionTriplet, carma::antenna::common::DriveControl::AzWrapMode azWrapMode, CORBA::Boolean overTheTop, CORBA::ULong seq) |
Set RA/Dec with a source name for tracking. More... | |
void | trackSnow () |
Track sun to melt snow on antenna. More... | |
void | trackWind () |
Minimize antenna profile to heavy wind. More... | |
void | updateRaDec (const ::carma::antenna::common::DriveControl::RaDecEpoch &position, carma::antenna::common::DriveControl::AzWrapMode azWrapMode) |
Update ra and dec epoch for a source we are already tracking. More... | |
void | updateWeather (float ambientTemp, float barometricPressure, float relativeHumidity, float dewpoint, float windSpeed, float windDirection) |
~DriveControlImpl () | |
Destructor. More... | |
Implementation class for DriveControl idl.
Definition at line 39 of file DriveControlImpl.h.
carma::antenna::bima::DriveControlImpl::DriveControlImpl | ( | std::string | antenna, |
bool | emulate | ||
) |
Constructor.
carma::antenna::bima::DriveControlImpl::~DriveControlImpl | ( | ) |
Destructor.
void carma::antenna::bima::DriveControlImpl::setAntLocation | ( | double | longitude, |
double | latitude, | ||
double | altitude | ||
) |
Set the antenna location (absolute)
void carma::antenna::bima::DriveControlImpl::setAz | ( | double | az, |
CORBA::ULong | seq | ||
) |
Go to requested Az.
void carma::antenna::bima::DriveControlImpl::setAzel | ( | double | az, |
double | el, | ||
CORBA::ULong | seq | ||
) |
Go to requested Az/El.
void carma::antenna::bima::DriveControlImpl::setAzMaxRate | ( | float | azRate | ) |
Sets the maximum azimuth drive rate that can be requested.
azRate | max rate in azimuth (degrees/sec). This is an "on the sky" rate, not on the encoder |
void carma::antenna::bima::DriveControlImpl::setAzOffset | ( | double | az, |
CORBA::ULong | seq | ||
) |
Az astronomical offsets.
az | azimuth offset on the sky (not encoder) (arcmin) |
void carma::antenna::bima::DriveControlImpl::setEl | ( | double | el, |
CORBA::ULong | seq | ||
) |
Go to requested El.
void carma::antenna::bima::DriveControlImpl::setElMaxRate | ( | float | elRate | ) |
Sets the maximum elevation drive rate that can be requested.
elRate | max rate in elevation (degrees/sec) |
void carma::antenna::bima::DriveControlImpl::setElOffset | ( | double | el, |
CORBA::ULong | seq | ||
) |
El astronomical offsets.
el | elevation offset (arcmin) |
void carma::antenna::bima::DriveControlImpl::setEncoderCountsPerTurn | ( | long | az, |
long | el | ||
) |
Set Encoder counts per 1 revolution.
void carma::antenna::bima::DriveControlImpl::setEncoderLimits | ( | long | azMin, |
long | azMax, | ||
long | elMin, | ||
long | elMax | ||
) |
Set encoder limits.
void carma::antenna::bima::DriveControlImpl::setMaxRate | ( | float | azRate, |
float | elRate | ||
) |
Set maximum drive rate that can be requested by the drive sytem software.
void carma::antenna::bima::DriveControlImpl::setSlewRate | ( | unsigned long | axes, |
long | azRate, | ||
long | elRate | ||
) |
Set the slew rate.
void carma::antenna::bima::DriveControlImpl::stop | ( | ) |
Stop the antenna.
void carma::antenna::bima::DriveControlImpl::stow | ( | carma::antenna::common::DriveControl::Position | position, |
CORBA::ULong | seq | ||
) |
Stow antenna.
Position is an enumerated type
void carma::antenna::bima::DriveControlImpl::track | ( | const char * | source, |
const ::carma::antenna::common::DriveControl::RaDecTriplet & | positionTriplet, | ||
carma::antenna::common::DriveControl::AzWrapMode | azWrapMode, | ||
CORBA::Boolean | overTheTop, | ||
CORBA::ULong | seq | ||
) |
Set RA/Dec with a source name for tracking.
void carma::antenna::bima::DriveControlImpl::trackSnow | ( | ) |
Track sun to melt snow on antenna.
void carma::antenna::bima::DriveControlImpl::trackWind | ( | ) |
Minimize antenna profile to heavy wind.
void carma::antenna::bima::DriveControlImpl::updateRaDec | ( | const ::carma::antenna::common::DriveControl::RaDecEpoch & | position, |
carma::antenna::common::DriveControl::AzWrapMode | azWrapMode | ||
) |
Update ra and dec epoch for a source we are already tracking.