Andrew Tridgell
97b7130bb9
libraries: update license header to GPLv3
...
we switched to GPLv3 a long time ago, but neglected to update the
per-file license headers
12 years ago
Andrew Tridgell
edfebc1f29
AP_GPS: fixed indent-tabs-mode
12 years ago
Andrew Tridgell
06b6f4b04e
AP_GPS: use PACKED attribute instead of pragma pack
12 years ago
Andrew Tridgell
f67480fa50
AP_GPS: ensure constructors zero all key variables
...
this prevents a crash on PX4 if a GPS is attached after startup
12 years ago
Andrew Tridgell
3bfff4bd6d
AP_GPS: pragma pack is needed on ARM
...
we rely on GPS data structures having byte alignment. Luckily GCC can
cope with this.
12 years ago
Craig@3DR
f778961acf
Added support for Mediatek firmware Rev 1.9
12 years ago
Andrew Tridgell
18db7b2efd
GPS: move _port setting to init()
...
this is needed to avoid constructor ordering dependencies
12 years ago
Pat Hickey
9ed023aeb4
AP_GPS: Builds under AP_HAL. Not tested.
12 years ago
Andrew Tridgell
59b44816ec
GPS: replaced the GPS auto-detect mechanism
...
the old mechanism wasted most of the input bytes, and chewed a lot of
CPU, making it impractical to do GPS detection for a GPS attached
after startup
The new code is async, and detects a GPS by looking for a fully formed
packet with the right checksum for each GPS type
13 years ago
uncrustify
a8ad5f62a5
uncrustify libraries/AP_GPS/AP_GPS_MTK.h
13 years ago
Andrew Tridgell
ddf9541c0a
AP_GPS: fixed build of new MTK code
13 years ago
Craig Elder
2493ffaad1
GPS: Corrections to Media Tek GPS Driver. Change to 5Hz and SBAS
13 years ago
Andrew Tridgell
33a2ad7e07
GPS: add stub settings for nav_setting in the other GPS drivers
...
only Ublox supports nav_setting so far
13 years ago
James Goppert
14d27b1e4c
Cleaned up AP_GPS formatting.
13 years ago
james.goppert
7809b0ca2a
Massive warning fixes.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2089 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
james.goppert
aa598b575a
APO merge.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1935 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
DrZiplok@gmail.com
8da4a29d58
Add support for the DIYD MTK v1.6 firmware
...
Nuke AP_GPS_IMU, as nothing is using it anymore.
Simplify the handling of no GPS/no fix detection.
Fix prototypes for ::init and ::read.
Update AP_GPS_Auto and corresponding example, nearly ready for primetime.
Use uint8_t rather than byte.
Strip some _error() calls to save space. More could still go.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1246 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
james.goppert
aa115aea68
AP_GPS libs now recover from disconnect or failed initialization.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1188 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
DrZiplok@gmail.com
0a94520682
Add support for automatically detecting the connected GPS and configuring accordingly.
...
Note that this is currently disabled as changes need to be made to APM to support it.
Tested with MTK, u-blox and SiRF GPS'.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@671 f9c3cf11-9bcb-44bc-f272-b75c42450872
15 years ago
DrZiplok@gmail.com
a83f663942
Private member naming
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@421 f9c3cf11-9bcb-44bc-f272-b75c42450872
15 years ago
DrZiplok@gmail.com
add89239f3
Rework the MTK protocol decoder for robustness and code size.
...
15 years ago
DrZiplok@gmail.com
96a80f1c66
Cleanup.
...
15 years ago
jasonshort
4b762bf933
New MTK codes
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@400 f9c3cf11-9bcb-44bc-f272-b75c42450872
15 years ago
jasonshort
4f02edac51
New GPS Lib
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@342 f9c3cf11-9bcb-44bc-f272-b75c42450872
15 years ago
jasonshort
2c6e096a3b
New Libraries
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@286 f9c3cf11-9bcb-44bc-f272-b75c42450872
15 years ago