Commit Graph

264 Commits

Author SHA1 Message Date
jasonshort bc7c797fd6 added baro_alt_offset back in. Filtering out the effect over time.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1925 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-28 05:43:35 +00:00
jasonshort 2ba41bb374 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 6e6db9864e 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 121cf0f658 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 16412abbde added a bit of kI term for Yaw hold.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1918 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-22 21:15:17 +00:00
jasonshort 69b0ae329e Navigation bug fixes, tuning.
better handling of sonar at angles and baro mixing. - optimized for flats.
Crosstrack test bug found and fixed.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1916 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-21 23:07:31 +00:00
jasonshort a8b7505268 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 62c123f6df Minor Yaw update, Log adjustment,
Main loop slightly faster at 125 hz


git-svn-id: https://arducopter.googlecode.com/svn/trunk@1912 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-20 06:44:49 +00:00
jasonshort fe6e0d2f44 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 757a25553d updated Logs to give me better Yaw information
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1910 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-20 04:58:43 +00:00
jasonshort 38e57bccb0 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 588599d841 Added float for CH6_Y6_SCALING value.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1903 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-17 23:12:27 +00:00
jasonshort f6f5a0c8dd Added rudimentary tuning with CH6. Assign this to your Flaps knob on your radio. in APM_config.h set your desired option, then upload. The knob will adjust the value in real time. Enter the CLI and run test, tune to see the output value.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1902 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-17 23:08:16 +00:00
mich146@hotmail.com fa7168c892 init dataflash before entering menu
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1900 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-17 06:45:18 +00:00
jasonshort 0db3f100cc Reworking Yaw some more. Yaw is testing really well with this version.
I have moved Pitch_Max to a different part of the code. It was limiting SIMPLE mode which was bad. Now it only limits in Auto modes, RTL, LOITER, etc.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@1899 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-17 05:17:42 +00:00
jasonshort 30e304cf18 shortened Menu by a few bytes
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1898 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:44:44 +00:00
jasonshort b861895b7f moved some math around for Loiter code. Added more notes
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1897 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:44:23 +00:00
jasonshort 4ae6c5c0ac 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 b1d76e40c7 removed Sonar, now test Altitude
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1895 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:43:25 +00:00
jasonshort e9702efada lowered Pitch max for nav
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1894 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:42:59 +00:00
jasonshort 7aa34211b6 Better CTUN Logging
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1893 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:42:31 +00:00
jasonshort f54f75140e Better CTUN Logging
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1892 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:42:00 +00:00
jasonshort e5723a20b6 Better CTUN Logging
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1891 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:40:12 +00:00
jasonshort 7ed78fd40b Better CTUN Logging
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1890 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:39:56 +00:00
mich146@hotmail.com a693a33164 Log fix
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1889 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 08:27:25 +00:00
mich146@hotmail.com d3b12b99de Logging fix's
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1888 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 07:36:22 +00:00
mich146@hotmail.com 43d61db2ed Fix ACM Logging was logging PM out of control.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1883 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 01:00:50 +00:00
jasonshort c5959f0e46 Yaw offset for simple mode now recorded when Arming motors each time.
Yaw behavior has been re-worked and seems to be fixed now. Works fine in my shop.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1882 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-15 16:45:47 +00:00
mich146@hotmail.com 27e69d73d5 ACM mavlink update/log fix
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1881 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-15 13:24:05 +00:00
jasonshort 66d3587b62 disabled dampening on yaw for now. will fix tomorrow.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1880 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-15 05:08:13 +00:00
jasonshort 9b96a18ad4 Removed all calls to legacy trim_radio(). Handled by radio setup.
Added AP_Var Fingerprint checker. Will not let users fly with OOD firmware.
Tweaked Yaw to give better response. Let me know how it goes. It looks fine, but I've not flown it.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@1878 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-14 05:56:39 +00:00
jasonshort 2c3f6052db 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 0b6e664eac temporary - forcing WP yaw tracking in Auto.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1876 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-12 02:32:24 +00:00
jphelirc dd16a000cb preparing for hexa-x and hexa-+ frames, code updates
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1875 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-12 01:58:46 +00:00
jphelirc 478af67099 preparing for hexa-x and hexa-+ frames
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1874 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-12 01:52:16 +00:00
jasonshort c8c8d2cde2 fixes a yaw Rate issue.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1873 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-11 05:15:22 +00:00
jasonshort 06d0b9859c commented out debugger code
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1872 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-10 23:20:22 +00:00
jasonshort 608a089d68 added a limit to throttle_input = 800 for stability insurance
found an odd bug in SIMPLE mode that broke LOITER mode. Fixed



git-svn-id: https://arducopter.googlecode.com/svn/trunk@1871 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-10 23:07:24 +00:00
jasonshort 828f0b0443 removed the throttle min max settings for user config.
turned off altitude interpolation for now.
removed the "Dampener" setting in config. Using less confusing kD instead.
removed throttle_cruise reset in events.pde for RTL - would cause a crash.
added I term for pitch/roll for when flying greater than 20°

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1868 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-10 20:31:33 +00:00
jasonshort b1fcea4308 added minimum of 1 meter to alt hold
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1859 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-09 17:48:03 +00:00
jasonshort 50bd55107d revved Params firmware version
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1858 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-08 19:15:49 +00:00
jasonshort 395e642f3b 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 5d63a05de7 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 8c44ee2ac6 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 4660bb87e2 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 e8c40234a6 removed the on-the-ground limitation for setting simple mode bearing.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1841 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-03 05:16:45 +00:00
jasonshort 5d4b8d9913 git-svn-id: https://arducopter.googlecode.com/svn/trunk@1840 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-04-03 04:44:00 +00:00
jasonshort 5ef54d2de4 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 6b405c5831 minor change to GPS
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1834 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-02 19:56:35 +00:00
levinemax@gmail.com f2a9d38393 Y6 frame, motors changed to All TOP CCW / BOTTOM CW
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1833 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-01 14:45:35 +00:00