Commit Graph

1163 Commits

Author SHA1 Message Date
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
jasonshort 9e01cf9eb9 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 4017bb39d1 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 dee983b3f4 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 8a29d20328 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 a1aa95fe6a 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 bddde0b3da 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 a5477eee0a 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 ce3672747a 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 339dde3da3 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 ae4e337c30 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 57da9e48b3 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 329b3ebf05 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 988134358b 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 4906d3c231 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 3a44752ac3 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 125e4ace80 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 dfd231197b 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 9336c28e2a 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 4764bf9b63 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 886032141a 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 7bfeab7a6d 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 92545b1ffb 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 57f98db7ce 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 27ab016d98 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 c822e7d25e 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 799e6a0c15 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 bb059aa2d9 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 3ecd94180d 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
jasonshort 2c2c4c882c Moved PitchMax back to 18°
raised the Yaw deadband.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2305 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-15 22:34:10 +00:00
jasonshort 6d056a569e Alignment with APM
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2293 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-15 17:42:32 +00:00
mich146@hotmail.com 6514dd8890 GCS Alt fix.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2287 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-15 06:14:55 +00:00
jasonshort 4368a401c0 updated relative altitude in nav_wp
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2284 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-15 06:04:16 +00:00
jasonshort 5f5a9be764 updated to new orientation from Jani
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2282 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-15 04:32:20 +00:00
jasonshort 4646b76217 updated alternative rate nav function.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2281 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-15 04:28:54 +00:00
jasonshort efc4584e92 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 26f5610d2c added reference to FRAME_TYPE
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2277 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-15 02:04:52 +00:00
jasonshort 1a6db76d2e added reference to FRAME_TYPE
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2276 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-15 02:03:23 +00:00
jasonshort 995d5325d1 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 4a7b4ac3b4 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 12357746a9 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 7fa6e35c49 log NTUN missing \newline
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2258 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-14 01:28:58 +00:00
jasonshort c9c7f6556e incremented 2.0.3
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2255 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-13 19:30:14 +00:00
jasonshort 9780ee69d9 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
jasonshort 142443a9c7 Logging updates
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2250 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-12 21:37:38 +00:00
jasonshort b566b1e55b HEXAP_FRAME output
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2247 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-12 15:58:27 +00:00
jasonshort d035f9e9fd Added missing comma
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2246 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-12 02:13:56 +00:00
rmackay9@yahoo.com 4ce3cb9be8 AP_OpticalFlow - added set_orientation
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2245 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-11 12:49:19 +00:00