Andrew Tridgell
291d72601b
AP_GPS: enabled reduced size for AP_Periph support
6 years ago
Michael du Breuil
d33006a2e7
AP_GPS: Refactor first_unconfigured_gps to return bool
6 years ago
Pierre Kancir
13ac187fd8
AP_GPS: pass mavlink_message_t by const reference
6 years ago
Grant Morphett
64ed76326b
AP_GPS: Adding support for the NMEA GPHDT sentence
...
The NMEA GPHDT sentence can be used to determine the vehicles bearing
instead of a compass even when the vehicle is stationary. This type
of GPS is normally very expensive and does the bearing using some sort
of phase ambituity algorithm.
6 years ago
Michael du Breuil
e6d97f63a5
AP_GPS: Remove unneeded wrappers
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
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
Tom Pittenger
5d66c3ed62
AP_GPS: unify singleton naming to _singleton and get_singleton()
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
Arjun Vinod
978cea97cf
AP_GPS: whitespace and typo fixes
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
Michael du Breuil
cca6b54921
AP_GPS: Remove unneeded field limitations
...
Saves ~1100 bytes of flash
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
Francisco Ferreira
5fc7da0e83
AP_GPS: remove Qualcomm board support
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
Andrew Tridgell
d2c9e2719e
AP_GPS: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
7 years ago
Peter Barker
693823ae0d
AP_GPS: add gps() to AP:: namespace
7 years ago
Michael du Breuil
236e74c529
AP_GPS: Singleton
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
Dr.-Ing. Amilcar Do Carmo Lucas
bf6778277e
AP_GPS: implement GPS*_RTK mavlink messages
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
430b863f42
AP_GPS: Replace hardcoded duplicated end_mavlink_gps*_rtk() function with a flexible one
7 years ago
Michael du Breuil
b0e18de576
AP_GPS: Remove detect helpers for MTK/SIRF when minimizing the build
...
Removes 16 bytes
7 years ago
Michael du Breuil
bfbec02736
AP_GPS: SBF track the GPS error bits
7 years ago
Lucas De Marchi
2cb2727a31
AP_GPS: add static create method
7 years ago
Michael du Breuil
04eb7f411e
AP_GPS: Track the delta time between the last GPS positions
8 years ago
Peter Barker
7f59279670
AP_GPS: make time_epoch_usec const
8 years ago
Peter Barker
2ad453fc89
AP_GPS: handle inject packets as part of handle_msg
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
ae47ac5a09
AP_GPS: implement missing "RTK number of satellites" and "RTK correction age" information in the GPS2_RAW MAVLink message
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
059c213d19
AP_GPS: Improve comments and documentation (NFC)
8 years ago
Peter Barker
7258cfd20b
AP_GPS: check dataflash to see if we should log backend gps messages
8 years ago
Rob Ratcliff
60c6f8ad60
AP_GPS: fix bug when injecting messages bigger than 255 bytes
...
Commit 5261654
changed the used injection method so change this method signature to use uint16 for message length like previous injection method did
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
priseborough
5dcfc94371
AP_GPS: Add validity boolean to GPS lag reporting
8 years ago
Michael du Breuil
6c3db3939e
AP_GPS: Update comment on get_rate_ms()
...
AP_GPS::get_rate_ms() is only meant to help the GPS backends
8 years ago
Michael du Breuil
1877d09f7c
AP_GPS: Don't track detection time to broadcast baud rate
8 years ago
Michael du Breuil
c7a89d5aa0
AP_GPS: Set unknown DOP's to UINT16_MAX, rather then 9999
...
This fixes the MAVLink reporting for unknown dops, and avoids the situation where a GPS driver could report a worse DOP then we could handle.
Also corrects an apparent error in the HIL_GPS MAVLink message, where we would always select the unknown dop value rather then provided DOP.
8 years ago
Andrew Tridgell
3687b6bdf0
AP_GPS: rename macros to avoid conflicts
...
these macros were also defined in NuttX in clock.h
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
1691a39b36
AP_GPS: spell in comments
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
5b67b33310
AP_GPS: Remove un-used AP_GPS::inject_data_all() function
8 years ago
Peter Barker
b7baca8d43
AP_GPS: move GPS type announcements into backend
...
See #4584
8 years ago
Peter Barker
2354a0ec5a
AP_GPS: ability to log GPS detection state to dataflash
8 years ago
Niels Joubert
4bf9fc071c
AP_GPS: Adds SBP Version 2: Swift Navigation Piksi Multi support
...
This commit adds:
- New driver for SBPv2
--- Support Piksi Multi, Swift Navigation's multi-band multi-constellation GPS
--- Proper parsing of SBP flags
--- Instant response to Piksi status changes (no more timeouts)
--- Support for Piksi Multi as a Single-Point-Positioning GPS or only onboard GPS
--- Incorporates horizontal and vertical accuracy estimates, and vdop.
- Updates driver for SBPv0
--- Continue support for previous Piksi
- Dispatches correct driver based on SBP version.
8 years ago
Eugene Shamaev
dfe9b0e6fc
AP_GPS: support for UAVCAN connected GNSS receivers
8 years ago
Randy Mackay
2002827de3
AP_GPS: rename pre-arm blending health check
8 years ago