11 #include "carma/szautil/Axis.h"
72 PmacAxis* axis,
int current,
bool ignoreWrapLogic=
true);
145 double countsPerRadian_;
177 WrapMode::Mode wrapMode_;
185 #endif // End #ifndef
void packLimits(signed *s_elements)
Method for packing data to be archived in the register database.
void setZero(double zero)
Set the zero point of this encoder.
void setSlewRate(long rate)
Set the slew rate.
void convertMountToEncoder(double angle, double rate, PmacAxis *axis, int current, bool ignoreWrapLogic=true)
Convert from radians to encoder values on a given axis.
void packCountsPerTurn(signed *s_elements)
Pack this encoder multiplier for archival in the register database.
void reset()
Reset the parameters of this object.
void setWrapMode(WrapMode::Mode mode)
Method to set a requested wrap mode (ignored if this is not the AZ axis)
void setCountsPerRadian(double countsPerRadian)
Set the counts per radian for this encoder.
sza::util::Axis::Type getAxis()
Return the axis type of this encoder.
signed getSlewRate()
Get the slew rate.
double convertCountsToSky(int count)
Convert from encoder counts to radians on the sky.
Objects of the following type are used to aggregate the encoder calibration parameters of each axis...
Tagged: Fri Apr 6 10:52:00 PDT 2012.
Type
An enumerator to identify a valid axis.
std::string getWrapModeString()
Method to get the requested wrap mode as a string.
double getMountMax()
Get the mount maximum.
WrapMode::Mode getWrapMode()
Method to get the requested wrap mode.
void updateMountLimits()
Update the mount limits.
void setLimits(long min, long max)
Set the limits.
Encoder(sza::util::Axis::Type axis)
Constructor.
void setCountsPerTurn(int per_turn)
Set the counts per turn for this encoder.
void packZero(signed *s_elements)
Pack encoder zero points for archival in the register database.
double getMountMin()
Get the mount minimum.
Encapsulate the encoder counts and rates for a telescope axis.