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
Andrew Tridgell
01c124d5f5
AP_GPS: added velocity_vector() method
12 years ago
Andrew Tridgell
c7141c4851
AP_GPS: fixed examples build
12 years ago
Andrew Tridgell
7dbb898264
AP_GPS: switch fields to add units suffix
...
altitude -> altitude_cm
ground_speed -> ground_speed_cm
ground_course -> ground_course_cd
this helps prevent unit mixups
12 years ago
Tobias
c95072ea25
AP_GPS: added explicit cast to omit [-Wconversion] warning
12 years ago
Andrew Tridgell
edfebc1f29
AP_GPS: fixed indent-tabs-mode
12 years ago
Andrew Tridgell
06b6f4b04e
AP_GPS: use PACKED attribute instead of pragma pack
12 years ago
Andrew Tridgell
786e4cf705
AP_GPS: added last_message_time_ms() API
...
used to help GPS logging
12 years ago
Andrew Tridgell
f5d062d5ba
AP_GPS: move byte swapping code to cpp
12 years ago
Andrew Tridgell
c3abdaf308
AP_GPS: removed duplicate print_latlon()
12 years ago
Andrew Tridgell
8d727614b4
AP_GPS: make status() const
12 years ago
Andrew Tridgell
b3ec5187f2
AP_GPS: fixed uninitialied variable bugs found with valgrind
12 years ago
Andrew Tridgell
a5c3051929
AP_GPS: fixed initialisation error in uBlox driver
...
found with valgrind
12 years ago
Randy Mackay
93f7e61b66
UBLOX GPS: fix MSG_SOL typo
...
"status" was used instead of "solution"
12 years ago
Randy Mackay
27309a553f
GPS: fixes after review
...
Ensure 3D fix before returning velocity_down
UBLOX: restore check of fix_status as part of determining 2D or 3D fix
SIRF: add missing brackets on fix type check
12 years ago
Randy Mackay
d7454bb09e
GPS: add 2D fix type
12 years ago
Andrew Tridgell
3f6eb87f23
AP_GPS: fixed uBlox Debug() macro
12 years ago
Andrew Tridgell
551950c573
GPS_UBLOX: fixed auto-config of baudrate
...
this fixes the setting of the baudrate on a uBlox that is configured
for 9600. It fixes the NMEA message to have a \r\n, plus sends the
NAV_SOL rate config before the NMEA baudrate config message.
This fixes issue #159
12 years ago
Andrew Tridgell
f67480fa50
AP_GPS: ensure constructors zero all key variables
...
this prevents a crash on PX4 if a GPS is attached after startup
12 years ago
Andrew Tridgell
93ef403529
AP_GPS: removed unused AP_GPS_Shim.h
12 years ago
Andrew Tridgell
727f8ff029
AP_GPS: removed the old MTK16 driver
...
the MTK19 driver supports both the 1.6 and 1.9 protocol
12 years ago
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
12 years ago
Andrew Tridgell
252d11ccfa
AP_GPS: initialise _step to zero in all drivers
...
new() does not zero-fill memory
12 years ago
Andrew Tridgell
f3783b0306
AP_GPS: put SIRF init_messages in progmem
...
this saves 32 bytes of memory
12 years ago
Andrew Tridgell
f93a7d50eb
AP_GPS: fixed debug code
12 years ago
Andrew Tridgell
f7e5f88199
AP_GPS: make UBLOX driver a bit more robust
12 years ago