Commit Graph

54930 Commits

Author SHA1 Message Date
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
jphelirc a0e38161df added dont_use empty file
git-svn-id: https://arducopter.googlecode.com/svn/trunk@357 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-30 16:17:08 +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
jphelirc 68ba755660 added README to ArducopterNG folder
git-svn-id: https://arducopter.googlecode.com/svn/trunk@334 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-29 02:05:52 +00:00
jphelirc eaf6488fb3 renamed Arducopter.pde to ArducoptreNG.pde
git-svn-id: https://arducopter.googlecode.com/svn/trunk@332 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-28 17:30:20 +00:00
jphelirc 93bcda0518 New ArducopterNG architecture
git-svn-id: https://arducopter.googlecode.com/svn/trunk@331 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-28 16:07:33 +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
jphelirc d681c067a1 Throttle check for initial motor startup
git-svn-id: https://arducopter.googlecode.com/svn/trunk@308 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-24 17:34:26 +00:00
CaranchoEngineering aef969bbb6 added changes to fix yaw orientation for sensor output and transmitter config
git-svn-id: https://arducopter.googlecode.com/svn/trunk@290 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-24 08:48:15 +00:00
CaranchoEngineering 26f8fb800f changed SENSOR_SIGN to match Jani's setup, updated limits to arm/disarm motors from transmitter, removed #define for Jani's frame (will just use his setup), updated X mode motor control to match new gyro setup
git-svn-id: https://arducopter.googlecode.com/svn/trunk@289 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-24 08:47:31 +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
CaranchoEngineering f711db0e0a Flight tested versions. Closed out Issues #8, #9, #21. Ready for 3rd party verification.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@255 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-22 08:16:12 +00:00
CaranchoEngineering c99be7e0ca Flight tested transmitter cal. Yaw is OK. Acro Mode OK. Flew Stable Mode OK.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@254 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-22 06:48:12 +00:00
jphelirc 92fd459504 adding missing sensors.pde file
git-svn-id: https://arducopter.googlecode.com/svn/trunk@251 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-20 16:41:41 +00:00
jphelirc 36628eeb06 cleaning up code and adding functions from APM main code
git-svn-id: https://arducopter.googlecode.com/svn/trunk@250 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-20 16:41:09 +00:00
CaranchoEngineering 12d54e7e72 moved default value config to UserConfig.h, added transmitter cal code, critical part currently commented out until testing completed.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@249 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-20 06:12:44 +00:00
jphelirc 085f0741a8 adding info text to frame folder
git-svn-id: https://arducopter.googlecode.com/svn/trunk@237 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-19 01:11:21 +00:00
jjulio1234 13f8f8ef11 Corrected bug on GPS position hold (added GPS_Dt for D and I terms of the control). Separated navigation.pde file.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@231 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-18 19:23:29 +00:00