Commit Graph

71 Commits

Author SHA1 Message Date
rmackay9@yahoo.com 153da15579 ArduCopterNG - fixes to sonar/barometer altitude hold. Fixes bugs including:
1. bad values from sonar were allowed to feed into altitude PID control leading to little hops
     2. barometer altitude hold was disabled if sonar wasn't present

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1420 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-04 14:38:17 +00:00
rmackay9@yahoo.com d119da451e ArduCopterNG -
#1 - changed GPS hold to ver2 which builds up PID's I term on the long + lat instead of roll+pitch.
#2 - added ability to use Sonar and Barometer at the same time for altitude control (it uses Sonar if available, but if not uses Barometer).


git-svn-id: https://arducopter.googlecode.com/svn/trunk@1405 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-03 04:37:23 +00:00
rmackay9@yahoo.com a8267920fe ArduCopterNG - Sonar - modified code to use AN5 to match the wiki
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1380 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-31 23:58:34 +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
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
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
jphelirc fe2d46f70e EEPROM address bugfix
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1149 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-18 01:39:12 +00:00
jphelirc 48d1c18dc5 CLI updates
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1139 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-15 13:51:53 +00:00
rmackay9@yahoo.com ddd2b585f8 ArduCopterNG - changed to use AP_Compass (instead of APM_Compass)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1114 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-12 14:05:31 +00:00
rmackay9@yahoo.com f94a126061 CLI - small formatting difference when printing SENSOR values from Log to serial port
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1111 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-12 13:06:34 +00:00
rmackay9@yahoo.com 121f3ee37f CLI - Added ability to dump logs to serial port and erase logs
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1110 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-12 11:53:38 +00:00
jjulio1234 ab8f0d22a4 Updated Altitude control default PID gains. Old ones were bad.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1108 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-10 19:09:40 +00:00
jjulio1234 b51613c3a1 Corrected bug in GCS.pde related to Altitude hold parameters
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1107 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-10 19:07:21 +00:00
jjulio1234 339845770c Corrected default Magnetometer orientation
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1106 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-10 19:06:14 +00:00
jphelirc b82ba72ab2 ESC/Motor tester on CLI
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1100 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-10 05:22:52 +00:00
jphelirc d8642aeaab new baro/throttle algorithms
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1099 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-10 04:07:08 +00:00
jphelirc bb5ab746ef SW2 reversed, code cleaning
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1085 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-08 16:16:40 +00:00
jphelirc 8764e1bb1d CLI work, flightorientation
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1082 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-08 12:34:02 +00:00
jphelirc 0a91b02a93 CLI work, magneto offsets
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1081 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-08 12:19:21 +00:00
jphelirc 5778dcebdc CLI work, Reversing DIP1 +/x flightOrientation to match APM setups
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1080 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-08 11:59:14 +00:00
jphelirc 9b3b5320fc removing DONT_USE flags and minor changes
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1056 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-06 14:56:55 +00:00
rmackay9@yahoo.com 1ab6e3158f TradHeli - fixed small bug in yaw control code
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1022 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-05 07:53:18 +00:00
rmackay9@yahoo.com c747c43c0b TradHeli - DIP switches now allow you to turn on/off control of roll, pitch, yaw axis.
Added capturing yaw trim on start up to allow I term of Yaw PID controller to be lower
  Added D term to Yaw's PID controller
  Modified default PID settings for all axis.  Now includes some D term.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1016 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-05 07:06:27 +00:00
