Peter Barker
46ad04aab7
AP_GPS: correct format string warnings in SBF driver
6 years ago
Randy Mackay
64637dba8f
AP_GPS: resolve gcs::send_text compiler warning
6 years ago
Michael du Breuil
32c583bd20
AP_GPS: Remove external event from GPS data stream
...
If the event pin floats, this can lead to UART congestion, causing the
EKF to reject the GPS data, and the vehicle will drift around the sky in
a most disturbing manner
6 years ago
Tom Pittenger
12c3446777
AP_GPS: rename dataflash to logger
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Andrew Tridgell
df68d6413c
AP_GPS: moved iTow handling to GPS_Backend
6 years ago
Andrew Tridgell
3fe4b9c0f8
AP_GPS: make GPS packet timestamps more accurate
...
this reduces the effect of processing time and uart transmit time
6 years ago
Michael du Breuil
70e587b572
AP_GPS: Fix accidental quantization to float on SBF logging
7 years ago
Andrew Tridgell
53d36c02ae
AP_GPS: enable double precision maths where needed
7 years ago
Michael du Breuil
88ea7ac5fa
AP_GPS: Remove software check from SBF driver
7 years ago
Michael du Breuil
b1a3e0a537
AP_GPS: Report when SBF errors change
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
9b2e48ce10
AP_GPS: Improve comments (NFC)
7 years ago
Michael du Breuil
c856cc6f33
AP_GPS: Allow GPS's to run functions on arming (used by SBF)
...
Supports starting/stopping GPS logging
7 years ago
Michael du Breuil
561acb372e
AP_GPS: SBF send port enable string on start
...
Also prohibts SBF, GSOF, NOVA drivers from getting config strings not
meant for them
7 years ago
Michael du Breuil
bfbec02736
AP_GPS: SBF track the GPS error bits
7 years ago
Michael du Breuil
80b71b9ced
AP_GPS: SBF: Validate that configuration was accepted
...
Note: The config string of "spm, Rover, StandAlone+SBAS+DGPS+RTK\n" is
incompatible with AsteRx-M FW 3.6.3 and will result in refusing to
arm/pass configuration checks
7 years ago
Michael du Breuil
20988b9f05
AP_GPS: SBF respect GPS_AUTO_CONFIG
7 years ago
Michael du Breuil
be371e09f9
AP_GPS: SBF: Reject short packets early, allow 256 byte long messages to be decoded
8 years ago
Andrew Tridgell
048dfee68a
AP_GPS: make SBF driver more robust
...
this fixes a crash bug in the SBF GPS driver where a badly formed packet
could cause crc16_ccitt to reference invalid memory
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
b791fef7cb
AP_GPS: Publish the number of satellites in the RTK correction messages, and the age of the RTK correction messages
8 years ago
Peter Barker
76847a2487
AP_GPS: eliminate GCS_MAVLINK::send_statustext_all
8 years ago
Michael du Breuil
cb1b9b6674
AP_GPS: Fix SBF race condition on start
...
Unsure what the underlying problem is, but the length of the first string in
the initilisation_blob increasing resulted in a race condition, waiting
longer before retrying the message resolves it, but we still need to identify
the underlying problem. This patch just results in the GPS working with current
configurations. Tested against AsteRx-M firmware 3.6.3
8 years ago
Peter Barker
7258cfd20b
AP_GPS: check dataflash to see if we should log backend gps messages
8 years ago
Michael du Breuil
3da3ad05bf
AP_GPS: SBF report velocity accuracy
8 years ago
Michael du Breuil
397ae00526
AP_GPS: SBF report VDOP
8 years ago
Michael du Breuil
12f83ecf75
AP_GPS: SBF if RAW_DATA is enabled check that the GPS is succeeding at logging
8 years ago
Michael du Breuil
6f297deaf7
AP_GPS: Unify inject_data interface for all classes
8 years ago
Michael du Breuil
44bcd74a57
AP_GPS: Remove dead SBF code
...
CID 125035
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
Michael du Breuil
1c1e6e9398
AP_GPS: Support more fix types
8 years ago
Michael Oborne
c62050dc1b
AP_GPS_SBF: fix accuracy reported by driver
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
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.
8 years ago
Andrew Tridgell
9caf44b494
AP_GPS: update drivers for changed inject_data() API
...
need 16 bit length
8 years ago
Ricardo de Almeida Gonzaga
4047fb63fc
AP_GPS: Fix typos
9 years ago
Andrew Tridgell
b424c49bc7
AP_GPS: change ground course to be in degrees
...
more accuracy for replay
9 years ago
Andrew Tridgell
69e233a39d
AP_GPS: fixed init string for SBF GPS
...
coverity #125042
9 years ago
Michael Oborne
1c1eea6119
AP_GPS_SBF: add sd logging by default, improve init
9 years ago
Michael Oborne
0bcc6e324a
AP_GPS_SBF: formatting fixes
9 years ago
Caio Marcelo de Oliveira Filho
c33b86a783
AP_GPS: use millis/micros/panic functions
9 years ago
Lucas De Marchi
e31595c60c
AP_GPS: remove check for GPS_RTK_AVAILABLE
9 years ago
Michael Oborne
88cf710f94
AP_GPS_SBF: add accuracy estimates
10 years ago
Michael Oborne
993904f01c
AP_GPS_SBF: add init string and increase union size
10 years ago
Michael Oborne
cce46cf0c5
AP_GPS_SBF: add support for Septentrio gps
10 years ago