Pat Hickey
9ed023aeb4
AP_GPS: Builds under AP_HAL. Not tested.
2012-12-20 14:51:25 +11:00
Craig@3DR
2586c7a32a
Updated the MediaTek configuration
...
to set the minimum speed the GPS must be moving to update the position to 0 m/s.
to enable SBAS / WAAS / DGPS position fixes.
2012-12-11 15:35:52 -08:00
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
2012-09-17 14:45:47 +10:00
uncrustify
9ce7513096
uncrustify libraries/AP_GPS/AP_GPS_MTK.cpp
2012-08-21 19:19:51 -07:00
Andrew Tridgell
ddf9541c0a
AP_GPS: fixed build of new MTK code
2012-08-22 10:02:21 +10:00
Craig Elder
2493ffaad1
GPS: Corrections to Media Tek GPS Driver. Change to 5Hz and SBAS
2012-08-22 09:56:25 +10:00
rmackay9
8a29f47ce0
AP_GPS: replaced "int" with "int16_t" and "long" with "int32_t"
2012-08-18 16:35:38 +09:00
Andrew Tridgell
33a2ad7e07
GPS: add stub settings for nav_setting in the other GPS drivers
...
only Ublox supports nav_setting so far
2012-06-10 16:34:53 +10:00
Andrew Tridgell
d90dc4d893
GPS: change back to 4Hz for MTK GPS
...
this will hopefully fix the NO_GPS problems that have been regularly
happening in recent months. I will watch the logs carefully to see if
the problem recurs
2012-02-13 22:50:20 +11:00
Randy Mackay
c24b5229e1
AP_GPS - updated MTK rate to 10Hz and fixed lat/lon printing inaccuracy in Arducopter logs and AP_TEST example sketch
2011-12-25 12:33:06 +09:00
James Goppert
14d27b1e4c
Cleaned up AP_GPS formatting.
2011-10-28 14:52:50 -04:00
deweibel@gmail.com
8d7e7ff58e
revert gps lib to 2602
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2608 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-21 01:38:31 +00:00
deweibel@gmail.com
5b9e7eff9d
clean up idleTimeout
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2606 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-21 01:20:39 +00:00
deweibel@gmail.com
b53b749fc7
Fix initialization of idleTimeout
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2602 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-20 21:11:45 +00:00
deweibel
e620eb1326
Change MediaTek timestamps to millisecond Time of Day
...
Add epoch method to return timestamp epoch.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1589 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-01 23:50:36 +00:00
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
2010-12-24 06:35:09 +00:00
james.goppert
dfe94bc77e
Removed delay from MTK library.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1189 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-19 15:34:09 +00:00
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
2010-12-19 13:24:29 +00:00
DrZiplok
2e5be5d86b
Revert the MTK GPS driver to only claiming a fix when the GPS has a 3D solution, per discussion with Paul.
...
Minor tidying and documentation.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@683 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-17 20:13:53 +00:00
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
2010-10-17 06:06:04 +00:00
paulbmather@gmail.com
079dd3c617
Changes to accommodate blinking lights and loss of GPS commands. Tested with NMEA, uBlox, Sirf and MTK. Does not function correctly with rmack's changes to APM_Compass posted 10/17/2010 (I don't know why).
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@669 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-17 04:07:46 +00:00
DrZiplok@gmail.com
a83f663942
Private member naming
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@421 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 22:30:29 +00:00
DrZiplok@gmail.com
add89239f3
Rework the MTK protocol decoder for robustness and code size.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@417 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 20:00:57 +00:00
DrZiplok@gmail.com
1dd4bc9080
Fix MTK lat/lon scaling.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@414 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 17:40:12 +00:00
DrZiplok@gmail.com
96a80f1c66
Cleanup.
...
Teach AP_GPS about FastSerial (in the few places it needs to know) and about Stream everywhere else.
Do some minor code cleanup.
Tested with Mega and uBlox. Some issues (e.g. reporting 0 satelites) remain.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@404 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 09:20:44 +00:00
jasonshort
d68cde2571
New MTK codes
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@399 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 05:05:44 +00:00
deweibel
fe0ba2bb29
correct configuration bug and change values of Fix to be consistent with ublox and APM
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@378 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-02 23:32:16 +00:00
jasonshort
4f02edac51
New GPS Lib
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@342 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-29 22:08:33 +00:00
jasonshort
241b710001
updates - Ublox now working
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@313 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-25 17:32:55 +00:00
jasonshort
2c6e096a3b
New Libraries
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@286 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-24 04:13:27 +00:00