Andrew Tridgell
dd86e0cc89
AP_GPS: added comment explaining the approach
4 years ago
Andrew Tridgell
8bc31ec5e9
AP_GPS: account for rotation rate in moving baseline Z test
...
this avoids switching GPS on rapid roll/pitch
4 years ago
Peter Barker
a7e0c565dc
AP_GPS: populate extension fields in GPS2_RAW
4 years ago
Philippe Hamelin
738d000f86
AP_GPS: Add NMEA THS message.
4 years ago
Andrew Tridgell
3650c02745
AP_GPS: use common nmea_printf()
4 years ago
murata
3a006ae226
AP_GPS: Supplementary explanation of configuration parameters (NFC)
4 years ago
Siddharth Purohit
edceb4e3a4
AP_GPS: move underscore one layer down for GPS
4 years ago
bugobliterator
0031fee851
AP_GPS: add support for ordering UAVCAN GPS
4 years ago
Michael du Breuil
a3ddf5264d
AP_GPS: Support uavcan ardupilot.gnss.Status
...
Also makes the drive by change to make GPS_Backend::is_configured const
4 years ago
Michael du Breuil
f227d67d58
AP_GPS: Remove unused enum
4 years ago
Peter Barker
9da9d8c94b
AP_GPS: provide method for getting single char representing fix type
...
Should allow us to be consistent across places in the code base that
need a compact representation for a user display.
4 years ago
Peter Barker
c2cba52ad8
AP_GPS: move gps logging structures into AP_GPS
4 years ago
Michael du Breuil
4c4e613f6a
AP_GPS: Don't send SBF config unless there is free space in the port
4 years ago
Michael du Breuil
4d42996068
AP_GPS: Force the buadrate on SBF units
4 years ago
Michael du Breuil
5f3b1b92a4
AP_GPS: SBF don't send configuration until we've recieved a prompt
...
This fixes a configuration problem with SBF unit's where sometimes we
fail to detect the GPS unit continously, until it's been manually
configured. This was tested by doing a hard reset to the GPS unit.
This also now accepts a set of defines from the hwdef, or build
environment, which allows us to specify extra config options.
4 years ago
Michael du Breuil
d9ffd04a96
AP_GPS: Broadcast the detect message on AP_Periph over CAN
4 years ago
Patrick José Pereira
6bdc1704f4
AP_GPS: Remove pointer check before delete
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Patrick José Pereira
2e75425a2a
AP_GPS: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Michael du Breuil
0f363809f5
AP_GPS: Fix some unit errors with the GPS blended instance
...
Also add a static assert and some docs on the fact that blending only
works with 2 actual recievers at the moment
Also a small optimization to not call get_rate_ms() twice
4 years ago
Peter Barker
d426d8e1f8
AP_GPS: use ground_course in preference to ground_course_cd
4 years ago
E Thomas
2ee052b36e
AP_GPS: Made GPS_DISABLE prevent last_fix_time_ms updates
4 years ago
Michael Oborne
d2720da4a2
AP_GPS: support yaw for UAVCAN GPS
4 years ago
Andrew Tridgell
bf51478dd1
AP_GPS: added ExternalAHRS backend
4 years ago
Ari Krupnik
1d288316cc
AP_GPS: standard spelling of variant
4 years ago
Andrew Tridgell
e02047861a
AP_GPS: convert to using hal.serial() instead of hal.uartX
4 years ago
Andrew Tridgell
1a4f094025
AP_GPS: allow hwdef override of default for GPS_COM_PORT
4 years ago
Andrew Tridgell
92bcc7667c
AP_GPS: allow for SBF GPS on F3 AP_Periph
4 years ago
Andrew Tridgell
862ae59e28
AP_GPS: support $PHD message for AllyStay NMEA GPS
...
this adds vertical velocity support
4 years ago
Hwurzburg
7a82898e92
AP_GPS: expand gps rate description
4 years ago
Andrew Tridgell
05194ed8b6
AP_GPS: don't accept infinite accuracies for blending
...
these result in NaN values for velocities
4 years ago
Andrew Tridgell
83c479bcc2
AP_GPS: prevent UAVCAN GPS from giving infinite accuracy values
...
this can happen due to the complex encodings of accuracies in UAVCAN
4 years ago
Andrew Tridgell
a762926526
AP_GPS: fixed constrained NaN in EKF3 caused by bad GPS blending
...
if the accuracies reported are very low then we can do a division by
zero and this results in a constraining NaN for GPS vertical velocity
filter in NavEKF3_core::calcGpsGoodToAlign
4 years ago
Peter Barker
e257dd9fee
AP_GPS: correct logging for GPS blending
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
58f0c34612
AP_GPS: fix dataflash logging of blended GPS instance
4 years ago
Peter Barker
428c9ef0e1
AP_GPS: correct logging in dual-ublox setups
4 years ago
Andrew Tridgell
6c4e552a0b
AP_GPS: removed have_ekf_logging()
4 years ago
Iampete1
60951a7891
AP_GPS: add use primary if 3D fix GPS_AUTO_SWITCH option
4 years ago
Iampete1
347723dbaf
AP_GPS: add primary param
4 years ago
Michael du Breuil
b30c55b3f3
AP_GPS: Support yaw from moving base station on SBF drivers
4 years ago
Michael du Breuil
4161e2eb28
AP_GPS: Factor out moving base offset helper
4 years ago
Michael du Breuil
a61444cec0
AP_GPS: Don't reset the entire buffer when handling RTCM data
...
This is a micro optimization intended to just make handling GPS
corrections a bit faster.
4 years ago
murata
4c835a0df9
AP_GPS: Move the CRC24 to the AP_Math class
4 years ago
Andrew Tridgell
e529d475d4
AP_GPS: use mktime for NMEA and MTK time conversion
...
this fixes NMEA time handling, which was off by 3 days
4 years ago
Andrew Tridgell
e995a198bd
AP_GPS: always send GPS2_RAW if 2nd GPS configured
...
this improves the display on the GCS when the GPS has not yet been
found. This is particularly important after a reboot, as otherwise the
GCS may display stale information from the previous boot
4 years ago
Andrew Tridgell
8e08d93026
AP_GPS: fixed pre-arm check on ublox M9 GPS
...
this prevents a failure from config of SOL and TMODE messages
4 years ago
Donione
ff80be19c1
AP_GPS: fix type and update reserved bytes in ublox PVT
4 years ago
Andrew Tridgell
8c1bc94053
AP_GPS: fixed build warnings for MSP with AP_Periph
4 years ago
Andrew Tridgell
94670879f8
AP_GPS: allow hwdef.dat override of GPS rate
4 years ago
yaapu
85b61d6bf3
AP_GPS: added support for MSP GPS sensors
4 years ago
Andrew Tridgell
5647aadbcf
AP_GPS: added API for getting last iTOW
4 years ago