jasonshort
dff31e7dde
git-svn-id: https://arducopter.googlecode.com/svn/trunk@444 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-09 06:35:21 +00:00
analoguedevices
63ae72648e
Commented out AP_Common, which is not implemented yet.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@443 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-08 22:18:58 +00:00
DrZiplok@gmail.com
b918f21567
Replace the questionable rotation operation with a conventional transposition.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@442 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-08 08:41:29 +00:00
DrZiplok@gmail.com
097161cd8d
Beginnings of a math library for ArduPilot(Mega) systems.
...
The vector classes are light adaptations of work by Bill Perone
(billperone@yahoo.com ), the Matrix3 class draws on them for
inspiration.
Bill's matrix classes are too heavyweight and not templated, so
they're less suitable for us here.
This code compiles, and some trivial tests seem to work, but
it should not be considered "golden" yet.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@441 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-08 08:21:46 +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
jasonshort
66a45523d6
don't fly
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@428 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-07 05:43:30 +00:00
jasonshort
a496ef2b17
don't fly
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@427 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-07 05:43:08 +00:00
jasonshort
5dc67ce6c6
don't fly
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@426 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-07 05:42:50 +00:00
DrZiplok@gmail.com
6268189d31
Dynamically allocate serial buffers at ::begin time. Allow buffer sizes to be dynamically set.
...
This provides an opportunity for saving memory in the case of ports that do little or no work (e.g. the console) as well as increasing buffering for ports that receive large amounts of data in a short time (e.g. high-bitrate NMEA).
git-svn-id: https://arducopter.googlecode.com/svn/trunk@425 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-07 05:41:35 +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
ed24b47fb3
Decouple BinComm from FastSerial, now that we can use Stream instead.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@405 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 09:40:45 +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
DrZiplok@gmail.com
6b6637bd06
Omit the ::write method, as Print already implements it.
...
Fix a critical bug in the TX output buffer handling.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@403 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 09:01:20 +00:00
jasonshort
46c203e36c
added servo_in
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@402 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 06:35:34 +00:00
jasonshort
20987c1b89
added servo_in
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@401 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 06:14:24 +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
jasonshort
11e896b64c
DCM Lib - unstable
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@398 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 05:01:54 +00:00
jasonshort
3d508f1a74
blah
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@397 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 05:00:00 +00:00
jasonshort
daca3c3de0
git-svn-id: https://arducopter.googlecode.com/svn/trunk@396 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 04:47:08 +00:00
DrZiplok@gmail.com
009ef940c6
Update to take advantage of the new Stream class in Arduino 0019.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@387 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-05 19:43:08 +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
deweibel
eb7b9f6d6e
corrected units on MTK test program
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@382 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-04 14:56:48 +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
deweibel
40a9335e1a
correct configuration bug and change values of Fix to be consistent with ublox and APM
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@377 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-02 23:29:32 +00:00
DrZiplok@gmail.com
e0be94a03f
Change the way the port declaration macros work. This saves ~300
...
bytes by shrinking the constructor.
I don't quite understand why g++ is emitting two identical copies of
the ctor, but it wastes a bunch of space. 8(
Integrate FastSerial with the C library's standard I/O. Add new
::printf and ::printf_P methods that do the obvious thing, and a
::getfd method so that a caller can use the other stdio functions with
the port if that's interesting.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@361 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-31 06:22:54 +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
DrZiplok@gmail.com
22c9ed317e
Change the way that FastSerial ports are created, so that we can avoid
...
creating port drivers for ports that aren't used.
This lets us save the RAM (~200 bytes per port) that would otherwise
have been used for buffers. It also frees up the port's interrupt
vectors so that on Mega we can use the ports for other things
(e.g. SPI Master mode).
Better to fix this now than later when we have more consumers.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@355 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-30 04:01:15 +00:00
analoguedevices
3db966f378
Added missing #endif at end of GPS_IMU.h
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@354 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-30 01:23:50 +00:00
jasonshort
11ccbb9ed7
added ground_course 0-36000 for Ardupilot
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@353 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-30 00:18:56 +00:00
jasonshort
a8b995ae1a
fixed text encoding
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@352 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-30 00:16:35 +00:00
jasonshort
a81fad58b8
git-svn-id: https://arducopter.googlecode.com/svn/trunk@351 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-30 00:16:15 +00:00
jasonshort
82bf0446ce
git-svn-id: https://arducopter.googlecode.com/svn/trunk@350 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-30 00:16:05 +00:00
jasonshort
5f459b1220
git-svn-id: https://arducopter.googlecode.com/svn/trunk@349 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-30 00:15:54 +00:00
jasonshort
2ca8ac7259
added ground_course in proper 0-360 degrees * 100 for Ardupilot
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@348 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-30 00:09:47 +00:00
jasonshort
cf7eefd94b
new Compass Lib
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@347 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-29 23:03:49 +00:00
jasonshort
e27e8a0e94
New Navigation Lib
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@346 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-29 22:59:02 +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
557b4bcded
New Compass Lib
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@343 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-29 22:52:57 +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
4625fb64b6
Added the Binary command
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@341 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-29 22:08:03 +00:00
analoguedevices
7d5fbed772
Added GPS_IMY
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@340 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-29 20:38:25 +00:00
DrZiplok@gmail.com
bd2ba2fcc9
Fix this so that it compiles.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@322 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-27 03:30:39 +00:00
DrZiplok@gmail.com
b4a840a336
Add 'extern' definitions to legitimise clients that want to assume that Serial* always exists.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@321 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-27 02:29:14 +00:00
DrZiplok@gmail.com
71efe28851
Library implementing the lower layers of the APM binary communications protocol.
...
Based on work done for the ArduStationM firmware and influenced by Randall Mackay's ArduCopter BinComm code.
This is a work in progress; discussion is welcome.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@318 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-26 08:12:19 +00:00
jasonshort
884098b74d
cleanup
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@316 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-26 02:19:30 +00:00
jasonshort
673c547d91
Seems to be an error in the MTK scaling of Lat and Long!!
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@315 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-26 02:18:13 +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
bb2f1dfcc1
New Libraries
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@287 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-24 04:14:01 +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
jasonshort
55621d583d
made trims part of init.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@285 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-24 04:13:00 +00:00
jasonshort
267ac3cc6a
New RC lib for 328
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@284 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-23 21:47:31 +00:00
jasonshort
69833ebcd5
accidentally deleted
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@283 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-23 21:45:16 +00:00
jasonshort
3565a54bf2
git-svn-id: https://arducopter.googlecode.com/svn/trunk@282 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-23 21:41:41 +00:00
jasonshort
a65098f055
git-svn-id: https://arducopter.googlecode.com/svn/trunk@281 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-23 21:41:08 +00:00
jasonshort
61179ba90f
Ardupilot Hardware RC Library for the 328
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@280 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-23 21:34:30 +00:00
jasonshort
6215ad2471
Ardupilot Hardware RC Library for the 328
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@279 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-23 21:29:53 +00:00
jasonshort
6eb2dc1301
Ardupilot Hardware RC Library for the 328
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@278 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-23 21:29:43 +00:00
jasonshort
742d0ceef2
Ardupilot Hardware RC Library for the 328
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@277 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-23 21:28:50 +00:00
DrZiplok@gmail.com
6074c410d9
"Fast" serial driver that fully overrides the Arduino-provided HardwareSerial/Serial* driver.
...
The receive side is basically a copy of the HardwareSerial driver, whilst the transmit side
uses the same algorithm as the APM_FastSerial driver.
See the example sketch for usage details.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@276 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-23 06:25:03 +00:00
deweibel
c0e5fa9908
Added GetWritePage()
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@230 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-18 18:29:03 +00:00
deweibel
c58d9577ae
corrected altitude scaling
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@229 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-18 18:28:30 +00:00
jjulio1234
4d1cbc1cca
New version of APM_FastSerial library
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@89 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-13 16:17:08 +00:00
analoguedevices
67a19893e7
Fixed typos:
...
Ground_Speed KETWORD2 -> KEYWORD2
Now calls GPS_MTK rather than GPS_UBLOX
git-svn-id: https://arducopter.googlecode.com/svn/trunk@87 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-13 07:00:49 +00:00
jjulio1234
84fb1f015d
Added APM_FastSerial library for fast serial output
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@74 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-11 21:59:16 +00:00
deweibel
53a575c69c
git-svn-id: https://arducopter.googlecode.com/svn/trunk@58 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-03 22:00:12 +00:00
deweibel
dcc9c20f15
correct ground_course scaling error
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@57 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-03 20:36:52 +00:00
analoguedevices
2648385eb9
Move to proper folder
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@55 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-07-25 17:51:53 +00:00
analoguedevices
00dde93d5a
git-svn-id: https://arducopter.googlecode.com/svn/trunk@48 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-07-17 23:31:03 +00:00
analoguedevices
8896b7e15e
git-svn-id: https://arducopter.googlecode.com/svn/trunk@47 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-07-17 23:30:51 +00:00
analoguedevices
8a82413080
Correct FOR loop that didn't get to channel 8
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@39 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-07-05 00:54:36 +00:00
jjulio1234
1a8856d0d5
New version from Ted´s Mikro branch. Added InstantPWM.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@38 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-07-04 20:15:20 +00:00
jjulio1234
830fa2b104
Adjusted IMU gains and Accelerometers dynamic weighting
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@19 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-06-21 20:15:22 +00:00
jjulio1234
3976200f50
First version. This is the "core" of the project and libraries.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-05-28 14:38:51 +00:00