Andrew Tridgell
3ce7e4b322
AP_GPS: fixed fake uBlox with PVT message support
2017-02-21 06:09:33 +11:00
Lucas De Marchi
9f09442548
AP_GPS: rename UNIX_OFFSET
...
To keep consistency with other constants and make clear the unit.
2017-02-11 01:34:09 -08:00
murata
30151c8253
Global: Define MSEC_PER_SEC, MSEC_PER_WEEK, SEC_PER_WEEK and UNIX_OFFSET.
2017-02-11 01:34:09 -08:00
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.
2017-02-06 09:27:22 -08:00
murata
b77941c4f2
AP_GPS: Delete unnecessary code.
2017-02-03 15:11:27 +09:00
Andrew Tridgell
c0cc2faefd
AP_GPS: disable esoteric GPS types on FMUv2
2017-01-29 16:31:06 +11:00
Francisco Ferreira
7ea0baefb1
AP_GPS: re-fix SBP fix status
2017-01-28 17:43:58 +00:00
Francisco Ferreira
512bd08326
AP_GPS: fix SBP supported status
2017-01-28 17:29:48 +00:00
priseborough
6d53ab7b76
AP_GPS: minor comment change
2017-01-27 16:57:42 +09:00
priseborough
4a490d522e
AP_GPS: use standard unit descriptor for milliseconds
2017-01-27 16:57:42 +09:00
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).
2017-01-27 16:57:42 +09:00
Andrew Tridgell
bdc0630ccf
AP_GPS: added all_configured() function
...
used for EKF to tell if gps_lag is valid
2017-01-27 16:57:42 +09:00
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.
2017-01-27 16:57:42 +09:00
murata
3200f24106
AP_GPS: Unify from print or println to printf.
2017-01-27 18:20:22 +11:00
Francisco Ferreira
1fc0dbe0bd
AP_GPS: fix GSOF highest supported status
2017-01-26 00:04:32 +00:00
Michael Oborne
8e9f382240
AP_GPS_GSOF: update for new GPS_FIX's
2017-01-26 00:04:19 +00:00
Michael du Breuil
0cf41c9288
AP_GPS: Force ublox baud rate if we are allowed to config the GPS
2017-01-26 07:48:22 +09:00
Michael du Breuil
855d91145a
AP_GPS: ublox - fix incorrect step ordering
2017-01-25 03:44:57 +00:00
Michael du Breuil
1c1e6e9398
AP_GPS: Support more fix types
2017-01-25 03:44:42 +00:00
Michael Oborne
d05b0d5885
AP_GPS_UBLOX: add pvt message support
2017-01-25 03:34:26 +00:00
Francisco Ferreira
d472fbde0c
AP_GPS: fix PX4 GPS driver leap seconds
2017-01-21 21:59:36 +00:00
Michael du Breuil
c696137a42
AP_GPS: Update the number of leapseconds
2017-01-18 18:07:26 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
b7f32e216d
AP_GPS: update parameter descriptions
2017-01-09 13:32:28 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
9aaeb6fe1a
AP_GPS: Add missing GPS Types
2017-01-06 21:24:42 +00:00
Dr.-Ing. Amilcar Do Carmo Lucas
8419045aea
Spell in comments
2017-01-06 10:57:39 -08:00
murata
fd153f2861
AP_GPS: Change search method of GPS type to switch statement.
...
AP_GPS: Correct the tab code to white space.
2016-12-21 10:31:43 +09:00
priseborough
453ced4a38
AP_GPS: remove unused EKF1 include
2016-12-19 08:07:11 +11:00
Randy Mackay
b296bc1d00
GPS: MAV driver fix for sanity checks of cog, sat count
2016-12-08 15:52:26 +09:00
Randy Mackay
8118222946
GPS: MAV driver fix for GPS_INPUT altitude
2016-12-08 15:52:26 +09:00
Randy Mackay
9e62f12dd7
GPS: MAV driver gets support for HIL_GPS message
2016-12-08 15:52:26 +09:00
Michael du Breuil
d97861d685
AP_GPS: Ublox: Skip SBAS request if we don't want to alter it
2016-11-21 14:15:19 +09:00
Michael Oborne
c62050dc1b
AP_GPS_SBF: fix accuracy reported by driver
2016-11-12 16:42:35 +09:00
Holger Steinhaus
5b66062f85
AP_GPS_PX4: unsubscribe on driver destruction.
2016-11-07 08:00:57 -03:00
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.
2016-11-02 16:04:47 -02:00
Michael Oborne
c5f8d8a695
AP_GPS_SBF: change reported altitude from geoid to MSL
2016-11-01 13:06:59 +09:00
Randy Mackay
aeb1de08f5
AP_GPS: fix MAV compile error
2016-10-29 16:45:00 +09:00
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.
2016-10-29 14:33:44 +09:00
Peter Barker
7b75a4ec09
AP_GPS: add missing parameter metadata
2016-10-27 09:15:03 -07:00
Andrew Tridgell
af332cb336
AP_GPS: use const reference
2016-10-27 15:05:58 +11:00
priseborough
1dec6dd9b0
AP_GPS: Update parameter documentation
...
Add brief description of body frame conventions.
2016-10-27 14:54:45 +11:00
priseborough
b51c9dea6c
AP_GPS: Add parameters defining antenna offset in body frame
2016-10-27 14:54:41 +11:00
murata
762a66c9e5
AP_GPS_SBF: Adjust the initial value of HDOP
2016-10-26 09:54:59 +11:00
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Peter Barker
6e72c899d1
AP_GPS: AP_GPS_GSOF: remove unused variable
2016-10-24 08:57:56 -02:00
Peter Barker
e17a71c6cc
AP_GPS: AP_GPS_NOVA: remove unused variables
2016-10-24 08:57:55 -02:00
Randy Mackay
e6e6e36da7
AP_GPS_MAV: fix hdop conversion
2016-10-18 20:24:55 +09:00
Lucas De Marchi
ae53920e5b
build: don't build examples with old build system
...
We currently check examples are buildable with waf which doesn't need
the libraries to be specified in a make.inc file. Having the makefiles
there is misleading since people try to build and realize the build is
broken.
2016-10-11 13:03:08 +11:00
Andrew Tridgell
9caf44b494
AP_GPS: update drivers for changed inject_data() API
...
need 16 bit length
2016-10-11 11:00:35 +11:00
Andrew Tridgell
500df1edf2
AP_GPS: support GPS_RTCM_DATA fragmented MAVLink message
...
support re-assembly of RTCM data packets
2016-10-11 11:00:35 +11:00
Michael du Breuil
cf5e79f80e
AP_GPS: ublox support user controlled rate updates
...
Also corrects accepting bad nav rates as configured, and fixes a incorrect
index as to which GPS is being updated
2016-10-11 10:44:51 +11:00