@@ -5,7 +5,7 @@ which communicate with the host via a UART. GPS [NMEA-0183] sentence parsing is
5
5
based on this excellent library [ micropyGPS] .
6
6
7
7
The code requires uasyncio V3. Some modules can run under CPython: doing so
8
- will require Python V3.8 or later.
8
+ requires Python V3.8 or later.
9
9
10
10
The main modules have been tested on Pyboards and RP2 (Pico and Pico W). Since
11
11
the interface is a standard UART it is expected that the modules will work on
@@ -22,7 +22,7 @@ may be reduced on some platforms.
22
22
1.2 [ Comparison with micropyGPS] ( ./GPS.md#12-comparison-with-micropygps )
23
23
1.3 [ Overview] ( ./GPS.md#13-overview )
24
24
2 . [ Installation] ( ./GPS.md#2-installation )
25
- 2.1 [ Wiring] ) (./GPS.md#21-wiring)
25
+ 2.1 [ Wiring] ( ./GPS.md#21-wiring )
26
26
2.2 [ Library installation] ( GPS.md#22-library-installation )
27
27
2.3 [ Dependency] ( ./GPS.md#23-dependency )
28
28
3 . [ Basic Usage] ( ./GPS.md-basic-usage )
@@ -37,7 +37,7 @@ may be reduced on some platforms.
37
37
4.3 [ Public coroutines] ( ./GPS.md#43-public-coroutines )
38
38
  ;  ;  ;  ;  ; 4.3.1 [ Data validity] ( ./GPS.md#431-data-validity )
39
39
  ;  ;  ;  ;  ; 4.3.2 [ Satellite data] ( ./GPS.md#432-satellite-data )
40
- 4.4 [ Public bound variables and properties] (./GPS.md#44-public-bound-variables and properties)
40
+ 4.4 [ Public bound variables and properties] ( ./GPS.md#44-public-bound-variables- and- properties )
41
41
  ;  ;  ;  ;  ; 4.4.1 [ Position and course] ( ./GPS.md#441-position-and-course )
42
42
  ;  ;  ;  ;  ; 4.4.2 [ Statistics and status] ( ./GPS.md#442-statistics-and-status )
43
43
  ;  ;  ;  ;  ; 4.4.3 [ Date and time] ( ./GPS.md#443-date-and-time )
@@ -112,8 +112,6 @@ changes.
112
112
* Hooks are provided for user-designed subclassing, for example to parse
113
113
additional message types.
114
114
115
- ###### [ Main V3 README] ( ../README.md )
116
-
117
115
## 1.3 Overview
118
116
119
117
The ` AS_GPS ` object runs a coroutine which receives [ NMEA-0183] sentences from
@@ -160,7 +158,7 @@ time.sleep(1)
160
158
The library is implemented as a Python package. To install copy the following
161
159
directories and their contents to the target hardware:
162
160
1 . ` as_drivers/as_GPS `
163
- 2 . ` primitives `
161
+ 2 . ` threadsafe ` Required for timing applications only.
164
162
165
163
On platforms with an underlying OS such as the Raspberry Pi ensure that the
166
164
directories are on the Python path and that the Python version is 3.8 or later.
@@ -368,6 +366,8 @@ These are grouped below by the type of data returned.
368
366
` as_GPS.LONG ` returns a string of form 'January 1st, 2014'.
369
367
Note that this requires the file ` as_GPS_utils.py ` .
370
368
369
+ ##### [ Contents] ( ./GPS.md#1-contents )
370
+
371
371
## 4.3 Public coroutines
372
372
373
373
### 4.3.1 Data validity
@@ -555,6 +555,7 @@ async def test():
555
555
556
556
asyncio.run(test())
557
557
```
558
+ ##### [ Contents] ( ./GPS.md#1-contents )
558
559
559
560
## 5.3 GPS class Constructor
560
561
@@ -823,6 +824,8 @@ Optional positional args:
823
824
receives the ` GPS_RWTimer ` instance as the first arg, followed by any args in
824
825
the tuple.
825
826
827
+ ##### [ Contents] ( ./GPS.md#1-contents )
828
+
826
829
## 6.4 Public methods
827
830
828
831
The methods that return an accurate GPS time of day run as fast as possible. To
@@ -903,6 +906,8 @@ runs.
903
906
some limits to the absolute accuracy of the ` get_t_split ` method as discussed
904
907
above.
905
908
909
+ ##### [ Contents] ( ./GPS.md#1-contents )
910
+
906
911
# 7. Supported Sentences
907
912
908
913
* GPRMC GP indicates NMEA sentence (US GPS system).
@@ -1067,6 +1072,8 @@ On RAM-constrained devices `as_GPS_utils.py` may be omitted in which case the
1067
1072
* ` ast_pbrw.py ` Test/demo script.
1068
1073
1069
1074
## 10.3 Files for timing applications
1075
+
1076
+ Note that these require the ` threadsafe ` directory to be copied to the target.
1070
1077
1071
1078
* ` as_tGPS.py ` The library. Provides ` GPS_Timer ` and ` GPS_RWTimer ` classes.
1072
1079
* ` as_GPS_time.py ` Test scripts for read only driver.
0 commit comments