Commit Graph

41 Commits

Author SHA1 Message Date
jasonshort 82e51aec82 Big update 2.0.38
moved ground start to first arming
added ground start flag
moved throttle_integrator to 50hz loop
CAMERA_STABILIZER deprecated - now always on
renamed current logging bit mask to match APM
added MA filter to PID - D term
Adjusted PIDs based on continued testing and new PID filter
added MASK_LOG_SET_DEFAULTS to match APM
moved some stuff out of ground start into system start where it belonged
Added slower Yaw gains for DCM when the copter is in the air
changed camera output to be none scaled PWM
fixed bug where ground_temperature was unfiltered
shortened Baro startup time
fixed issue with Nav_WP integrator not being reset
RTL no longer yaws towards home
Circle mode for flying a 10m circle around the point where it was engaged. - Not tested at all! Consider Circle mode as alpha.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@2966 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-30 20:42:54 +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 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
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 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 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 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 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 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
mich146@hotmail.com 57338c488a 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 cce3dd73bb 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 6f0a639898 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 b70c08d417 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 05a24c070a temp removed altitude requirement
change PWM scaling technique for Ch1, Ch2, Ch4

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2094 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-05 17:47:11 +00:00
jasonshort cf4b603315 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 93a7a76c9b 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 7e843ee679 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 0c61e9dd79 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 1b947f5d9e 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 d858951e91 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 125804e532 added false start fix for takeoff
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1896 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:43:47 +00:00
jasonshort 21980216b9 Altitude control fix - trying to go higher would make alt hold reset to 0
Yaw fix, 
improved PID defaults
potential logging fix


git-svn-id: https://arducopter.googlecode.com/svn/trunk@1877 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-13 16:33:06 +00:00
jasonshort 76cd645fff fixed typo
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1857 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-08 19:15:27 +00:00
jasonshort c3737db26c added better value for Sonar minimal value for landing
removed FBW mode - no longer needed
added set_throttle_cruise_flag to auto set the throttle value for alt hold
added altitude minimum option for waypoints
added support for relative WPs
added support for Yaw tracking per WP in options bitmask

lowered default sonar kD value
increased minimal value to set the throttle cruise value with CH7 switch
updated README.txt
added additional stock test missions available in CLI


git-svn-id: https://arducopter.googlecode.com/svn/trunk@1856 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-08 19:13:31 +00:00
jasonshort 442f5168be missing }
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1844 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-04 00:15:45 +00:00
jasonshort 7b26ec8463 updated test mission. It now passes the tests. Be sure to verify things are working well before flying.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1843 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-03 21:11:14 +00:00
jasonshort f8903dea55 found the issue with stability - something to do with APVar.
commenting out 	setup_show(NULL,NULL); in startup_ground() causes some values to misload???
Or maybe it's a delay thing.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1839 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-03 00:47:20 +00:00
jasonshort 4e39571d9c implementing yaw tracking.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1821 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-27 21:26:34 +00:00
jasonshort bcc1bf65f2 updates - support
new test mission  - Liftoff, spin, land
updated scripted Yaw control

Public Beta candidate...

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1814 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-26 06:35:52 +00:00
tridge60@gmail.com d09800f6f9 disabled tabs in emacs formatting markers
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1790 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-19 10:20:11 +00:00
tridge60@gmail.com c34a86be89 added send_text_P()
this merges the send_text_P() updates from APM

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1788 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-19 10:14:15 +00:00
jasonshort cee3e2d57e alignment with APM 2.0
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1772 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-13 06:25:38 +00:00
mich146@hotmail.com 2389bf58a9 ACM fix old mavlink reference. (use new GCS_mavlink library)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1764 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-10 01:06:27 +00:00
jasonshort 8114b717f2 lots of minor changes, Logs should be working better now.
Pos hold is now called "Loiter" - I don't want to have a flight mode called HOLD POS...



git-svn-id: https://arducopter.googlecode.com/svn/trunk@1759 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-09 06:37:09 +00:00
tridge60@gmail.com 7f330fbb6c added C coding style headers to a few more files
this helps for people running editors like emacs that can read these
and set the right tab levels

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1758 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-08 12:20:48 +00:00
jasonshort 02029ab20c Added break feature on yaw control. Please verify it works properly before flying.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1752 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-07 16:59:58 +00:00
jasonshort 1fe9a84e2c bug fixes and updates
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1751 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-07 06:00:27 +00:00
jasonshort 97107d89d2 bug fixes and updates
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1750 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-07 00:57:06 +00:00
tridge60@gmail.com b1e54558e4 mavlink: fixed build with MAVLink and HIL
this fixes the build with HIL_MODE_ATTITUDE and MAVLink enabled. Basic
MAVLink operation works.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1737 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-03 11:39:52 +00:00
jasonshort b59474fc1a Big changes in the way commands are parsed and mission tasks are done. Not tested at all.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1736 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-03 02:32:50 +00:00
jasonshort 2555abcf1d git-svn-id: https://arducopter.googlecode.com/svn/trunk@1719 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-24 05:56:59 +00:00