Commit Graph

1090 Commits

Author SHA1 Message Date
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
jasonshort 164b93479c 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 93b187333c 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 c95419fbf5 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 873d7bb5d5 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 0554c42c08 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 93b5e984b1 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 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 e5a93a81cf 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 9a0cabb71d 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 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 40e22316ce 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 957133e940 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 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
jasonshort 0629bb01b8 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 07bd6d151f 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 411ba90742 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 34c7555fd1 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
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
jasonshort 80993acc47 HEXA_P frame support
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2243 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-11 06:14:15 +00:00
jasonshort 0830070b3b issue 130, other minor mavlink updates.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2242 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-11 06:10:06 +00:00
deweibel@gmail.com 20cdf7c698 Add hDOP for ublox gps driver
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2241 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-11 02:54:43 +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 d843f32a21 Camera stabilization updates
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2239 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-10 02:17:25 +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 104f89e654 git-svn-id: https://arducopter.googlecode.com/svn/trunk@2237 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-05-09 20:04:02 +00:00
jasonshort b31a037539 revved version
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2236 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-09 17:48:32 +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
mich146@hotmail.com e7606a3a82 Fix compile error
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2232 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-09 10:54:50 +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 be3647a234 removed auto_trim feature
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2230 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-09 04:16:11 +00:00
analoguedevices@gmail.com f85edbee36 typo fix
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2227 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-09 02:40:01 +00:00
analoguedevices@gmail.com d488c1bf58 Reverting assignment of MAVlink to Port 3 because it kills MAVLink on Port 0
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2226 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-09 02:38:36 +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
deweibel@gmail.com b5f0635455 Add an alternate compass.calculate() function substituting 1 sqrt func for 4 trig funcs.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2221 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-08 18:15:29 +00:00
jasonshort 3cfd3bc527 Added port 3 for Mavlink.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2220 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-08 17:48:54 +00:00
jasonshort 065ff44dab git-svn-id: https://arducopter.googlecode.com/svn/trunk@2190 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-05-07 21:04:17 +00:00
jasonshort 04934b3df3 removed unused Stabilize test
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2189 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-07 20:57:48 +00:00
james.goppert 33a7104f6b Fixed script typo.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2188 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-07 20:51:19 +00:00