Commit Graph

470 Commits

Author SHA1 Message Date
tridge60@gmail.com 6491ac2b58 CLI: make it possible to completely disable the CLI
set CLI_ENABLED to DISABLED for no CLI. This saves a lot of memory

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2895 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-17 10:34:05 +00:00
tridge60@gmail.com 0227c97a99 HIL: don't access dcm functions in HIL mode
the dcm is not valid in HIL_MODE_ATTITUDE

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2894 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-17 10:33:53 +00:00
tridge60@gmail.com 1a35209e5d HIL: enable reception of GPS and ATTITUDE via MAVLink
this allows us to get GPS position and ATTITUDE in HIL_MODE_ATTITUDE

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2893 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-17 10:33:42 +00:00
tridge60@gmail.com e6a46d888f HIL: send location information
we don't send MSG_LOCATION in HIL mode during GPS updates, as we don't
call the GPS update routines, so we need to send MSG_LOCATION as part
of the Position stream

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2892 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-17 10:33:33 +00:00
tridge60@gmail.com ba21d6d642 HIL: when in HIL_MODE_ATTITUDE, we get altitude from gps setHIL
we need to skip the barometer and sonar calls

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2891 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-17 10:33:17 +00:00
tridge60@gmail.com 3dd3f1091e don't force config in default APM_Config.h
defaults for these are already in config.h, but protected with #ifndef
wrappers. The #ifndef wrappers are useful to allow users to have
makefile targets for different configs, so you can (for example), do
"make heli" with a local makefile

This makes it easier for developers to ensure that all configs build
correctly

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2890 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-17 10:33:09 +00:00
tridge60@gmail.com 7b83bbf47b make a lot more functions and variables static
this saves about 1k of code space through better compiler optimisation

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2889 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-17 10:32:00 +00:00
tridge60@gmail.com 8e5c48842f make main variables and functions static
this makes most of the variables and functions in the main
ArduCopterMega.pde code static, which allows the compiler to optimise
better, and exposes unused variables as compiler warnings

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2888 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-17 10:31:46 +00:00
tridge60@gmail.com 1b2f19156f logging: moved the default log_bitmask calculation to compile time
this saves a little bit of code by moving the calculation of the
default log bitmask to compile time from runtime

(merge from APM)

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2887 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-17 10:31:17 +00:00
tridge60@gmail.com 1eb4b611e6 make it possible to completely disable logging
set LOGGING_ENABLED  to DISABLED to disable all logging. This saves
about 10k of flash when disabled.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2886 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-17 10:31:07 +00:00
tridge60@gmail.com 72fc086005 allow flight modes to be setup over MAVLink
this adopts the same method of setting up flight modes over MAVLink as
APM now has

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2885 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-17 10:30:53 +00:00
tridge60@gmail.com 6467338f10 fixed a bunch of compiler warnings
mostly signed/unsigned warnings

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2884 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-17 10:30:21 +00:00
mich146@hotmail.com 67c2003bf0 add level command via mavlink, and fix fall through
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2877 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-17 00:14:50 +00:00
jasonshort e34d21958f 2.0.36
Added Yaw control when descending in Alt hold
lowered kP & kD for Alt hold a tad
Adjusted RTL behavior to do speed control up to 4m to home, then go into Loiter
Fixed issue with AUTO not getting proper input.
Added Limit to high side of motors

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2874 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-16 23:08:07 +00:00
jasonshort 7d6d9ba285 2.0.36
Added Yaw control when descending in Alt hold
lowered kP & kD for Alt hold a tad
Adjusted RTL behavior to do speed control up to 4m to home, then go into Loiter
Fixed issue with AUTO not getting proper input.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2873 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-16 22:32:54 +00:00
jasonshort 291f31eb0c 2.0.36
Added Yaw control when descending in Alt hold
lowered kP & kD for Alt hold a tad
Adjusted RTL behavior to do speed control up to 4m to home, then go into Loiter


git-svn-id: https://arducopter.googlecode.com/svn/trunk@2872 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-16 22:12:52 +00:00
jasonshort 01a8cec348 tweaked WP speed so long distances wont blow up equation.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2871 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-16 22:02:47 +00:00
jasonshort b8f1fbe2fc Added in limit for alt hold to prevent I term run up.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2870 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-16 21:53:47 +00:00
jphelirc 7e4a416012 ESC setup notes
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2847 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-14 02:52:08 +00:00
jasonshort 9eb9f12fb0 minor cosmetics
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2846 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-14 02:01:51 +00:00
jasonshort 6d3bccf85a 2.0.35
Added camera reversing parameters in AP_Var
Added RTL Throttle Hold set/check
Added dynamic speed control to slow down as you reach waypoints and RTL Home
upped Yaw Dead zone slightly.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2841 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-12 20:04:15 +00:00
jasonshort 0412dbac79 Added Scaling to yaw response on Auto, RTL, and Guided modes
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2837 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-11 00:54:00 +00:00
jasonshort ed5c7d01b1 New PIDs - I rewrote the control laws from scratch to add a PI Rate function. The end result should fly nearly identically to the current version. The nice detail is that we can use NG PID values for easy transition!
Before: ->  After
Stabilize P –> Stabilize P (Use NG values, or 8.3 x the older AC2 value)
Stabilize I –> Stabilize I (Stays same value)
Stabilize D –> Rate P (Stays same value)
–> Rate I (new)
 
