|
RSeries astromech firmware
|
|
Go to the documentation of this file. 1 #ifndef DomeSensorAnalogPosition_h
2 #define DomeSensorAnalogPosition_h
89 return map(val, 0, 1024, 0, 359);
Mode
Definition: DomePosition.h:10
@ kOff
Definition: DomePosition.h:12
virtual Mode getDomeMode() override
Definition: DomeSensorAnalogPosition.h:21
uint8_t fDomeFudge
Definition: DomeSensorAnalogPosition.h:105
virtual unsigned getDomeSeekLeft() override
Definition: DomeSensorAnalogPosition.h:54
Definition: DomePosition.h:7
DomeSensorAnalogPosition(uint8_t analogPin)
Definition: DomeSensorAnalogPosition.h:11
bool fDomeFlip
Definition: DomeSensorAnalogPosition.h:98
uint8_t fDomeSeekRight
Definition: DomeSensorAnalogPosition.h:103
int getValue()
Definition: AnalogMonitor.h:101
uint8_t fDomeMinDelay
Definition: DomeSensorAnalogPosition.h:101
virtual unsigned getDomeFudge() override
Definition: DomeSensorAnalogPosition.h:49
virtual unsigned getDomeHome() override
Definition: DomeSensorAnalogPosition.h:74
Definition: DomeSensorAnalogPosition.h:8
uint8_t fDomeSeekLeft
Definition: DomeSensorAnalogPosition.h:104
virtual unsigned getDomeSeekRight() override
Definition: DomeSensorAnalogPosition.h:59
virtual float easingMethod(float completion)
Definition: DomeSensorAnalogPosition.h:38
AnalogMonitor fDomePosition
Definition: DomeSensorAnalogPosition.h:96
virtual unsigned getDomeTargetPosition() override
Definition: DomeSensorAnalogPosition.h:79
uint16_t fDomeHome
Definition: DomeSensorAnalogPosition.h:99
virtual unsigned getDomePosition() override
Definition: DomeSensorAnalogPosition.h:84
Mode fDomeMode
Definition: DomeSensorAnalogPosition.h:97
virtual bool getDomeFlip() override
Definition: DomeSensorAnalogPosition.h:33
virtual void setDomeMode(Mode mode) override
Definition: DomeSensorAnalogPosition.h:28
virtual float getDomeSpeedHome() override
Definition: DomeSensorAnalogPosition.h:44
uint16_t fDomeTargetPos
Definition: DomeSensorAnalogPosition.h:100
virtual unsigned getDomeMaxDelay() override
Definition: DomeSensorAnalogPosition.h:69
uint8_t fDomeMaxDelay
Definition: DomeSensorAnalogPosition.h:102
virtual unsigned getDomeMinDelay() override
Definition: DomeSensorAnalogPosition.h:64
bool ready()
Definition: DomeSensorAnalogPosition.h:16
uint8_t fDomeSpeedSeek
Definition: DomeSensorAnalogPosition.h:107
uint8_t fDomeSpeedHome
Definition: DomeSensorAnalogPosition.h:106
Used for eliminating noise in analogRead inputs without decreasing responsiveness....
Definition: AnalogMonitor.h:51
virtual void animate()
Subclasses must implement this function to run through a single frame of animation/activity.
Definition: AnalogMonitor.h:130