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
* Meade Updates V1.11.5
- Corrected Longitude parsing to account for sign
- Corrected Longitude output to provide sign
- Corrected inverted UTC offset
- Corrected handshake response to 0x06 to be P for Polar mode
- EEPROM debug code caused crash due to using F() macro in args
- Added specific Longitude output function for Meade
- Fixed comment on Meade :SC command
Copy file name to clipboardExpand all lines: src/MeadeCommandProcessor.cpp
+21-17Lines changed: 21 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -157,12 +157,13 @@ bool gpsAqcuisitionComplete(int &indicator); // defined in c72_menuHA_GPS.hpp
157
157
// Description:
158
158
// Get Site Longitude
159
159
// Returns:
160
-
// "DDD*MM#"
160
+
// "sDDD*MM#"
161
161
// Parameters:
162
-
// "DDD" is the longitude in degrees
163
-
// "MM" the minutes
162
+
// "s" is the sign of the longitude
163
+
// "DDD" is the degrees
164
+
// "MM" is the minutes
164
165
// Remarks:
165
-
//Longitudes are from 0 to 360 going WEST. so 179W is 359 and 179E is 1.
166
+
//Note that this is the actual longitude, but east coordinates are negative (opposite of normal cartographic coordinates)
166
167
//
167
168
// :Gc#
168
169
// Description:
@@ -172,12 +173,14 @@ bool gpsAqcuisitionComplete(int &indicator); // defined in c72_menuHA_GPS.hpp
172
173
//
173
174
// :GG#
174
175
// Description:
175
-
// Get UTC offset time
176
+
// Get offset to UTC time
176
177
// Returns:
177
178
// "sHH#"
178
179
// Parameters:
179
180
// "s" is the sign
180
-
// "HH" are the number of hours that need to be added to local time to convert to UTC time
181
+
// "HH" is the number of hours
182
+
// Remarks
183
+
// 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.
181
184
//
182
185
// :Ga#
183
186
// Description:
@@ -330,7 +333,7 @@ bool gpsAqcuisitionComplete(int &indicator); // defined in c72_menuHA_GPS.hpp
330
333
// "DD" is the degree (90 or less)
331
334
// "MM" is minutes
332
335
//
333
-
// :SgDDD*MM#
336
+
// :SgsDDD*MM#
334
337
// Description:
335
338
// Set Site Longitude
336
339
// Information:
@@ -339,10 +342,12 @@ bool gpsAqcuisitionComplete(int &indicator); // defined in c72_menuHA_GPS.hpp
339
342
// "1" if successfully set
340
343
// "0" otherwise
341
344
// Parameters:
342
-
// "DDD" the nmber of degrees (0 to 360)
343
-
// "MM" is minutes
345
+
// "s" (optional) is the sign of the longitude (see Remarks)
346
+
// "DDD" is the number of degrees
347
+
// "MM" is the minutes
344
348
// Remarks:
345
-
// Longitudes are from 0 to 360 going WEST. so 179W is 359 and 179E is 1.
349
+
// When a sign is provided, longitudes are interpreted as given, with zero at Greenwich but negative coordinates going east (opposite of normal cartographic coordinates)
350
+
// When a sign is not provided, longitudes are from 0 to 360 going WEST with 180 at Greenwich. So 369 is 179W and 1 is 179E. 190 would be 10W and 170 would be 10E.
346
351
//
347
352
// :SGsHH#
348
353
// Description:
@@ -375,7 +380,7 @@ bool gpsAqcuisitionComplete(int &indicator); // defined in c72_menuHA_GPS.hpp
0 commit comments