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
Copy file name to clipboardExpand all lines: src/MeadeCommandProcessor.cpp
+32-28Lines changed: 32 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -180,7 +180,7 @@ bool gpsAqcuisitionComplete(int &indicator); // defined in c72_menuHA_GPS.hpp
180
180
// Parameters:
181
181
// "s" is the sign
182
182
// "HH" is the number of hours
183
-
// Remarks
183
+
// Remarks:
184
184
// Note that this is NOT simply the timezone offset you are in (like -8 for Pacific Standard Time), it is the negative of it. So how many hours need to be added to your local time to get to UTC.
185
185
//
186
186
// :Ga#
@@ -271,25 +271,28 @@ bool gpsAqcuisitionComplete(int &indicator); // defined in c72_menuHA_GPS.hpp
271
271
// Description:
272
272
// Get Mount Status
273
273
// Information:
274
-
// String reflecting the mounts' status. The string is a comma-delimited list of statuses
274
+
// String reflecting the mounts' status. The string is a comma-delimited list of statuses.
275
275
// Returns:
276
-
// "Idle,--T--,11219,0,927,071906,+900000,#"
276
+
// "Idle,--T--,11219,0,927,071906,+900000,,#"
277
277
// Parameters:
278
278
// [0] The mount status. One of 'Idle', 'Parked', 'Parking', 'Guiding', 'SlewToTarget', 'FreeSlew', 'ManualSlew', 'Tracking', 'Homing'
279
-
// [1] The motion state.
279
+
// [1] The motion state (see Remarks below).
280
280
// [2] The RA stepper position
281
281
// [3] The DEC stepper position
282
282
// [4] The Tracking stepper position
283
-
// [5] The current RA position
284
-
// [6] The current DEC position
283
+
// [5] The current RA coordinate
284
+
// [6] The current DEC coordinate
285
+
// [7] The FOC stepper position (if FOC enabled, else empty)
285
286
// Remarks:
286
-
// The motion state
287
+
// The motion state consists of 6 characters. If the character is a '-', the corresponding axis is not moving.
287
288
// First character is RA slewing state ('R' is East, 'r' is West, '-' is stopped).
288
289
// Second character is DEC slewing state ('d' is North, 'D' is South, '-' is stopped).
289
290
// Third character is TRK slewing state ('T' is Tracking, '-' is stopped).
290
291
// Fourth character is AZ slewing state ('Z' and 'z' is adjusting, '-' is stopped).
291
292
// Fifth character is ALT slewing state ('A' and 'a' is adjusting, '-' is stopped).
292
-
// Az and Alt are optional. The string may only be 3 characters long
293
+
// Sixth character is FOC slewing state ('F' and 'f' is adjusting, '-' is stopped).
294
+
// AZ, ALT, and FOC are only set if the corresponding axis is enabled. If not, the character is always '-'.
295
+
// Since AZ/ALT rarely move, their positions are not returned here. To get the AZ and ALT stepper positions, use the ":XGAA#" command.
@@ -424,7 +427,7 @@ bool gpsAqcuisitionComplete(int &indicator); // defined in c72_menuHA_GPS.hpp
424
427
// Description:
425
428
// Synchronize Declination and Right Ascension.
426
429
// Information:
427
-
// This tells the scope what it is currently pointing at.
430
+
// This tells the scope what exact coordinates it is currently pointing at. These coordinates become the new current RA/DEC coordinates of the mount.
428
431
// Returns:
429
432
// "1" if successfully set
430
433
// "0" otherwise
@@ -464,7 +467,7 @@ bool gpsAqcuisitionComplete(int &indicator); // defined in c72_menuHA_GPS.hpp
464
467
// Description:
465
468
// Run a Guide pulse
466
469
// Information:
467
-
// This runs the motors at increased speed for a short period of time.
470
+
// This runs the RA or DEC steppers at an increased or decreased speed (in the case of RA) or a constant speed (in the case of DEC) for a short period of time. It is used for guiding.
468
471
// Parameters:
469
472
// "d" is one of 'N', 'E', 'W', or 'S'
470
473
// "nnnn" is the duration in ms
@@ -485,7 +488,8 @@ bool gpsAqcuisitionComplete(int &indicator); // defined in c72_menuHA_GPS.hpp
485
488
// Description:
486
489
// Start slewing
487
490
// Information:
488
-
// This starts slewing the mount in the given direction.
491
+
// This starts slewing the mount in the given direction. You must issue a stop command (such as the corresponding ":Qc#",
492
+
// where 'c' is the same direction as passed to this command) or ":Q#" (stops all steppers) to stop it.
489
493
// Parameters:
490
494
// "c" is one of 'n', 'e', 'w', or 's'
491
495
// Returns:
@@ -495,7 +499,7 @@ bool gpsAqcuisitionComplete(int &indicator); // defined in c72_menuHA_GPS.hpp
495
499
// Description:
496
500
// Move stepper
497
501
// Information:
498
-
// This starts moving one of the steppers by the given amount of steps and returns immediately.
502
+
// This starts moving one of the steppers by the given amount of steps and returns immediately. Steps can be positive or negative.
499
503
// Parameters:
500
504
// "x" is the stepper to move (r for RA, d for DEC, f for FOC, z for AZ, t for ALT)
501
505
// "nnnn" is the number of steps
@@ -521,7 +525,7 @@ bool gpsAqcuisitionComplete(int &indicator); // defined in c72_menuHA_GPS.hpp
521
525
// specified direction.
522
526
// Returns:
523
527
// "1" if search is started
524
-
// "0" if homing has not been enabled in the local config
528
+
// "0" if homing has not been enabled in the local configuration file
525
529
//
526
530
// :MHDxn#
527
531
// Description:
@@ -542,13 +546,13 @@ bool gpsAqcuisitionComplete(int &indicator); // defined in c72_menuHA_GPS.hpp
542
546
// specified direction.
543
547
// Returns:
544
548
// "1" if search is started
545
-
// "0" if homing has not been enabled in the local config
549
+
// "0" if homing has not been enabled in the local configuration file
546
550
//
547
551
// :MAAH#
548
552
// Description:
549
553
// Move Azimuth and Altitude to home
550
554
// Information:
551
-
// If the scope supports automated azimuth and altitutde operations, move AZ and ALT axis to their zero positions.
555
+
// If the scope supports automated azimuth and altitude operations, move AZ and ALT axis to their zero positions.
552
556
// Returns:
553
557
// "1"
554
558
//
@@ -644,7 +648,7 @@ bool gpsAqcuisitionComplete(int &indicator); // defined in c72_menuHA_GPS.hpp
0 commit comments