Added a new value – an I term for rate. The old stabilization routines did not use this term. Please refer to the config.h file to read more about the new PIDs.
Added framework for using DCM corrected Accelerometer rates. Code is commented out for now.
Added set home at Arming.
Crosstrack is now a full PID loop, rather than just a P gain for more control. 
Throttle now slews when switching out of Alt hold or Auto modes for less jarring transitions
Sonar and Baro PIDs are now combined into a throttle PID Yaw control is completely re-written.
Added Octa_Quad support - Max



git-svn-id: https://arducopter.googlecode.com/svn/trunk@2836 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-11 00:47:08 +00:00
jasonshort 877e965e31 AC 2.0.33 Beta
Slighted tuned down D term in Loiter PIDs after testing, tuned up P slightly
fixed alt hold bug cause when gaining 3D lock in alt hold.
Mavlink now reports correct throttle scaling value in mavlink


git-svn-id: https://arducopter.googlecode.com/svn/trunk@2746 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-04 06:40:37 +00:00
jasonshort d9e54f8b67 AC 2.0.33 Beta
Slighted tuned down D term in Loiter PIDs after testing, tuned up P slightly
fixed alt hold bug cause when gaining 3D lock in alt hold.
Mavlink now reports correct throttle scaling value in mavlink


git-svn-id: https://arducopter.googlecode.com/svn/trunk@2745 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-04 06:37:29 +00:00
deweibel@gmail.com a61ac47050 Correct bug in CLI log "enable all" command.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2733 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-03 01:58:41 +00:00
jasonshort 66798352c7 AC 2.0.32 Beta
new Loiter PIDs
tuned down control on standard frame
shunk the mixing range for sonar from 3 meters to 2 meters
added framework for Guided mode - not tested!
removed pitch and roll deadzone
decoupled SIMPLE mode from LOITER PIDs
Synced Mavlink with APM
Logs report correct WP number now.
disabled Sonar spike filter.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@2722 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-02 22:44:59 +00:00
jasonshort 1158e35945 Fixed bug in alt hold caused by false Sonar readings.
Reverted to prior Rangefinderlib in case that was causing bad sonar readings.
reduced crosstrack gains and max angle to avoid overshoots and oscillations.
added additional D gain to Loiter hold to prevent overshoots
added D gain to WP_nav to avoid speed oscillations
upped navigation speed to 6m/s from 4.5m/s


git-svn-id: https://arducopter.googlecode.com/svn/trunk@2710 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-01 00:19:10 +00:00
jasonshort 88d258f804 clean up to work better with the Mission planner and enable Camera control.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2697 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-28 06:31:18 +00:00
jasonshort 0efd0fa1f3 changed camera stabilization to 1 instead of ENABLED
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2696 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-27 19:57:40 +00:00
jasonshort 7f3719086f 2.0.29
Fixed Mavlink issue
Added look at home option for SIMPLE mode. Off be default. Untested.
Upped performance of Yaw.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@2695 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-27 17:01:53 +00:00
jasonshort 33362a86c2 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 cbb4f3da76 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 4f75842cbc 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 a08cd5a6dc 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 451f7e5339 extra \ removed
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2669 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-25 00:42:57 +00:00
jasonshort 15ea3ac0b4 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 619a0837ce formatting
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2658 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-24 04:41:48 +00:00
jasonshort 1e8572f7c6 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
dhcorley@msn.com d3d68ea4c7 re-sync rawgps cli test with APM2 (r2501)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2601 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-20 17:11:54 +00:00
dhcorley@msn.com d52d441607 Add planner menu item on main menu . (issue tracker 194)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2599 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-20 15:17:08 +00:00
dhcorley@msn.com 315fb055b5 syncing planner.pde with APM2. For planner menu item on main menu . (issue tracker 194)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2598 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-20 15:12:55 +00:00
jasonshort 645d2fa333 2.0.25
changed Yaw to be offset from current angle to avoid the kick back.
Made minimum motor speed user settable, upped to 13% (130)
tweaked alt hold D to be higher and P to be slightly lower.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@2579 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-19 05:31:33 +00:00
jasonshort 0008f268af log merge with APM
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2568 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-06-16 17:12:10 +00:00
jasonshort 39b08decf3 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
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
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
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
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
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 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
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
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 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
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
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
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