Commit Graph

739 Commits

Author SHA1 Message Date
paulbmather@gmail.com bd205a48e8 GPS units that don't have 2 digits after decimal on heading and alt would cause serious math problem.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@807 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-08 19:21:42 +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 ee105a0ebf The previous initialisation strategy for auto-detection doesn't play well with the way APM uses the GPS.
Switch to subclassing GPS and manipulating a global pointer.  Update the test program so that it works again.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@673 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-17 07:22:11 +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
paulbmather@gmail.com 614d43c905 git-svn-id: https://arducopter.googlecode.com/svn/trunk@665 f9c3cf11-9bcb-44bc-f272-b75c42450872 2010-10-16 16:59:03 +00:00
paulbmather@gmail.com 0bbc8651e4 Added #defines for PMTK commands
git-svn-id: https://arducopter.googlecode.com/svn/trunk@664 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-16 16:56:29 +00:00
paulbmather@gmail.com d7e71b602c Fixed issue with comma parsing (space after comma was causing routine to misread data)
Added init functions (PMTK)

git-svn-id: https://arducopter.googlecode.com/svn/trunk@663 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-16 16:55:56 +00:00
deweibel 34aa823003 Bug fixes for EM-406
git-svn-id: https://arducopter.googlecode.com/svn/trunk@539 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-23 00:20:11 +00:00
jasonshort b9f8b6727d Made ground course from Xplane an unsigned int.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@518 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-14 19:13:02 +00:00
DrZiplok@gmail.com 29ba4b8be1 Forgot to include the IMU GPS emulator, breaking X-Plane
git-svn-id: https://arducopter.googlecode.com/svn/trunk@483 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-12 00:51:44 +00:00
DrZiplok@gmail.com 80bc831363 Reinstate the ground course filter for the not-really-suppored SiRF GPS.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@448 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-10 06:32:33 +00:00
DrZiplok@gmail.com ffa25b0846 Fix the MTK test to use the same baud rate that APM does.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@440 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-08 05:07:35 +00:00
DrZiplok@gmail.com f665e944f0 Add a single header for the library that brings in declarations for all of the GPS types supported by the library.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@439 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-08 05:06:56 +00:00
DrZiplok@gmail.com 31ab494aaa Jason's GPS_None pointed out a few changes that in turn drastically simplify it.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@431 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-07 05:57:39 +00:00
jasonshort dd8c883995 git-svn-id: https://arducopter.googlecode.com/svn/trunk@430 f9c3cf11-9bcb-44bc-f272-b75c42450872 2010-09-07 05:45:06 +00:00
jasonshort fd42ef7225 git-svn-id: https://arducopter.googlecode.com/svn/trunk@429 f9c3cf11-9bcb-44bc-f272-b75c42450872 2010-09-07 05:43:57 +00:00
DrZiplok@gmail.com ba021b5fe8 Remove a diagnostic I missed.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@424 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-07 04:22:13 +00:00
DrZiplok@gmail.com c6ceb85c21 Refactor the EM-406 support into a 406-specific init routine and a generic SiRF parser.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@423 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-07 04:20:34 +00:00
DrZiplok@gmail.com c981b7d0b0 Rework the u-blox driver.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@422 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 22:31:18 +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 3e1cd1ea2e Set native line endings on checkout to help avoid confusion.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@419 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 20:18:32 +00:00
DrZiplok@gmail.com 7e345e027c Push server-native line endings.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@418 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 20:16:50 +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 63d1cf06c1 Fix the GPS port for MediaTek tests.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@413 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 17:22:37 +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 4b762bf933 New MTK codes
git-svn-id: https://arducopter.googlecode.com/svn/trunk@400 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 05:05:52 +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 2913b74b3a Repaired EM-406 library
corrected units on MTK test program

git-svn-id: https://arducopter.googlecode.com/svn/trunk@383 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-04 14:57:20 +00:00
jasonshort 82052f95af git-svn-id: https://arducopter.googlecode.com/svn/trunk@380 f9c3cf11-9bcb-44bc-f272-b75c42450872 2010-09-03 04:13:57 +00:00
jasonshort a18d0af3d1 git-svn-id: https://arducopter.googlecode.com/svn/trunk@379 f9c3cf11-9bcb-44bc-f272-b75c42450872 2010-09-03 04:13:28 +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 116bd22aa7 406 lib - needs help
git-svn-id: https://arducopter.googlecode.com/svn/trunk@358 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-30 18:30:51 +00:00
jasonshort 8987b4d12e git-svn-id: https://arducopter.googlecode.com/svn/trunk@356 f9c3cf11-9bcb-44bc-f272-b75c42450872 2010-08-30 04:30:41 +00:00
jasonshort 785162ee8d New GPS Lib
git-svn-id: https://arducopter.googlecode.com/svn/trunk@344 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-29 22:58:22 +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