You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added Home and Park as additions to the Points of Interest menu.
- Renamed POI to GO menu.
- Merged GO (old POT) menu with HOME menu.
- If you disable support for the Points Of Interest you still get a GO menu with Home and Park.
- Added ability to disable CTRL menu.
- Added ability to disable INFO menu.
Copy file name to clipboardExpand all lines: Software/Arduino code/OpenAstroTracker/Mount.hpp
+13-6Lines changed: 13 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -93,12 +93,6 @@ class Mount {
93
93
// Same as Arduino delay() but keeps the tracker going.
94
94
voiddelay(int ms);
95
95
96
-
// What is the state of the mount
97
-
byte mountStatus();
98
-
#ifdef DEBUG_MODE
99
-
String mountStatusString();
100
-
#endif
101
-
102
96
// Gets the position in one of eight directions or tracking
103
97
longgetCurrentStepperPosition(int direction);
104
98
@@ -108,11 +102,15 @@ class Mount {
108
102
// Set RA and DEC to the home position
109
103
voidsetTargetToHome();
110
104
105
+
// Synchronously slews the mount to the home position and sets tracking to argument.
106
+
voidgoHome(bool tracking);
107
+
111
108
// Set the current stepper positions to be home.
112
109
voidsetHome();
113
110
114
111
// Asynchronously parks the mount. Moves to the home position and stops all motors.
115
112
voidpark();
113
+
116
114
117
115
// Return a string of DEC in the given format. For LCDSTRING, active determines where the cursor is
118
116
String DECString(byte type, byte active = 0);
@@ -133,6 +131,15 @@ class Mount {
133
131
// Returns NOT_SLEWING, SLEWING_DEC, SLEWING_RA, or SLEWING_BOTH. SLEWING_TRACKING is an overlaid bit.
134
132
byte slewStatus();
135
133
134
+
// What is the state of the mount.
135
+
// Returns some combination of these flags: STATUS_PARKED, STATUS_SLEWING, STATUS_SLEWING_TO_TARGET, STATUS_SLEWING_FREE, STATUS_TRACKING, STATUS_PARKING
0 commit comments