Commit Graph

479 Commits

Author SHA1 Message Date
DrZiplok 1dabb6c9ce Don't actually implement __cxa_pure_virtual, we'd prefer to have link-time errors rather than classes with pure virtual functions.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1341 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 23:33:27 +00:00
DrZiplok 973879501b use memset rather than explicit assignments to zero to zero an array, this saves code space.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1340 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 23:32:37 +00:00
DrZiplok da957cf50d Pure virtual classes should declare pure virtual member functions as 0, rather than having the linker go looking for implementations elesewhere. This lets the compiler generate better error messages when a subclass fails to implement one or more required functions.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1339 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 23:31:58 +00:00
DrZiplok 22335b531d Move ToRad here to match ToDeg
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1338 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 23:30:09 +00:00
DrZiplok ed8e70aff0 operator new[] should return a zeroed class object just like operator new does.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1337 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 23:29:46 +00:00
DrZiplok 981c3e7570 Add a GPS shim class that lets an external agent update the pseudo-GPS properties.
This should obsolete AP_GPS_HIL as it's a little more versatile (and it will generate cheaper code).


git-svn-id: https://arducopter.googlecode.com/svn/trunk@1336 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 23:27:12 +00:00
DrZiplok efd0f2dc57 Improve documentation re: macros used to define serial ports.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1335 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 23:26:10 +00:00
james.goppert 1cf0eafdb1 Added macros to AP_Common.h
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1332 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 21:30:29 +00:00
james.goppert 1259cb041f Improved AP_RcChannel examples.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1331 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 20:57:03 +00:00
jasonshort 9f0f1efc19 added channel examples
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1330 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 19:29:37 +00:00
jasonshort c03f4aee9e included setup process
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1329 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 19:20:35 +00:00
james.goppert c5f704d0ec Added changing values to RcChannel test.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1325 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 18:59:58 +00:00
jasonshort 7fbfb4498d git-svn-id: https://arducopter.googlecode.com/svn/trunk@1320 f9c3cf11-9bcb-44bc-f272-b75c42450872 2010-12-28 18:57:20 +00:00
james.goppert 34ed0b8183 Fixed include problem in AP_RcChannel.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1316 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 18:50:22 +00:00
jasonshort 09b02a06fd removed EEPROMB references
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1315 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 18:42:56 +00:00
jasonshort 857046eea4 removed EEPROMB references
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1314 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 18:42:03 +00:00
jasonshort 9abc190940 cosmetic
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1313 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 18:34:55 +00:00
jasonshort 250920edba fixed a bug on Yaw.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1309 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 01:45:43 +00:00
jasonshort 8847a8c698 fixed a bug on Yaw.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1308 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-28 01:26:05 +00:00
jasonshort 9e89ad7311 some bug fixes, added basic camera leveling example for pitch only. Added DCM test. Added better Yaw gain defaults. Split radio and RC inits into two calls. Removed inappropriate auto_trim function.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1307 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-27 23:11:01 +00:00
jasonshort 4bd32750a4 some bug fixes, added basic camera leveling example for pitch only. Added DCM test. Added better Yaw gain defaults. Split radio and RC inits into two calls. Removed inappropriate auto_trim function.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1306 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-27 23:09:08 +00:00
jasonshort 8a5d7c3fb5 added basic camera output example
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1305 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-27 23:03:53 +00:00
jasonshort daaa8232a7 fixed bug
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1304 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-27 23:03:26 +00:00
james.goppert 3a06c856b9 Fixed PID error for low pass filter.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1295 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-27 05:59:49 +00:00
DrZiplok c38d9d324e Retire the old FastSerial code.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1294 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-27 05:22:15 +00:00
james.goppert 4c4274e7c3 Fixed comment style for doxygen.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1293 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-27 04:11:00 +00:00
james.goppert 3e89e3639a Removed version/ timestamps to avoid html mods
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1290 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-27 03:23:35 +00:00
james.goppert 634de1c12a Modified doc script.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1289 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-27 03:07:45 +00:00
james.goppert 02ccc9eee2 Updated doc script.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1288 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-27 03:05:41 +00:00
james.goppert b852085f44 Updated documentation.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1287 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-27 02:59:34 +00:00
james.goppert 27188b7c12 Modified doc script.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1286 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-27 02:58:31 +00:00
james.goppert a2ffef83e1 Removed junk files from doc.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1285 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-27 02:49:50 +00:00
james.goppert fa6a80f809 Added doxygen doc for library.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1282 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-27 00:59:17 +00:00
jasonshort c1d0d2e297 fun stuff
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1281 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-27 00:35:08 +00:00
jasonshort 383b0d623a bad throttle boost code fixed.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1280 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-26 22:30:45 +00:00
jasonshort e5bb2b419b throttle Cruise error fixed
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1279 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-26 20:04:57 +00:00
jasonshort 01ee447555 Added FlyByWire mode. Simulates Position hold using the control sticks. Untested. Reset your "modes" in setup CLI before flying this code.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1278 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-26 19:49:11 +00:00
james.goppert 47e937baad Internalized APM_RC in AP_RcChannel
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1277 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-26 18:07:08 +00:00
jasonshort 4b5f5aed2e git-svn-id: https://arducopter.googlecode.com/svn/trunk@1268 f9c3cf11-9bcb-44bc-f272-b75c42450872 2010-12-26 05:33:19 +00:00
jasonshort 9e0ad4301a latest updates
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1267 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-26 05:25:52 +00:00
jasonshort 1fc9aa189e git-svn-id: https://arducopter.googlecode.com/svn/trunk@1266 f9c3cf11-9bcb-44bc-f272-b75c42450872 2010-12-26 05:18:25 +00:00
rmackay9@yahoo.com e93daf2546 ArduCopterNG - added altitude hold using Sonar/Rangefinder
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1265 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-26 04:30:55 +00:00
jasonshort 5d6c90b723 update use EEPROM class, new scaled input for RC_Channel
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1264 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-26 01:17:04 +00:00
james.goppert dd8c20b03d RC_ChannelB rename.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1263 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-25 19:14:47 +00:00
james.goppert 935df033b2 Fixed comments.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1262 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-25 19:05:35 +00:00
james.goppert c65981ab3e Fixed RC_ChannelB errors.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1261 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-25 19:03:38 +00:00
james.goppert de5c16722a Working on RC_ChannelB example.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1260 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-25 16:51:35 +00:00
james.goppert b88d96d111 Added AP_Variable.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1259 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-25 07:09:37 +00:00
james.goppert 8a6df23405 Added alternate RC_Channel class.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1253 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-25 00:06:37 +00:00
james.goppert c63973e313 Fixed EEProm for new vector style.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1252 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-24 23:59:52 +00:00