Andrew Tridgell
379e3d60a1
AP_GPS: fixed sizes of config items
5 years ago
Michael du Breuil
63a6a1084c
AP_GPS: UBlox: Fix the assumption that all keys are 1 byte keys
5 years ago
Michael du Breuil
150a4edcf2
AP_GPS: UBlox fix not listing the time mode as a configuration reason
5 years ago
Andrew Tridgell
7bec9d87b4
AP_GPS: fixed TMODE config issue on non-F9 GPS
...
thanks to Michel Pastor for reporting this
5 years ago
Andrew Tridgell
8aa781206d
AP_GPS: fixed signed/unsigned comparisons
5 years ago
Andrew Tridgell
6c31fb1bb6
AP_GPS: added automatic config of TMODE on F9
...
the Drotek F9 GPS ships with TMODE enabled, which means we don't get a
3D fix.
This also adds the VALGET/VALSET msgs we will need for automatic
moving baseline config
5 years ago
Andrew Tridgell
37fb028532
AP_GPS: improved checking for valid yaw for moving baseline
...
and fixed check for carrSolnFixed
5 years ago
Michael du Breuil
2587b13ae7
AP_GPS: UBLOX: Parse RELPOSNED messages
...
This does not yet:
- validate the receiver configuration
- manage timing out stale GPS heading info
- relPosNormalized usage isn't clear, which may defeat the STRICT_LENGTH_CHECK
5 years ago
Andrew Tridgell
b5217412f9
AP_GPS: fixed a bug in handling corrupt u-blox packets
...
when we have corrupt input due to loss of bytes on a UART we can end
up with a u-blox packet with zero payload bytes. When that happens we
need to bypass payload reading as otherwise we will end up keeping
reading bytes until the driver resets at 4 seconds, causing a GPS
outage.
This was causing GPS outages every few hours in copters running 3.6.7,
and was also reproduced in SITL using SIM_GPS_BYTELOSS.
5 years ago
Andrew Tridgell
291d72601b
AP_GPS: enabled reduced size for AP_Periph support
6 years ago
Randy Mackay
64637dba8f
AP_GPS: resolve gcs::send_text compiler warning
6 years ago
Andrew Tridgell
5bfb6ced84
AP_GPS: fixed u-blox F9 auto configuration
6 years ago
Michael Oborne
6031f5b6a9
AP_GPS_UBLOX: add support for TIMEGPS message. used to get gps week
6 years ago
Michael du Breuil
833bc8f12a
AP_GPS: Ensure that all ublox configuration failure reasons have a description
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
Arjun Vinod
978cea97cf
AP_GPS: whitespace and typo fixes
6 years ago
Andrew Tridgell
d761b24b92
AP_GPS: optionally configure a hardware PPS pin for uBlox
...
useful for testing time lag estimation
6 years ago
Andrew Tridgell
2eae4901c1
AP_GPS: look for iTow on uBlox MSG_STATUS
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
Alexander Remizov
dc15cbd513
AP_GPS: fixed ublox configuration
7 years ago
Andrew Tridgell
dc2a776985
AP_GPS: fixed fake ublox 3D lock PVT speed accuracy
...
allows EKF to startup fully with fake GPS lock
7 years ago
Michael du Breuil
53c66106d6
AP_GPS: Remove unneeded intilizers
...
saves 160 bytes on make px4-v2
7 years ago
Michael du Breuil
0300f86913
AP_GPS: u-blox: Log unconfigured messages
7 years ago
Lucas De Marchi
8389158d76
AP_GPS: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
8 years ago
Peter Barker
76847a2487
AP_GPS: eliminate GCS_MAVLINK::send_statustext_all
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
249849dfa4
AP_GPS: Add an enum for _auto_config
8 years ago
Michael du Breuil
5f8633e322
AP_GPS: Allow backends to report their lag confidences
8 years ago
Peter Barker
1ba59b446c
AP_GPS: log ublox sw and hw versions on dataflash log start
...
This burns 41 bytes of RAM for each u-Blox GPS.
8 years ago
Peter Barker
94a5e94ec9
AP_GPS: canonicalise statustext messages
...
Use "GPS %d" prefix, where %d is instance+1, to correspond
with parameters
8 years ago
Michael du Breuil
6f297deaf7
AP_GPS: Unify inject_data interface for all classes
8 years ago
Randy Mackay
81b20e971b
AP_GPS_UBLOX: use get_rate_ms accessor
8 years ago
Randy Mackay
e764f0d5d0
AP_GPS: sanity check update rate
...
Also minor spelling and parameter documentation fix
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
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
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
Michael du Breuil
d97861d685
AP_GPS: Ublox: Skip SBAS request if we don't want to alter it
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
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
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
8 years ago
Michael du Breuil
86c2b1d84a
AP_GPS: u-blox Remove 5Hz warning
...
The warnings test case is better covered by the rest of the driver
while it is performing the normal settings audit.
8 years ago
Gustavo Jose de Sousa
174cefa8a5
AP_GPS: use ARRAY_SUBSCRIPT instead of bytes field
...
That fixed compilation issues and seems more semantically correct. Using array
of length 0 fails compilation because of -Werror=array-bounds in GCC 6.1.
9 years ago
Ricardo de Almeida Gonzaga
4047fb63fc
AP_GPS: Fix typos
9 years ago