jasonshort
548fc9debf
Added support for the AttoPilot Current sensor, Logging current is enabled at 10hz,
...
Trim is now called again on pitch and roll, now that trimming can be done with adc_offsets. Fixed setup::motors for x frame.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1505 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-17 03:44:12 +00:00
jasonshort
610e26db36
removed unused EEPROMB include
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1501 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-16 03:53:30 +00:00
jasonshort
c960235f7e
Flipped the signs. Should be right.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1500 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-16 02:44:30 +00:00
jasonshort
2b35c91775
Added new leveling command. Hold the trainer swicth - ch7- in and the copter will adjust the ADC_OFFSET based on the roll and pitch command needed to straighten the copter.
...
no roll and pitch input means no change. Flicking will still update the throttle cruise value. Please check I have the signs correct!!!
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1499 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-16 02:37:35 +00:00
jasonshort
cf7488317d
Implemented new DCM based yaw independent heading controller.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1495 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-13 01:31:05 +00:00
jasonshort
8423ab6364
added better default value for longitude scaling
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1490 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:22:54 +00:00
jasonshort
521d7ab424
added new FBW test to develop new nav functions
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1489 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:16:00 +00:00
jasonshort
a80b4fbb69
added new PID nav functions to split lat and long based on Randy's work.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1488 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:15:08 +00:00
jasonshort
3ed6e0fc87
added new PID nav functions to split lat and long based on Randy's work.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1487 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:15:02 +00:00
jasonshort
53ec770da4
added new PID nav functions to split lat and long based on Randy's work.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1486 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:14:57 +00:00
jasonshort
83687a43ed
added new PID nav functions to split lat and long based on Randy's work.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1485 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:13:30 +00:00
jasonshort
1ae7f54aef
added reset I functions for new pids
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1484 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:12:57 +00:00
jasonshort
e8734783bb
deprecated older method of finding pitch and roll
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1483 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:12:29 +00:00
jasonshort
b346d003e3
increased PitchMax to 22 to match NG
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1482 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:11:51 +00:00
jasonshort
bcd3e7db56
renamed err to altitude_error
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1478 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-10 02:49:45 +00:00
jasonshort
cfea6b014a
not used
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1477 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-10 02:29:16 +00:00
jasonshort
a6d8242263
Changed "rate" var to float from long.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1476 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-10 02:28:59 +00:00
jasonshort
bb7e3af943
Moved implementation of alt hold from NG to ACM.
...
Tweaked the nav pitch and roll commands to no longer use bearing error.
Angle boost is now a lot less thrust. I was getting too much added thrust when pitched at 45°
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1475 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-10 02:24:26 +00:00
jasonshort
1a9a76c2ab
Added Sonar to setup, removed Level, compass is now done with text based on and off, compass renamed to mag_offset
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1474 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-10 02:21:09 +00:00
jasonshort
b6f8c1b6cb
Added Sonar throttle gains,
...
new default dampening gain - STABILIZE_DAMPENER - which should be equivalent to NG.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1473 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-10 02:18:49 +00:00
jasonshort
6c9a59541e
Added Sonar throttle PID, renamed old throttle PID
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1472 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-10 02:15:24 +00:00
jasonshort
f7cd2301d2
Added Sonar throttle PID
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1471 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-10 02:13:57 +00:00
jasonshort
842f3c569c
Added Sonar and Baro enumerations
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1470 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-10 02:13:23 +00:00
jasonshort
538e0ec2bb
Added Tri-copter support for Max
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1421 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-04 17:55:03 +00:00
jasonshort
87a1043f25
Added Tri-copter support for Max
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1414 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-04 06:54:40 +00:00
jasonshort
ff256d95e2
Added Tri-copter support for Max
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1412 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-04 06:06:26 +00:00
jasonshort
8ce92b6711
Big update - motors re-assigned to new positions.
...
New, fabulous Yaw control.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1398 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-02 20:34:42 +00:00
jasonshort
95e66d9f06
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1374 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-30 07:41:43 +00:00
jasonshort
852c9e3cc8
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1373 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-30 07:40:57 +00:00
jasonshort
a446389c8e
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1351 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-29 01:36:30 +00:00
jasonshort
10036c7277
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
94ebc7860c
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
cdb6ad86d3
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
2bc568e3b6
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
c2458845ee
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
bce0c6723b
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
7e1a4d4a38
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
94f2d4e66e
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
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
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
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
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