Peter Barker
73c81519da
AP_GPS: fix missing-declaration warning in example
6 years ago
Michael Oborne
6031f5b6a9
AP_GPS_UBLOX: add support for TIMEGPS message. used to get gps week
6 years ago
Andrew Tridgell
9f5a598697
AP_GPS: removed unusued AP_Common/Semaphore.h
6 years ago
Michael du Breuil
7871040bb6
AP_GPS: Pass an in range value for the param initilizer
6 years ago
Pierre Kancir
deb6aafcbe
AP_GPS: fix GPS_AUTO_test
6 years ago
Michael du Breuil
e6d97f63a5
AP_GPS: Remove unneeded wrappers
6 years ago
Michael du Breuil
cc679db55b
AP_GPS: Log reciever status to GPS SD card
...
This improves log analysis of bad GPS health messages when you have a
report of bad GPS health but lost the MAVLink message, or didn't have
access to the autopilot log with the information for some reason.
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
Pierre Kancir
36f12e9818
AP_GPS: use get_distance_NED
6 years ago
Pierre Kancir
4ea10ce5f5
AP_GPS: use get_distance_NE instead of location_diff
6 years ago
Michael du Breuil
27ad9ac3ca
AP_GPS: Refactor get_singleton() to return a pointer
6 years ago
Michael du Breuil
52eb832883
AP_GPS: Remove stuff from headers
6 years ago
Sagnik Bhattacharya
47f3720040
AP_GPS: add more comments to example and improved existing
6 years ago
Peter Barker
81d51b1d1a
AP_GPS: move print_latlon into sole caller
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
Francisco Ferreira
5a64f8d8ba
AP_GPS: use proper macro in array sizes
6 years ago
Francisco Ferreira
ba5ef18ef7
AP_GPS: correct blending check
6 years ago
Francisco Ferreira
cb1ce70ae8
AP_GPS: fix out-of-bounds array access
6 years ago
Dr.-Ing. Amilcar do Carmo Lucas
d7edd396bd
AP_GPS: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
6 years ago
Peter Barker
2aa0de49bb
AP_GPS: remove pointless initialisers
6 years ago
Peter Barker
4194812633
AP_GPS: uavcan: reindent after WITH_SEMAPHORE change (NFC)
6 years ago
Peter Barker
1ffbc0ae56
AP_GPS: uavcan: use WITH_SEMAPHORE in place of give/take _registry
6 years ago
Tom Pittenger
5d66c3ed62
AP_GPS: unify singleton naming to _singleton and get_singleton()
6 years ago
Ben Kurtz
08092ea72b
AP_GPS: fix typo in log message
6 years ago
Ben Kurtz
a525f30573
AP_GPS: update implementation of SBP2 flags
...
Some flags were out of date or named incorrectly.
Updates based on protocol version 2.4.1, documented here:
b02e8d835c/docs/sbp.pdf
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
Peter Barker
30980815a8
AP_GPS: adjust for Location_Class and Location unification
6 years ago
Peter Barker
30d5d6b578
AP_GPS: do not zero options after assigning from location
...
On the assumption that the assignment operator knows what it is doing,
and that we have no idea what fields are actually present in options
6 years ago
Arjun Vinod
978cea97cf
AP_GPS: whitespace and typo fixes
6 years ago
Randy Mackay
c7287bb98f
AP_GPS: add range to POS param description
6 years ago
Andrew Tridgell
7c50aacc92
AP_GPS: moved place we graph uart timestamp
6 years ago
Andrew Tridgell
685771c145
AP_GPS: constrain rate_ms from 5Hz to 20Hz
6 years ago
Andrew Tridgell
7a4b8d76c1
AP_GPS: added jitter correction to timestamp calculation
...
this allows for much more accurate (and consistent) timestamping of GPS
messages where the protocol has a ITOW field.
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
b5f3750014
AP_GPS: convert NOVA, SBP and SBP2 to use check_new_itow()
6 years ago
Andrew Tridgell
df68d6413c
AP_GPS: moved iTow handling to GPS_Backend
6 years ago
Andrew Tridgell
4af857da44
AP_GPS: adjust NMEA sentence length calculation
...
review feedback
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
Andrew Tridgell
2512b73106
AP_GPS: added ability to disable GPS
...
this is used for GPS loss testing in real vehicles, by linking it to a
RCn_OPTION value. GPS position is still logged, but is not used
6 years ago
Peter Barker
fd888727b8
AP_GPS: add override keyword where required
6 years ago
Michael du Breuil
d6944510da
AP_GPS: Suppress clearing non-trival type warning
6 years ago
ebethon
f67a9af339
AP_GPS: fix SBAS mode in the SBP2 driver
6 years ago
Andrew Tridgell
249291eac0
AP_GPS: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
6 years ago
Peter Barker
40daa8e15f
AP_GPS: use mavlink definition to get statustext size
...
Also, add one for null-termination
6 years ago
liang.tang
7885b267f0
AP_GPS: fix UAVCAN gps message handlers
7 years ago
Michael du Breuil
70e587b572
AP_GPS: Fix accidental quantization to float on SBF logging
7 years ago
Siddharth Purohit
ca54123b7d
AP_GPS: move UAVCAN GPS related code to AP_GPS_UAVCAN backend
7 years ago