jphelirc 14f500a688 introducing flight frames and mixer tables, work
git-svn-id: https://arducopter.googlecode.com/svn/trunk@977 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-28 17:20:16 +00:00
jphelirc 590a1cd942 CLI stepping leds
git-svn-id: https://arducopter.googlecode.com/svn/trunk@974 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-28 11:16:38 +00:00
jphelirc 29be59b76d Changed magnetometer to it's defaults
git-svn-id: https://arducopter.googlecode.com/svn/trunk@973 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-28 10:58:38 +00:00
jphelirc 4a4fc212cf CLI info leds, mode fixes
git-svn-id: https://arducopter.googlecode.com/svn/trunk@972 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-28 10:56:27 +00:00
rmackay9@yahoo.com 85dc8a2cc4 ArduCopterNG - fixed small bug in the throttle safety check. It was turning on the safety mechanism after the user had held down the throttle for a *cumulative* 1 second when it should turn on only when the user has held down the throttle for a complete second (i.e. all at once)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@971 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-28 10:02:08 +00:00
rmackay9@yahoo.com 3a13180e97 ArduCopterNG - implemented safety check for throttle. It automatically engages if the throttle is held low for 1 second. It automatically releases if you somewhat slowly increase throttle. If you very quickly move it up (i.e. increase by 100 points in 5ms) the engines will be disarmed.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@970 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-28 09:04:43 +00:00
james.goppert cfae8490d5 Switch ArducopterNG to use AP_ADC library.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@950 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-27 04:56:31 +00:00
rmackay9@yahoo.com 165711f028 ArduCopterNG - Added warning message to tell people not to switch AIRFRAME to HELI and then load to a QUAD because if they do, the engines will fire up to 50% during the initialisation sequence.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@910 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-24 01:45:05 +00:00
rmackay9@yahoo.com 715cd4d3b0 ArduCopterNG: added TraditionalHeli support, changed G_dt to work in microseconds (Issue #37),
git-svn-id: https://arducopter.googlecode.com/svn/trunk@909 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-24 01:30:41 +00:00
rmackay9@yahoo.com 04364e90c0 Arducopter.h - fixed incorrect EEPROM address for cam_mode_ADR (and a few other variables after that)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@886 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-22 15:18:41 +00:00
rmackay9@yahoo.com ef6519e406 ArduCopterNG - small cosmetic change & small change to how Wire.begin is called (now only called once). http://www.arduino.cc/en/Reference/WireBegin
git-svn-id: https://arducopter.googlecode.com/svn/trunk@885 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-22 13:53:13 +00:00
jphelirc e7eda28984 gps hold and baro updates
git-svn-id: https://arducopter.googlecode.com/svn/trunk@877 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-21 12:56:25 +00:00
james.goppert f622222f4a Updated arducopter to instantiate sensor classes to accomodate new HIL classes.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@858 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-19 06:11:57 +00:00
jjulio1234 04b893ea43 Added altitude control function based on sonar (not activated yet)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@835 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-13 17:51:43 +00:00
jjulio1234 069422c086 Added altitude control function based on baro (not activated yet)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@834 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-13 17:48:46 +00:00
jjulio1234 9e6fcded41 Geographic_correction_factor is now internally calculated (no need for external parameter)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@822 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-10 21:38:56 +00:00
jjulio1234 05ea4dce7d Yellow LED on when GPS position hold mode
git-svn-id: https://arducopter.googlecode.com/svn/trunk@815 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-09 22:03:09 +00:00
jjulio1234 0ce4e75c79 Some corrections on attitude file. Magnetometer tests
git-svn-id: https://arducopter.googlecode.com/svn/trunk@814 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-09 21:38:54 +00:00
jphelirc eb5f4d7d32 prepared support for Mode 1 & Mode 2 radios
git-svn-id: https://arducopter.googlecode.com/svn/trunk@768 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-03 16:52:04 +00:00
jphelirc 6f70fddea4 work on progress, updated camera functions, rearranging module configs
git-svn-id: https://arducopter.googlecode.com/svn/trunk@767 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-03 12:39:11 +00:00
rmackay9@yahoo.com 1adfde9ff6 fixed small typo that was stopping magnetometer initialisation code from being run.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@759 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-31 14:01:21 +00:00
jphelirc 288c61fcce preparing for camera stabilization features
git-svn-id: https://arducopter.googlecode.com/svn/trunk@756 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-30 14:38:52 +00:00
jphelirc 4a07a3c09d preparing for automatic calibration via CLI
git-svn-id: https://arducopter.googlecode.com/svn/trunk@752 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-30 08:30:46 +00:00
jphelirc b853247c08 preparing for camera mounts
git-svn-id: https://arducopter.googlecode.com/svn/trunk@744 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-29 05:47:54 +00:00
jphelirc 74674b638b flight orientation selection by DIP1 switch
git-svn-id: https://arducopter.googlecode.com/svn/trunk@693 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-19 16:07:51 +00:00