|
My Project
|
#include <PmacAxis.h>
Public Member Functions | |
| PmacAxis () | |
| void | reset () |
| signed | getCount () |
| signed | getRate () |
| gcp::util::Angle | getAngle () |
| void | setCount (signed count) |
| void | setRate (signed rate) |
| void | setAngle (gcp::util::Angle &angle) |
| void | setRadians (double radians) |
Friends | |
| class | Tracker |
Encapsulate the encoder counts and rates for a telescope axis.
| PmacAxis::PmacAxis | ( | ) |
Constructor.
....................................................................... Constructor method
| gcp::util::Angle PmacAxis::getAngle | ( | ) |
Return the position as an angle
....................................................................... Return the position as an angle
| signed PmacAxis::getCount | ( | ) |
Return the encoder count of this axis.
....................................................................... Return the encoder count
| signed PmacAxis::getRate | ( | ) |
Return the count rate of this axis.
....................................................................... Return the encoder rate
| void PmacAxis::reset | ( | ) |
Reset internal members.
....................................................................... Reset method
| void PmacAxis::setAngle | ( | gcp::util::Angle & | angle | ) |
Set the position as an angle
....................................................................... Set the position as an angle
| void PmacAxis::setCount | ( | signed | count | ) |
Set the encoder count for this axis.
....................................................................... Set the count
| void PmacAxis::setRate | ( | signed | rate | ) |
Set the count rate for this axis.
....................................................................... Set the rate