Commit Graph

5743 Commits

Author SHA1 Message Date
jasonshort d4c3574a88 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 e259a22f2f 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 f10107517a git-svn-id: https://arducopter.googlecode.com/svn/trunk@1268 f9c3cf11-9bcb-44bc-f272-b75c42450872 2010-12-26 05:33:19 +00:00
jasonshort 7329cf6100 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 03ccf8aef8 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 5d7d0aea80 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 68eec6805a 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 31f33ccfd8 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 fb6d537156 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 76b4dd5f73 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 28a29923e8 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 60f9a6d216 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 3ce38444b5 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 8bd5cd041e 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
james.goppert 0a4bc9b172 Added Loop class.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1251 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-24 23:59:10 +00:00
DrZiplok@gmail.com 7e76b64515 Give AP_GPS_None a ctor so that it fits in.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1247 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-24 19:59:07 +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 f682c4bf32 Added EEProm file.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1245 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-24 05:29:56 +00:00
james.goppert 9e983c452e Some EEProm cleanup.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1244 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-24 05:25:13 +00:00
james.goppert 0344d54d3d Fixed EEProm set bug.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1243 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-24 04:25:40 +00:00
james.goppert 8e34d41cce Improved test program for EEProm, and added sync option, still some issues to work out.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1242 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-24 00:45:16 +00:00
james.goppert 93047fc9dd Added basic EEPROM library back.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1241 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-23 23:29:59 +00:00
james.goppert 7be8e77711 Removed conflicting AP_EEPROM library.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1240 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-23 23:27:04 +00:00
james.goppert 125b971173 Updated mavlink added eeprom class.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1239 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-23 23:02:51 +00:00
jasonshort b8ffddb061 EEPROM base class
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1238 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-23 19:35:39 +00:00
mandrolic 36ade2aaf6 Configurator.Net: Added Fake Arducopter comms, Wrapped progress bar into custom control, improved Mono compatibility
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1237 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-23 15:59:00 +00:00
jphelirc 81ba0d36c2 extras file (work on progress)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1236 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-23 14:07:03 +00:00
jphelirc 77822acbbf preparing for addon features
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1235 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-23 14:05:59 +00:00
rmackay9@yahoo.com 9eb889d30d AP_RangeFinder - added support for MaxsonarLV and corrected some descriptions and links for the other rangefinders
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1234 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-23 01:23:10 +00:00
mandrolic dccfe83567 Configurator.Net: Fix boolean values, stable mode vm tests
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1233 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-22 22:30:17 +00:00
rmackay9@yahoo.com b5a835b6ac ArducopterNG - turn off rangeFinders by default
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1230 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-22 13:44:56 +00:00
rmackay9@yahoo.com ab0e8262ce TradHeli - allow user to enter GPS hold mode (and added safety so if user puts roll or pitch too far from center it comes out of GPS hold mode.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1229 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-22 13:41:02 +00:00
rmackay9@yahoo.com 0b7fd432b5 Addition of position hold version 2 (builds up I term on log + lat instead of roll + pitch)
Addition of obstacle avoidance including new option in CLI menu to set PID values

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1228 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-22 13:38:54 +00:00
mandrolic b9e2dcd124 Configurator.Net: Added more Vm tests
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1227 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-22 10:04:16 +00:00
mandrolic 3911f4e6cd Configurator.Net: Added further NUnit tests
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1226 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-22 06:42:16 +00:00
jasonshort f75c7b47ff minor changes, fixed IMU class
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1225 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-22 03:34:47 +00:00
rmackay9@yahoo.com c2db64116a AP_RangeFinder - bug fix for cases when analog value is zero.
- addition of filter call which averages the past 4 values

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1224 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-21 12:34:24 +00:00
james.goppert 24bb547eae Added some functionality to RC_Channel to meet APM needs.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1223 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-21 03:53:26 +00:00
jphelirc eb89c04333 fixed missing ; from Arducopter.pde
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1222 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-21 03:35:23 +00:00
jphelirc 6fd20d880b min throttle fix
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1221 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-21 03:23:03 +00:00
mandrolic 930b09b286 Configurator.Net: Adding Test project
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1219 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-20 22:14:39 +00:00
james.goppert 075fb61a92 Added lasttime to GPS HIL.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1216 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-20 06:52:23 +00:00
jasonshort f544b20747 Mega328 version of APM_RC
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1215 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-20 06:09:15 +00:00
jasonshort 80a5016658 Wasn't compiling.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1213 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-20 02:34:46 +00:00
DrZiplok@gmail.com 290635b354 Minor code size optimisation; use memset to zero *this rather than explicitly assigning zero to the vector elements. Still not quite optimal for matrix3 as it gets three memsets, but still cheaper in terms of code size.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1212 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-20 01:52:23 +00:00
DrZiplok 47bb4d22c6 Use the presence of UDRx as an indication that the serial port x might need to be supported.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1200 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-19 19:57:34 +00:00
analoguedevices 95d683d043 git-svn-id: https://arducopter.googlecode.com/svn/trunk@1191 f9c3cf11-9bcb-44bc-f272-b75c42450872 2010-12-19 16:40:33 +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
rmackay9@yahoo.com a257c51a09 Some changes to fix compile errors when using ATmega2560.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1187 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-19 13:05:02 +00:00