Randy Mackay
0066022a7f
AP_GPS: check for valid instance in highest_supported_status
...
highest_supported_status will always return FIX_3D for blended or invalid instance
setHIL_Accuracy checks instance is 2 or less
send_mavlink_gps2_raw uses num_instances variable directly to avoid confusion with num_sensors
8 years ago
Randy Mackay
e764f0d5d0
AP_GPS: sanity check update rate
...
Also minor spelling and parameter documentation fix
8 years ago
priseborough
6b26bdd454
AP_GPS: Add option to blend multiple GPS receivers
...
Fix pre-existing bug in hard switch logic
Update GPS_AUTO_SWITCH description
protect against zero accuracy estimates returned by GPS drivers
8 years ago
Randy Mackay
cd379b0e86
AP_GPS: move time_epoch calcs into proper file
...
The frontend implementation was in the backend file
No functional change
8 years ago
Randy Mackay
a79474dcbc
AP_GPS: minor comment fix
...
No functional change
8 years ago
Randy Mackay
201504dbae
AP_GPS: remove unused get_antenna_offsets()
...
callers always specify an instance
8 years ago
Randy Mackay
2d0258b6a2
AP_GPS: remove unused highest_supported_status(void)
8 years ago
Randy Mackay
ac86c7999b
AP_GPS_MAV: set have_accuracy as boolean
8 years ago
Michael Oborne
e4ff445ea7
AP_GPS_GSOF-NOVA: fix last_gps_time_ms
8 years ago
Michael du Breuil
398ff823c0
AP_GPS: Always consider ublox as configured in sitl
8 years ago
Michael du Breuil
44bcd74a57
AP_GPS: Remove dead SBF code
...
CID 125035
8 years ago
Michael du Breuil
7b483a1460
AP_GPS: Ublox, always quickly set the rates until we have fetched the version
8 years ago
Andrew Tridgell
3ce7e4b322
AP_GPS: fixed fake uBlox with PVT message support
8 years ago
Lucas De Marchi
9f09442548
AP_GPS: rename UNIX_OFFSET
...
To keep consistency with other constants and make clear the unit.
8 years ago
murata
30151c8253
Global: Define MSEC_PER_SEC, MSEC_PER_WEEK, SEC_PER_WEEK and UNIX_OFFSET.
8 years ago
Lucas De Marchi
747f15b514
AP_GPS: add casts to consider literals as doubles
...
Since we pass -fsingle-precision-constant to the compiler, add casts to
make literals real doubles.
8 years ago
murata
b77941c4f2
AP_GPS: Delete unnecessary code.
8 years ago
Andrew Tridgell
c0cc2faefd
AP_GPS: disable esoteric GPS types on FMUv2
8 years ago
Francisco Ferreira
7ea0baefb1
AP_GPS: re-fix SBP fix status
8 years ago
Francisco Ferreira
512bd08326
AP_GPS: fix SBP supported status
8 years ago
priseborough
6d53ab7b76
AP_GPS: minor comment change
8 years ago
priseborough
4a490d522e
AP_GPS: use standard unit descriptor for milliseconds
8 years ago
priseborough
be0096e812
AP_GPS: Allow the user to specify the GPS time delay
...
If the user sets a non-zero value of the delay it will be used in preference over the default value for that GPS type.
If the GPS type is unknown and the parameter is set to zero, then a default delay of 1 sample period will be used (eg 200ms for 5Hz).
8 years ago
Andrew Tridgell
bdc0630ccf
AP_GPS: added all_configured() function
...
used for EKF to tell if gps_lag is valid
8 years ago
Andrew Tridgell
5d18f3a453
AP_GPS: added backend specific get_lag() function
...
the ublox7 and 8 seem to produce lower lag, around 120ms. Separately
we should also look at running these at 10Hz and see if that helps.
8 years ago
murata
3200f24106
AP_GPS: Unify from print or println to printf.
8 years ago
Francisco Ferreira
1fc0dbe0bd
AP_GPS: fix GSOF highest supported status
8 years ago
Michael Oborne
8e9f382240
AP_GPS_GSOF: update for new GPS_FIX's
8 years ago
Michael du Breuil
0cf41c9288
AP_GPS: Force ublox baud rate if we are allowed to config the GPS
8 years ago
Michael du Breuil
855d91145a
AP_GPS: ublox - fix incorrect step ordering
8 years ago
Michael du Breuil
1c1e6e9398
AP_GPS: Support more fix types
8 years ago
Michael Oborne
d05b0d5885
AP_GPS_UBLOX: add pvt message support
8 years ago
Francisco Ferreira
d472fbde0c
AP_GPS: fix PX4 GPS driver leap seconds
8 years ago
Michael du Breuil
c696137a42
AP_GPS: Update the number of leapseconds
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
b7f32e216d
AP_GPS: update parameter descriptions
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
9aaeb6fe1a
AP_GPS: Add missing GPS Types
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
8419045aea
Spell in comments
8 years ago
murata
fd153f2861
AP_GPS: Change search method of GPS type to switch statement.
...
AP_GPS: Correct the tab code to white space.
8 years ago
priseborough
453ced4a38
AP_GPS: remove unused EKF1 include
8 years ago
Randy Mackay
b296bc1d00
GPS: MAV driver fix for sanity checks of cog, sat count
8 years ago
Randy Mackay
8118222946
GPS: MAV driver fix for GPS_INPUT altitude
8 years ago
Randy Mackay
9e62f12dd7
GPS: MAV driver gets support for HIL_GPS message
8 years ago
Michael du Breuil
d97861d685
AP_GPS: Ublox: Skip SBAS request if we don't want to alter it
8 years ago
Michael Oborne
c62050dc1b
AP_GPS_SBF: fix accuracy reported by driver
8 years ago
Holger Steinhaus
5b66062f85
AP_GPS_PX4: unsubscribe on driver destruction.
8 years ago
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
8 years ago
Michael Oborne
c5f8d8a695
AP_GPS_SBF: change reported altitude from geoid to MSL
8 years ago
Randy Mackay
aeb1de08f5
AP_GPS: fix MAV compile error
8 years ago
Randy Mackay
9290ee65cc
AP_GPS: MAV driver uses existing baud rates
...
GPS_INPUT messages can arrive through any mavlink serial port so we shouldn't be modifying any port's baud rates.
8 years ago
Peter Barker
7b75a4ec09
AP_GPS: add missing parameter metadata
8 years ago