Donny Warbritton
5faa1a241c
Add utility function for easier GPGSV sentence parsing
2019-06-26 09:22:22 -06:00
Calvin McCoy
70bd71b32f
Improvements to GGA Sentence Parsing
...
- Allow for empty HDOP values
- Allow for empty/malformed altitude/geoid height
- Handle IndexErrors on based on feedback
Also include some new tests and cleanups.
2018-12-09 14:37:27 -08:00
Calvin McCoy
f67aeb93bb
Allow RMC Sentences with no course data
2018-12-04 19:47:09 -08:00
Greg Cope
5256c24318
Added GNGLL and GNGSA to supported sentences
2018-11-05 09:56:02 +00:00
mmedvedmtd
f74baf21ee
Don't clear date in RMC strings w/o a fix
...
So that RTC enabled GPS units can send the date and time both back.
2018-10-31 07:09:16 -04:00
Calvin McCoy
80f89f2155
Switch to pytest style tests
2018-10-30 22:14:01 -07:00
Calvin McCoy
45c2b54087
Optimizations to Internal Data Attributes
2018-10-30 22:14:01 -07:00
hagre
dbac9a2696
raise SENTENCE_LIMIT to 90
...
to be save for emlid reach M+ module
2018-10-16 06:23:15 +02:00
Calvin McCoy
e3f849b12c
Fix Date Suffix Printing for 23rd
2018-05-28 10:51:21 -07:00
Calvin McCoy
c30df5828d
Fix GSV Parsing of Full Final Sentences
2018-05-19 17:56:47 -07:00
Calvin McCoy
4c226e96bf
Ensure UTC Hours are always within range when using local offset
2018-05-19 17:01:40 -07:00
adminpete
7d3efbe170
Replace dependency on pyb with more portable machine.
2018-04-23 11:57:55 +01:00
cintom00
564031ffd3
Changed exception handling and removed whitespaces
...
The whitespaces which were removed and messed up the git history were
added again.
Instead of catching all exceptions, we just now just catch the
IndexError.
2018-02-04 10:33:54 +01:00
cintom00
3f593e6649
Added supported sentences for Beitian GPS-module
...
The Beitian BN-880 appears to use slightly different NEMA sentences. By
adding these sentences and calling the methods which already exist
everything seems to work as expected. This was tested on an ESP32.
The extra exception catching was needed to prevent the program from
crashing in case a "list index out of range" exception was thrown.
2018-01-31 17:19:26 +01:00
Chris Kuethe
01268cddc4
fix #7
2017-09-23 12:21:29 -07:00
Calvin McCoy
c7f17451b6
Trim down main module and move tests to external script
2017-08-20 10:41:30 -07:00
Calvin McCoy
df76a40a54
Small Improvements
2017-06-11 22:24:08 -07:00
Calvin McCoy
be16d495ba
Update Header
2017-06-11 22:23:34 -07:00
Calvin McCoy
af8a645a07
Add Additional Format Options to Longitude/Latitude
...
Add Degree Minute Seconds and Decimal Degrees display/output formats
Lat/Lon Data will continue to be stored internally in Degree Decimal Minute
2017-06-11 22:21:12 -07:00
inmcm
e1fc0eecfa
Add experimental sentence logging functionality
...
Fixed some typos in readme
2015-06-09 20:01:08 -04:00
inmcm
940bfba6fc
Add GLL sentence parsing and minor other cleanups
2015-02-26 19:54:15 -05:00
inmcm
2ace32f5b5
Minor math cleanup
2015-02-26 19:16:24 -05:00
inmcm
e82a5d5c8f
Fix pretty kph string printer from using mph value
2015-01-28 19:39:20 -05:00
inmcm
8bd4818871
Add date string printer function with a few different format options
...
Fixed RMC parser to store date tuple with ints
2015-01-26 18:33:35 -05:00
inmcm
e015b7980e
Add latitude, longitude, and speed pretty printing functions
2015-01-22 21:01:34 -05:00
inmcm
b26346bca8
Add helper function to return compass direction string based on current course
...
Added test for no fix when calculating time since last fix;, will now return -1 if no fix has been achieved
2015-01-13 20:45:43 -05:00
inmcm
bb747bafe3
--Improved handling of pyb/time imports
...
--Fixed RMC parsing so it will properly update even when fix is invalid and will trigger new fix time update
2015-01-12 20:04:04 -05:00
inmcm
25f76224da
Add initial functionality for checking the age of the fix data
2014-12-17 22:53:57 -05:00
inmcm
145c0856d8
Improve handling of GSV sentences with truncated satellite listings and missing elevation and azimuth data
2014-12-15 17:50:19 -05:00
inmcm
ab615bd7ae
Adds basic object statistic tracking
...
Update TODOs
Refactor HEMISPHERES constant
2014-12-13 13:28:39 -05:00
inmcm
63fead0b40
Remove non-ASCII characters and some PEP8 formatting
2014-12-13 12:57:45 -05:00
Calvin
3ef80dac72
Reworked update() logic and added sentence length limit checking
2014-12-12 19:50:41 -05:00
Calvin
a21c1d69d8
Ensure GGA sentence parses cleanly before updating any object data
...
Add active sentence checks to update()
2014-12-12 19:08:03 -05:00
Calvin
4c8bc4218b
Fix type consistency on update()
...
Cosmestic changes
2014-12-12 17:40:36 -05:00
Calvin
0258e5c9a8
Add GSV sentence parser and helper functions
...
Moved example sentences to main
2014-12-10 20:53:34 -05:00
Calvin
0d16f0f26f
Added basic header with license
...
Renamed main class to micropyGPS
Remove unused struct import
Added to class doc string
2014-12-10 18:13:50 -05:00
Calvin
cb464a8b08
Added GGSA sentence parsing and renamed satellite number variables
2014-12-10 17:56:33 -05:00
Calvin
a5ea08c5a3
Intial commit: basic stream parsing with support for RMC, VTG, and GGA sentences.
2014-12-09 18:47:15 -05:00