Commit Graph

135 Commits

Author SHA1 Message Date
jasonshort 4247586584 2.0.28
Fixed a mode switch issue. 

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2685 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-26 17:02:47 +00:00
analoguedevices@gmail.com 276b2c0966 commented out line 833 in main pde that was causing compile error, as per this report:
http://diydrones.com/forum/topics/2027-prolems-compiling-solved?xg_source=activity

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2679 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-26 14:15:26 +00:00
jasonshort bcea99f64c 2.0.27
Fixed GCS updates, 
Clear GCS Streamrates by default.
moved fast PWM functions to run all the time (for quads, experiment)
cleaned up Mavlink a bit.




git-svn-id: https://arducopter.googlecode.com/svn/trunk@2678 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-26 06:38:11 +00:00
jasonshort 8f036514f4 minor formatting, enabled sonar spike filter.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2670 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-25 05:59:06 +00:00
jasonshort 9d6d0de021 Forgot to add setup for V Octo support from Dani Saez
Added start of contributors list into code comments.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2668 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-24 17:09:59 +00:00
jasonshort d2ce6ebf8d 2.0.26
minor updates, 
Arming motors now for only Stabilize, Simple, and Acro Modes.
V Octo Support


git-svn-id: https://arducopter.googlecode.com/svn/trunk@2657 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-24 04:37:54 +00:00
jasonshort cb168c399d AC2.0.24b
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2567 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-16 17:03:26 +00:00
rmackay9@yahoo.com 7845bba097 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
dhcorley@msn.com 19c6f87821 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 0cf30d93d0 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
jasonshort 142f5a5f49 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
jasonshort 9abd8c6336 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 f747e39062 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 1d21056f21 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 a42a939cc9 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 8088f24427 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 2a53e35ac7 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 2118931cdc 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 78f02b51a0 updates to get alt hold from 2.0.7.
Cleanups, better logs for Alt hold, yaw debugging
I tuned up Hein's Hexa Yaw. I think we may need to adjust Yaw gains based on Frame type.
Crossing fingers, the next rev is the final.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2381 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-23 05:53:00 +00:00
jasonshort 89714078dc Minor adjustments to Loiter behavior.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2357 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-20 05:23:12 +00:00
jasonshort acdba5bfd7 2.0.6 Beta updates. Frame options + X moved to AP_Var.
Updated nav code.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2345 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-18 23:38:24 +00:00
jasonshort 73129c52b9 Some nice updates to Rate based nav according to the simulation.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2316 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-16 04:59:06 +00:00
jasonshort 8840dd3dc2 moved back navigation into original loop - was for debugging
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2280 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-15 03:00:05 +00:00
jasonshort 8f17f95cbc Moved motors to individual files.
updated motor setup test to be sequencial pulses of the motors in CW order.
Fixed Mission scripting logic
fixed Free yaw error in neutral throttle
fixed D term issue with Baro hold - was too high
incremented firmware revision, removed frame var
removed setup show from startup
removed unused EEPROM functions
fixed broken demo mission
fixed non working loiter with delay



git-svn-id: https://arducopter.googlecode.com/svn/trunk@2275 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-15 02:02:09 +00:00
jasonshort fda05ca4d0 moved rudder servo control out of 200hz loop to test if it will reduce servo noise.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2260 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-14 04:45:28 +00:00
jasonshort 5ca72eb8b2 better Baro hold - Baro_KD was way too high.
Clean up with WP processing
moved crosstrack call to more logical location

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2259 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-14 04:30:42 +00:00
jasonshort fe9243285b Slight increase to loop speed - for Max
removed throttle integrator until I have more time to deal with the data
tweaked control loops to be more like RC1 for Max to try. They fly great BTW
tweaked config to be more better.
Mavlink - only cosmetic tweaks

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2254 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-13 19:29:45 +00:00
mich146@hotmail.com d2d166d419 Fix wp altitude issues
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2244 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-11 11:55:13 +00:00
mich146@hotmail.com 8e50fbcb42 remove hil message in non hil mode
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2240 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-10 10:26:32 +00:00
jasonshort a7b597bd0a Camera stabilization, Mavlink updates
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2238 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-10 00:00:05 +00:00
jasonshort a0d9c52d87 Mavlink Sync with APM
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2235 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-09 17:40:32 +00:00
jasonshort 0979876ccc Added APM's current sensing.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2234 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-09 15:46:56 +00:00
mich146@hotmail.com 6edb299243 AC2 - Mavlink on 2 ports
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2233 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-09 12:20:22 +00:00
jasonshort 7d38020d5f re-org'ed the logs
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2231 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-09 04:16:58 +00:00
jasonshort 985db37162 Added compass fix from APM
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2222 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-08 18:32:33 +00:00
jasonshort 08a7e02864 Final changes for Beta release
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2180 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-07 19:41:55 +00:00
jasonshort 6510b8df5a minor cleanup based on compiler warnings.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2122 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-07 00:21:16 +00:00
jasonshort 33c9f047eb increased to 160hz
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2043 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-02 04:34:15 +00:00
jasonshort ceff21a0ec removed the !!! from ACM to keep the 2650 happy.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2036 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-02 04:13:27 +00:00
jasonshort dc45d3e8c4 Added throttle_integrator
Removed cos for nav_rate testing.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1934 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-30 16:01:57 +00:00
jasonshort bc7c797fd6 added baro_alt_offset back in. Filtering out the effect over time.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1925 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-28 05:43:35 +00:00
jasonshort 2ba41bb374 refinements to nav
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1922 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-27 05:08:24 +00:00
jasonshort 6e6db9864e Loiter should work now.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1921 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-26 05:15:25 +00:00
jasonshort 121cf0f658 Warning!!! The recent build 1919 was tagged as sparkfun.
The trunk is unstable, so please be careful. I've made a lot of changes based on the Sparkfun challange. Most include how we handle things like altitude, but the mission scripting has also been updated as well.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@1920 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-25 05:12:59 +00:00
jasonshort 69b0ae329e Navigation bug fixes, tuning.
better handling of sonar at angles and baro mixing. - optimized for flats.
Crosstrack test bug found and fixed.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1916 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-21 23:07:31 +00:00
jasonshort a8b7505268 Lots of little things. Yaw control is updated based on Jani's logs. Thanks!
Takeoff now works well.
better logging.
tuned down kD for Yaw - was causing some bad behavior.
Auto mission now resets when entering mode.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1914 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-21 05:15:45 +00:00
jasonshort 62c123f6df Minor Yaw update, Log adjustment,
Main loop slightly faster at 125 hz


git-svn-id: https://arducopter.googlecode.com/svn/trunk@1912 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-20 06:44:49 +00:00
jasonshort fe6e0d2f44 Yaw fix,
Logs updated to do better Yaw Debugging
Landing is now rate limited
updated command desctiption.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1911 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-20 05:37:05 +00:00
jasonshort 38e57bccb0 Added delay option for WP_NAV. The copter will LOITER in seconds based on p1 value.
This turned out to be functionally identical to LOITER_TIME so I combined them.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1909 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-18 16:27:03 +00:00
jasonshort 588599d841 Added float for CH6_Y6_SCALING value.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1903 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-17 23:12:27 +00:00