My Project
|
#include <TrackerBoard.h>
Public Member Functions | |
TrackerBoard (SpecificShare *share, char *name) | |
bool | isNewFrame () |
void | archivePosition (AxisPositions *current, Position *commanded) |
void | archivePointing (unsigned *archived_ptr, Atmosphere *atmosphere, Model *model, PmacTarget *pmac, Pointing *pointing, Site *site, TrackerOffset *offset, Scan *scan) |
void | archivePointing (unsigned *archived_ptr, Atmosphere *atmosphere, Model *model, PmacTarget *pmac, Pointing *pointing, Site *site, TrackerOffset *offset, Scan *scan, bool servoBusy) |
void | archiveStatus (unsigned state, unsigned offSoruce, unsigned lacking) |
unsigned char | trackerStateToBit (int state) |
![]() | |
Board (SpecificShare *share, std::string name) | |
Board (SpecificShare *share, gcp::util::AntNum ant) | |
Board (SpecificShare *share) | |
Board () | |
virtual | ~Board () |
RegMapBlock * | findReg (char *name) |
bool | isReachable () |
virtual void | reset () |
int | getIndex () |
virtual void | readRegNoLock (RegMapBlock *blk, unsigned int first, unsigned int nreg, unsigned int *value) |
virtual void | readReg (RegMapBlock *blk, unsigned int first, unsigned int nreg, unsigned int *value) |
virtual void | readReg (RegMapBlock *blk, unsigned int first, unsigned int nreg, float *value) |
virtual void | writeRegNoLock (RegMapBlock *blk, unsigned first, unsigned nreg, signed char *value) |
virtual void | writeRegNoLock (RegMapBlock *blk, unsigned first, unsigned nreg, unsigned char *value) |
virtual void | writeRegNoLock (RegMapBlock *blk, unsigned first, unsigned nreg, signed short *value) |
virtual void | writeRegNoLock (RegMapBlock *blk, unsigned first, unsigned nreg, unsigned short *value) |
virtual void | writeRegNoLock (RegMapBlock *blk, unsigned first, unsigned nreg, int *value) |
virtual void | writeRegNoLock (RegMapBlock *blk, unsigned first, unsigned nreg, unsigned int *value) |
virtual void | writeRegNoLock (RegMapBlock *blk, unsigned first, unsigned nreg, float *value) |
virtual void | writeRegNoLock (RegMapBlock *blk, unsigned first, unsigned nreg, double *value) |
virtual void | writeReg (RegMapBlock *blk, unsigned first, unsigned nreg, signed char *value) |
virtual void | writeReg (RegMapBlock *blk, unsigned first, unsigned nreg, unsigned char *value) |
virtual void | writeReg (RegMapBlock *blk, unsigned first, unsigned nreg, signed short *value) |
virtual void | writeReg (RegMapBlock *blk, unsigned first, unsigned nreg, unsigned short *value) |
virtual void | writeReg (RegMapBlock *blk, unsigned first, unsigned nreg, int *value) |
virtual void | writeReg (RegMapBlock *blk, unsigned first, unsigned nreg, unsigned int *value) |
virtual void | writeReg (RegMapBlock *blk, unsigned first, unsigned nreg, float *value) |
virtual void | writeReg (RegMapBlock *blk, unsigned first, unsigned nreg, double *value) |
Additional Inherited Members | |
![]() | |
SpecificShare * | share_ |
RegMapBoard * | board_ |
bool | hasBoard_ |
The registers of the virtual tracker board. This contains details of the tracking computations performed by the Drive Task.
TrackerBoard::TrackerBoard | ( | SpecificShare * | share, |
char * | name | ||
) |
Constructor for the Tracker board class.
(via | Board::findReg or Board::Board) Exception |
....................................................................... Constructor for the Tracker board class.
void TrackerBoard::archivePosition | ( | AxisPositions * | current, |
Position * | commanded | ||
) |
Archive the currently requested position.
Exception | ....................................................................... Archive the current and expected positions of the telescope axes. |
Input:
current AxisPositions * The current position of the telescope. commanded Position * The requested position of the telescope.
void TrackerBoard::archiveStatus | ( | unsigned | state, |
unsigned | offSource, | ||
unsigned | lacking | ||
) |
Archive some status information.
....................................................................... Record the current tracking status in the archive database
|
inline |
Return true if the current index is the first in a new frame
unsigned char TrackerBoard::trackerStateToBit | ( | int | state | ) |
Convert from integer state to a bit mask
....................................................................... Convert from integer state to a bit mask