Andrew Tridgell
73976e2ca4
AP_GPS: fixed example build
11 years ago
Jonathan Challinger
0bb7b8e938
AP_GPS: Fix bug that causes permanent lag if we miss a message
11 years ago
Andrew Tridgell
b0fd94f18e
AP_GPS: initialise a variable in uBlox driver
11 years ago
Andrew Tridgell
5a7afbf2cd
AP_GPS: prevent writing GPS log headings multiple times
11 years ago
Andrew Tridgell
3b8839d2f7
AP_GPS: fixed num_sensors on APM2
11 years ago
Andrew Tridgell
a821b0e198
AP_GPS: fixed a build warning
...
Debug() should not be exposed in public headers
11 years ago
Andrew Tridgell
43ebd86bb1
AP_GPS: disable SBP driver on APM2
...
the driver uses double precision floating point, which can't work on
8bit AVR with gcc
11 years ago
Andrew Tridgell
5a585b90e8
AP_GPS: fixed some warnings in SBP driver
11 years ago
Niels Joubert
33576dfdd9
AP_GPS: Swift Binary Protocol SINGLE-POINT-POSITIONING Driver
...
This is the SBP driver for Piksi, Lodestar and other forthcoming Swift Navigation GPSes.
This driver currently implements three things:
- Implements a lightweight SBP protocol detection system
- Implements Piksi as a single-point-positioning GPS (same as ublox/others)
- Implements hardware logging of GPS health and baseline messages
Forthcoming iin future updates:
- Need to implement the RTK functionality
11 years ago
Niels Joubert
552f33b39e
AP_GPS: Support fix types of DGPS and RTK
11 years ago
Andrew Tridgell
67ed5b73ef
AP_GPS: added lock_port() interface
...
used by SERIAL_CONTROL message
11 years ago
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
21c205a57e
AP_GPS: cope with different MON-HW message size in u-Blox Neo7
11 years ago
Craig Elder
3a92d75936
Ublox: Enable 1Hz Lock LED by default
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
8779ffe088
AP_GPS: flush pending config strings when uBlox starts
11 years ago
Andrew Tridgell
0191355488
AP_GPS: fixed init strings to all be in progmem
...
and sent async ...
11 years ago
Andrew Tridgell
c2486d8d6e
AP_GPS: updated examples for new API
...
removed old per-driver examples, and updates AUTO example
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
Andrew Tridgell
2dd92832dc
AP_GPS: support multiple AP_GPS_Auto drivers
...
move all static variables into a dynamically allocated structure in
the AUTO driver which gets freed when we have found a GPS type
11 years ago
Andrew Tridgell
3c4389180e
AP_GPS: removed GPS_406 driver
...
this driver was untested and badly structured. If we want to support
the 406 we can revive it and do it properly
11 years ago
Andrew Tridgell
c6f3e0a81c
AP_GPS: fixed example builds
11 years ago
Andrew Tridgell
5630bb1ef6
AP_GPS: added detailed hardware status logging for uBlox
...
this gives us noise, jamming and RF information from the uBlox
protocol. This will hopefully allow a more detailed investigation of
antenna choices and RF interference
11 years ago
Andrew Tridgell
7ff293ca38
AP_GPS: added DataFlash to GPS init to allow for detailed logging
...
this will allow GPS drivers to log much more detailed device specific
information
11 years ago
Andrew Tridgell
6b5d27efbb
AP_GPS: fixed example builds with change to init()
11 years ago
Andrew Tridgell
9cf1fd46c8
AP_GPS: removed nav_setting default
...
not needed, and apparently caused issue with xcode 5.1
11 years ago
Andrew Tridgell
794cc33e6a
GPS: added set_secondary() function
...
for preventing notify updates for 2nd GPS
11 years ago
Andrew Tridgell
d7b2a09919
AP_GPS: added fix type to setHIL
11 years ago
Andrew Tridgell
7a6f671659
AP_GPS: added have_vertical_velocity() function
...
for use by EKF
11 years ago
JakobSt
986417067e
AP_GPS: Improved accuracy of NMEA driver
...
The conversion of ret (32bit-integer) to float reduced accuracy to ~9cm or ~22cm. Now it's ~1cm.
11 years ago
Andrew Tridgell
e7a1331b81
AP_GPS: allow HIL GPS to show no lock
11 years ago
Andrew Tridgell
519a26691e
AP_GPS: make last_message_time_ms const
11 years ago
Andrew Tridgell
7a12f44a41
AP_GPS: GPS week is unsigned
11 years ago
Andrew Tridgell
137880be70
AP_GPS: fixed a build warning
11 years ago
Randy Mackay
91c17e9848
GPSGlitch: reduce radius to 2m
11 years ago
Randy Mackay
e489224c6b
GPSGlitch: update @Range for RADIUS and ACCEL params
11 years ago
Randy Mackay
bd6511dd0a
GPS: add GPS_UBLOX_passthrough sketch
...
This sketch allows the user to configure the Ublox GPS using U-Center
without the need for an FTDI cable.
11 years ago
Andrew Tridgell
72415ed358
AP_GPS: change HIL GPS to always be 5Hz
...
this prevents too short updates in DCM from affecting attitude
11 years ago
Randy Mackay
7c52572020
Ublox: disable NMEA info in 3DR config
11 years ago
Randy Mackay
4e5cb72604
Ublox: set default rate to 5hz in 3DR config
11 years ago
Randy Mackay
b349d95269
Ublox: disable TimePulse Timedata in 3DR config
11 years ago
Randy Mackay
25046b4e6d
Ublox: update config to ver 7.03
11 years ago
Randy Mackay
bcbf0feff0
GPS Glitch: revert accel max to 10m/s/s
...
This may not be the best real world value but it keeps the autotester
from failing because it recovers from the glitch before the 5second
time-out on the GPS failsafe
11 years ago
Randy Mackay
3bd124eb72
GPS Glitch: radius and accel max to 5m and 5m/s/s
11 years ago