Andrew Tridgell
d9d038345a
AP_GPS: save 800 bytes of code space on APM2
...
we can assume a single GPS
11 years ago
Andrew Tridgell
9f857529ca
AP_GPS: auto-switch primary GPS based on status and number of satellites
11 years ago
Andrew Tridgell
e40a048009
AP_GPS: handle multiple GPS in GPS setHIL()
11 years ago
Andrew Tridgell
79f5618f6f
AP_GPS: zero state structure on driver release
...
this ensures no values are left from the previous driver
11 years ago
Andrew Tridgell
7e2ef0cfc0
AP_GPS: fixed GPS for Replay
11 years ago
Andrew Tridgell
77e2f48581
AP_GPS: fixed notify updates for new API
11 years ago
Andrew Tridgell
9781175bf5
AP_GPS: fixed handling of driver destruction
...
this allows for more complex destructors, and ensures we don't have
multiple backends allocated at once per instance
11 years ago
Andrew Tridgell
7ceba8dce4
AP_GPS: prevent double allocation of GPS drivers
11 years ago
Andrew Tridgell
0191355488
AP_GPS: fixed init strings to all be in progmem
...
and sent async ...
11 years ago
Andrew Tridgell
368daf89f1
AP_GPS: new GPS API
...
This is a complete rewrite of the GPS driver structure, with a static
main driver and separate backend drivers. This will allow proper
support for multiple GPSes, and will allow parameters to be set on the
GPS object
11 years ago