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
Patrick José Pereira
10ffd89a0c
AP_GPS: Remove unused operation
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
9c97f35b19
AP_GPS: Use GPS_AUTO_SWITCH parameter to choose exacly which GPS to use
7 years ago
Francisco Ferreira
b29369eb82
AP_GPS: adapt to changes in AP_BoardConfig_CAN
7 years ago
Michael du Breuil
1a406dacfc
AP_GPS: Ensure a lag value is always provided
...
The value may not be the optimal value for the driver, but we should
always try to provide a value for the caller
7 years ago
Michael du Breuil
cca6b54921
AP_GPS: Remove unneeded field limitations
...
Saves ~1100 bytes of flash
7 years ago
Michael du Breuil
fcb1c4cdfd
AP_GPS: Remove unused ADC include
7 years ago
Alexander Remizov
dc15cbd513
AP_GPS: fixed ublox configuration
7 years ago
Andrew Tridgell
796291f176
AP_GPS: improved ccache build speed
...
making this header equal improves speed of fmuv2 build after fmuv3
build with ccache, without affecting binary
7 years ago
Peter Barker
5b41db5120
AP_GPS: use AP_RTC
...
set the system time from a GPS if we have a 3D fix or better
7 years ago
Eugene Shamaev
9985d4a937
AP_GPS: uniform naming
7 years ago
Eugene Shamaev
9f27a65f4b
AP_GPS: helper func
7 years ago
Eugene Shamaev
a805b3ce18
AP_GPS: reducing indenting by linearizing the logic
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
Francisco Ferreira
5fc7da0e83
AP_GPS: remove Qualcomm board support
7 years ago
Michael du Breuil
53c66106d6
AP_GPS: Remove unneeded intilizers
...
saves 160 bytes on make px4-v2
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
9b9932ca9c
AP_GPS: Document septentrio RXERROR flags
7 years ago
Andrew Tridgell
4e1d310959
AP_GPS: fixed use of pow()
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
Peter Barker
643e7e039a
AP_GPS: log received data
...
Also log a set of flag values if a driver is deleted
7 years ago
Patrick José Pereira
a255c47c33
AP_GPS: Do not restart driver if type is defined as MAV
...
Fix bluerobotics/ardusub#104
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Michael du Breuil
362fb470c4
AP_GPS: Allow HIL_GPS to flag vertical velocity
...
Closes #7997
7 years ago
Michael du Breuil
a21eb12f9e
AP_GPS: Correct HIL_GPS altitude conversion
7 years ago
Peter Barker
816045c1ab
AP_GPS: correct compiler warnings
...
In file included from ../../libraries/AP_GPS/AP_GPS_SBF.cpp:22:
../../libraries/AP_GPS/AP_GPS_SBF.h:75:14: warning: private field
'last_injected_data_ms' is not used [-Wunused-private-field]
uint32_t last_injected_data_ms = 0;
^
../../libraries/AP_GPS/AP_GPS_SBF.h:210:7: warning: private field
'RxError_bits' is not used [-Wunused-private-field]
} RxError_bits;
7 years ago
chobits
ea1a6b2044
AP_GPS: set have_vertical_velocity if MAVLink GPS report it
7 years ago