Commit Graph

1110 Commits

Author SHA1 Message Date
tridge60@gmail.com 439b65324d fixed a warning in AP_Var.h
index is in system headers as a string function

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2558 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-15 12:24:40 +00:00
jasonshort 153c166ef3 Based on Doug's recommendation - increased Accel weighting to .66 – 1.33 Gs
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2557 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-14 23:37:43 +00:00
jasonshort e63fe14ce7 the temp change in the state machine didn't really help the altitude issue after all. Need more testing as the temp sway is the major factor in the lack of air pressure accuracy.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2556 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-14 15:46:38 +00:00
jasonshort 07b09447a1 git-svn-id: https://arducopter.googlecode.com/svn/trunk@2555 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-06-14 06:05:18 +00:00
jasonshort ab6bafbd5c reworked filter on temperature.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2554 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-14 05:08:11 +00:00
jasonshort 65e161cbfb removed filter on temp, was causing init problems.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2553 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-14 04:51:07 +00:00
jasonshort d2330b4239 Adjusted the state machine to read the temperature less often (from twice a second to every 4 seconds). Added a small smoothing filter.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2552 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-12 23:57:36 +00:00
jasonshort 65345160d1 Implemented moving average filter to deal with noise issues on quads, default is a 6 member filter.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2551 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-12 23:50:15 +00:00
jasonshort b07c32acd0 Added dynamic setting of kp_rollpitch, ki_rollpitch, kp_yaw.
Added three constants for kp_rollpitch, (high, med -default, low)
Functionally equivalent to prior version.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2550 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-12 23:49:01 +00:00
DrZiplok 4d6637389a Add a method to BetterStream and FastSerial that can be used to report
the amount of data that can be written without blocking.



git-svn-id: https://arducopter.googlecode.com/svn/trunk@2549 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-12 22:26:39 +00:00
rmackay9@yahoo.com 8261ea0807 Traditional Heli - merged heli code into ACM trunk code!
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2548 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-12 12:14:10 +00:00
deweibel@gmail.com 8b18bd3481 Add clearOverride message to allow failsafe recovery from joystick control
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2540 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-11 23:59:35 +00:00
rmackay9@yahoo.com 7f095c8952 ArduCopterMega - Parameters.h - updated eeprom format_version to 9 to force refresh of eeprom because of RC_Channel change to store reverse setting.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2529 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-10 03:36:34 +00:00
rmackay9@yahoo.com 13203fd211 RC_Channel.h - small change to store _reverse setting to eeprom
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2528 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-10 03:33:31 +00:00
dhcorley@msn.com 0779971bea sync rawgps test with APM 2x rawgps test
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2501 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-06 13:35:46 +00:00
dhcorley@msn.com 718b5c5e3b add mag 5883L part3
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2476 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-04 03:20:44 +00:00
dhcorley@msn.com 470d497fa6 add mag 5883 support part 2
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2474 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-04 01:23:40 +00:00
dhcorley@msn.com 69cf45781e adding 5883 mag support part 1
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2473 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-04 01:22:04 +00:00
jasonshort a83bc90759 2.0.23, Hexa Fix, Baro and Sonar tests now separated.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2464 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-03 18:49:13 +00:00
jasonshort 84ef135856 2.0.12, minor fixes.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2463 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-03 05:36:39 +00:00
rmackay9@yahoo.com b640e7b68c AP_Compass - added support for HMC5883L
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2461 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-01 13:21:20 +00:00
rmackay9@yahoo.com 9b1be05369 AP_Compass - added support for HMC5883L
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2460 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-01 13:16:18 +00:00
jasonshort a643149bdc Updates for 2.0.21
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2459 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-01 05:50:17 +00:00
rmackay9@yahoo.com 65cb8d6bdb AP_OpticalFlow - moved chip select pin so it doesn't interfere with AP_ADC
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2452 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-31 13:46:56 +00:00
rmackay9@yahoo.com 00685ba377 ACM - small bug fix to remove extra bracket
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2451 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-31 12:56:58 +00:00
jasonshort e6d081704d 2.0.20
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2449 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-31 05:39:58 +00:00
jasonshort d3c1f5c307 Big update from Field testing.
Includes updated motor tests. These need to be verified.
Nav loiter D was added (.03) - verify this helps.
Nav_lat is now filtered for Rate control. This is to keep jerky pitching to a minimum.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@2448 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-31 05:29:06 +00:00
jasonshort 80729c0423 minor formatting
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2441 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-30 04:24:07 +00:00
deweibel@gmail.com 530eeb4184 Fix bug for GCS joystick control
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2440 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-30 03:44:07 +00:00
jasonshort 66d76a273f moved mode logging to end of function for better throttlehold recording
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2435 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-29 20:27:14 +00:00
jasonshort 77966c4c6a Better sonar hold ++
added mag calibration - still not sure if needed.
better sonar spike filter
2.0.19

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2434 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-29 19:32:55 +00:00
jasonshort c67601dacb 2.0.18
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2433 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-29 04:02:01 +00:00
jasonshort 28f91400e4 Better Yaw P values, better Sonar hold values.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2429 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-28 06:52:56 +00:00
jasonshort d613f36e9c missed saving a file.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2424 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-27 23:35:08 +00:00
deweibel@gmail.com 5d5b51cbe6 Change setHIL to return a bool based on if GCS joystick control is active
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2423 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-27 23:15:29 +00:00
jasonshort 4c52712f52 2.0.16, Now that Yaw PID vs PI issue is sorted, this is reverting back to Rate based Yaw.
Made minor change in Loiter to check something.
Motor LEDs enabled. Let me know if they work OK.
Armed Motors is now Solid to match GPS behavior.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2421 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-27 18:21:55 +00:00
jasonshort 42763fe1a2 minor changes
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2420 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-27 17:58:39 +00:00
jasonshort 02248abb6e Added back in Mag offsets in CLI. Don' t know if it works yet!
removed CH_3 refs in Tri, fixed Yaw repoting bug for unsigned int

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2406 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-27 04:59:01 +00:00
jasonshort c86d335c17 Alt Hold updates
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2405 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-26 19:57:19 +00:00
jasonshort 10ef8b4f74 Yaw updates. 2.0.13
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2403 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-26 05:58:17 +00:00
jasonshort e95ea9eaaf Log FIx
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2402 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-26 01:50:32 +00:00
jasonshort 532cb00181 2.0.12 Very small Yaw Iterm added. reverted to earlier Loiter limit.
Slight tweak to Alt hold.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@2397 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-25 05:48:33 +00:00
jasonshort dd510e68ae http://code.google.com/p/arducopter/issues/detail?id=161
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2395 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-24 05:17:12 +00:00
jasonshort 0c2ffd30b3 Yaw Alternate enabled by default.
Yaw dead_zone minimized
revved to 2.0.11


