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
Andrew Tridgell
ff73773de4
AP_GPS: try harder to get 5Hz updates from a uBlox
...
check for getting at least one 5Hz update every 15s
11 years ago
Andrew Tridgell
de96ad9445
AP_GPS: fixed date handling in NMEA driver
11 years ago
Andrew Tridgell
744819cec8
AP_GPS: added fake time to fake GPS lock
11 years ago
Andrew Tridgell
6f5ac1d553
AP_GPS: added support for GPS time in week/millisec
...
also adds time_epoch_usec() for MAVLink SYSTEM_TIME
11 years ago
Andrew Tridgell
25d3e5b7e9
AP_GPS: changed fake GPS fix to have a latitude/longitude
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
11 years ago
Randy Mackay
13cf7c96cd
GPSGlitch: parameters for accel and always-ok-radius
11 years ago
Andrew Tridgell
7a9ed0a5a1
AP_GPS: fixed warning
12 years ago
Andrew Tridgell
5489097476
AP_GPS: update the UBLOX rates async from the start
...
this saves a bit of startup time
12 years ago
Andrew Tridgell
cee8a017ab
AP_GPS: added UBLOX_FAKE_3DLOCK debugging option
...
useful when unable to get 3D lock
12 years ago
Andrew Tridgell
34f7f88190
AP_GPS: check for corret GPS solution rates in flight and fix
...
if the GPS is giving us data at less than 300ms intervals then re-send
the configuration messages to try to kick it into the right rates
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
12 years ago
Randy Mackay
cddbaf0459
GPS_Glitch: make accessor functions const
12 years ago
Randy Mackay
55c94b3b41
GPS_Glitch: bug fix for enable/disable parameter
12 years ago
Randy Mackay
a2c0415ba9
GPS_Glitch: make enable/disable a parameter
12 years ago
Randy Mackay
78124f2fca
GPS_Glitch: remove unused recovered flag
12 years ago
Randy Mackay
4dcfce7104
GPS_Glitch: glitch detection class
12 years ago
Andrew Tridgell
448167e958
AP_GPS: fixed examples build
12 years ago