Commit Graph

1082 Commits

Author SHA1 Message Date
deweibel@gmail.com f5700c75c8 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 dcbf161c41 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 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 85fde4a6cf 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 7b185ca23d 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 4bce9465a6 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 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 0d1f184076 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 ee67f964a1 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 eda421e8ea 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 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 1ff40b053a 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 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 4a1772b5ff 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 6d3039793d 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 bd69d3f014 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 bd64dd9770 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 1f222a4a5c 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 2a3b994d51 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 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 c0ae14cc5c 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
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
rmackay9@yahoo.com c2ff95371c AP_OpticalFlow - fixed some bugs in get_position
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2380 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-22 14:44:51 +00:00
jasonshort 855761a4ef Minor log formatting
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2379 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-22 06:23:10 +00:00
jasonshort b76745470d 2.0.8 - Mavlink fixes. Works much better now with M.Oborne's planner
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2378 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-22 02:49:57 +00:00
jasonshort 16df94168f refinement of alt hold and Hein's Yaw hold fix
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2377 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-21 16:24:07 +00:00
jasonshort b8d3b12b35 added in RTL failsafe option for AUTO mode.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2372 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-21 06:52:52 +00:00
jasonshort 26655d47ad removed unneeded RTL modes
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2371 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-21 06:52:18 +00:00
jasonshort 0ecab03e16 removed unused descriptions
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2370 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-21 06:51:37 +00:00
jasonshort ba724655b2 Missing , in test
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2369 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-21 06:51:16 +00:00
jasonshort bc5b3caa58 lowered Yaw D value
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2368 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-21 06:50:46 +00:00
jasonshort f7f101d2b4 added NG analog pin definitions
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2364 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-20 17:40:11 +00:00
jasonshort 005947ea61 Fixed motors test for quads.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2363 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-20 17:34:15 +00:00
jasonshort 707210a514 Disabled I term for yaw. not working right.
Changes log step default to zero by recommendation from John C. Not sure why it works, Compiler should init to 0 by default.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2362 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-20 17:08:04 +00:00
jasonshort 9241691b44 trying to improve Yaw issues. Enabled I term for yaw. This was mistakenly Imaxed to 0
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2359 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-20 05:33:35 +00:00
jasonshort e334332682 v2.0.7 Minor adjustments to Loiter behavior.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2358 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-20 05:23:51 +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
mich146@hotmail.com ed790dad71 make sure things are saved from cli
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2348 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-19 12:40:17 +00:00
jasonshort 9b05369f1e Missed saving frame orientation.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2346 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-19 01:02:03 +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
james.goppert 938ab0ac56 Synced with mavlink dev branch, RC_CHANNELS_OVERRIDE packet added.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2344 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-18 03:24:31 +00:00
jasonshort 5a22080484 I am Adding A "PI" loop to the mix. This is a need for AC2. We can optimize the internals later, but I basically duped the get_PID and removed the D term internals.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2338 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-16 16:05:49 +00:00
jasonshort 5489585ae3 separated the PID values based on chosen Nav PID, Temporary until we get rate control tested.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2337 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-16 15:55:32 +00:00
jasonshort 02fe0ff13f added nav_WP I term reset at WP. Would like to consider scaling it with a trig function to keep continuity during nav.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2336 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-16 06:23:21 +00:00
jasonshort 66b8cebb14 added comments for frame types
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2330 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-16 06:05:08 +00:00
jasonshort 9153e448db kD for WP nav does not seem to be doing anything but causing trouble.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2323 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-16 05:48:25 +00:00
jasonshort 0617d58d4f Fixed bad output of GPS ground course.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2318 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-16 05:28:20 +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 41fc9d60ca Log_Read_Startup removed
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2306 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-15 22:36:41 +00:00