git-svn-id: https://arducopter.googlecode.com/svn/trunk@2394 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-24 05:04:48 +00:00
jasonshort 662d0230a7 Adjusted gains for alt hold.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2393 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-24 04:58:53 +00:00
jasonshort 55019278c8 Added resetting of Loiter location based on stick input. Fly it to a location and let it stick.
Added Octo Support
Fixed Loiter issue regarding Yaw towards loiter location
Added Yaw control alternative for testing
decreased Yaw deadband to +-5°
revved to 2.0.10



git-svn-id: https://arducopter.googlecode.com/svn/trunk@2392 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-24 02:23:26 +00:00
jasonshort e73badae95 Added resetting of Loiter location based on stick input. Fly it to a location and let it stick.
Added Octo Support
Fixed Loiter issue regarding Yaw towards loiter location
Added Yaw control alternative for testing
decreased Yaw deadband to +-5°
revved to 2.0.10



git-svn-id: https://arducopter.googlecode.com/svn/trunk@2391 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-24 02:23:02 +00:00
jasonshort af79df1db5 Added resetting of Loiter location based on stick input. Fly it to a location and let it stick.
Added Octo Support
Fixed Loiter issue regarding Yaw towards loiter location
Added Yaw control alternative for testing
decreased Yaw deadband to +-5°
revved to 2.0.10



git-svn-id: https://arducopter.googlecode.com/svn/trunk@2390 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-24 02:18:30 +00:00
jasonshort 39a7276c9c Added resetting of Loiter location based on stick input. Fly it to a location and let it stick.
Added Octo Support
Fixed Loiter issue regarding Yaw towards loiter location
Added Yaw control alternative for testing
decreased Yaw deadband to +-5°
revved to 2.0.10



git-svn-id: https://arducopter.googlecode.com/svn/trunk@2389 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-24 02:14:18 +00:00
jasonshort 0c334938b6 Minor Gain fix. Roll and Pitch were sligtly different. Not enough to merit any point revision.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2383 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-23 19:33:18 +00:00