My Project
|
Public Member Functions | |
Model () | |
~Model () | |
void | reset () |
gcp::antenna::control::Collimation * | Collimation (gcp::util::PointingMode::Type mode, gcp::util::PointingTelescopes::Ptel ptel=gcp::util::PointingTelescopes::PTEL_NONE, gcp::util::Collimation::Type type=gcp::util::Collimation::FIXED) |
void | setCurrentCollimation (gcp::util::PointingMode::Type mode, gcp::util::PointingTelescopes::Ptel ptel) |
void | setCurrentCollimation () |
void | setCollimationType (gcp::util::Collimation::Type type) |
gcp::antenna::control::Collimation * | currentCollimation (gcp::util::Collimation::Type type) |
gcp::antenna::control::Flexure * | Flexure (gcp::util::PointingMode::Type mode, gcp::util::PointingTelescopes::Ptel ptel=gcp::util::PointingTelescopes::PTEL_NONE) |
void | setCurrentFlexure (gcp::util::PointingMode::Type mode, gcp::util::PointingTelescopes::Ptel ptel) |
gcp::antenna::control::Flexure * | currentFlexure () |
gcp::antenna::control::Encoder * | Encoder (gcp::util::Axis::Type axis) |
void | updateMountLimits () |
void | setFlexure (double flexure) |
bool | isCurrent (gcp::antenna::control::Collimation *collim, gcp::util::Collimation::Type type) |
bool | isCurrent (gcp::antenna::control::Flexure *flexure) |
void | applyFlexure (PointingCorrections *f) |
void | applyCollimation (PointingCorrections *f, TrackerOffset &offset) |
gcp::antenna::control::AxisTilt * | AxisTilt (gcp::util::Axis::Type axis) |
void | packEncoderZeros (signed *s_elements) |
void | packEncoderMultipliers (signed *s_elements) |
void | packTilts (signed *s_elements) |
void | packFlexure (signed *s_elements) |
void | packCollimationMode (unsigned *u_elements) |
void | packCollimationType (unsigned *u_elements) |
gcp::util::PointingTelescopes::Ptel | getCollimationPtel () |
void | packCollimation (signed *s_elements, gcp::util::Collimation::Type type) |
Friends | |
std::ostream & | operator<< (std::ostream &os, Model &model) |
Model::Model | ( | ) |
....................................................................... Constructor simply intializes each of the encoders
Model::~Model | ( | ) |
....................................................................... Destructor.
void Model::applyCollimation | ( | PointingCorrections * | f, |
TrackerOffset & | offset | ||
) |
....................................................................... Correct the collimation of the telescope.
Input/Output: f PointingCorrections * The az/el pointing to be corrected.
void Model::applyFlexure | ( | PointingCorrections * | f | ) |
....................................................................... Adjust the elevation to account for telescope flexure.
Input/Output: f PointingCorrections * The elevation pointing to be corrected.
gcp::antenna::control::AxisTilt * Model::AxisTilt | ( | gcp::util::Axis::Type | axis | ) |
....................................................................... Return a pointer to the requested collimation container
gcp::antenna::control::Collimation * Model::Collimation | ( | gcp::util::PointingMode::Type | mode, |
gcp::util::PointingTelescopes::Ptel | ptel = gcp::util::PointingTelescopes::PTEL_NONE , |
||
gcp::util::Collimation::Type | type = gcp::util::Collimation::FIXED |
||
) |
....................................................................... Return a pointer to the requested collimation container
gcp::antenna::control::Collimation * Model::currentCollimation | ( | gcp::util::Collimation::Type | type | ) |
....................................................................... Return a pointer to the current collimation model
gcp::antenna::control::Flexure * Model::currentFlexure | ( | ) |
....................................................................... Return a pointer to the current flexure model
gcp::antenna::control::Encoder * Model::Encoder | ( | gcp::util::Axis::Type | axis | ) |
....................................................................... Return a pointer to the requested encoder container
gcp::antenna::control::Flexure * Model::Flexure | ( | gcp::util::PointingMode::Type | mode, |
gcp::util::PointingTelescopes::Ptel | ptel = gcp::util::PointingTelescopes::PTEL_NONE |
||
) |
....................................................................... Return a pointer to the requested flexure container
bool Model::isCurrent | ( | gcp::antenna::control::Collimation * | collim, |
gcp::util::Collimation::Type | type | ||
) |
....................................................................... Return true if the passed collimation container is the current one.
bool Model::isCurrent | ( | gcp::antenna::control::Flexure * | flexure | ) |
....................................................................... Return true if the passed flexure container is the current one.
void Model::packCollimation | ( | signed * | s_elements, |
gcp::util::Collimation::Type | type | ||
) |
....................................................................... Pack the current collimation correction.
void Model::packCollimationMode | ( | unsigned * | u_elements | ) |
....................................................................... Pack which collimation mode is the current one.
void Model::packCollimationType | ( | unsigned * | u_elements | ) |
....................................................................... Pack which collimation mode is the current one.
void Model::packEncoderMultipliers | ( | signed * | s_elements | ) |
....................................................................... Pack the multipliers for encoders managed by this object.
void Model::packEncoderZeros | ( | signed * | s_elements | ) |
....................................................................... Pack the zero points for encoders managed by this object
void Model::packFlexure | ( | signed * | s_elements | ) |
....................................................................... Pack the flexure term managed by this object.
void Model::packTilts | ( | signed * | s_elements | ) |
....................................................................... Pack the tilts managed by this object.
void Model::reset | ( | ) |
....................................................................... Reset internal data members.
void Model::setCollimationType | ( | gcp::util::Collimation::Type | type | ) |
....................................................................... Set which pointing type (fixed or polar) is the current collimation mode).
void Model::setCurrentFlexure | ( | gcp::util::PointingMode::Type | mode, |
gcp::util::PointingTelescopes::Ptel | ptel | ||
) |
....................................................................... Set which pointing mode (optical or radio) is the current flexure mode).
void Model::updateMountLimits | ( | ) |
....................................................................... Compute and store the new mount limits as angles on the sky