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
Andrew Tridgell
284492cfec
AP_GPS: fixed an initialisation problem with GPS drivers
...
before the first full packet arrives we could report uninitialised
values for groundspeed and heading
12 years ago
Andrew Tridgell
5484b97419
AP_GPS: reset _fix_count to 0 on nav settings update
...
this makes it run every 20s exactly
12 years ago
Andrew Tridgell
879d44f930
AP_GPS: use the mask bits to only set dynamic model
...
this ensures we don't try to change any other CFG_NAV5 settings
12 years ago
Andrew Tridgell
97b7130bb9
libraries: update license header to GPLv3
...
we switched to GPLv3 a long time ago, but neglected to update the
per-file license headers
12 years ago
Andrew Tridgell
e6bd3b65b9
AP_GPS: fixed examples build
12 years ago
Andrew Tridgell
7b1e2b0e78
AP_GPS: don't need notify.h here
12 years ago
Randy Mackay
82b7b2cb3e
GPS: integrate AP_Notify
12 years ago
Randy Mackay
496962f037
GPS: update notify
12 years ago
Andrew Tridgell
b43bf44552
AP_GPS: improved the precision of the NMEA driver
...
this brings the NMEA driver to the same lat/lon precision as the uBlox
driver (approx 1cm)
12 years ago