Commit Graph

235 Commits

Author SHA1 Message Date
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
jasonshort 72fc8a1f51 Added interactive control for altitude in Loiter (position hold) and Altitude hold (mostly just used for testing).
Throttle down = descend, throttle high = ascend.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@1831 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-30 05:27:13 +00:00
jasonshort 294d6752fe Hopefully this fixes the GPS init bug.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1830 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-30 04:24:20 +00:00
jasonshort 63f8491ad3 RC_3 - the throttle channel dead zone upped to 60 to avoid noise issues
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1825 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-28 16:11:08 +00:00
jasonshort f8a718e645 git-svn-id: https://arducopter.googlecode.com/svn/trunk@1824 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-03-28 05:18:10 +00:00
jasonshort 2a4cb2095f GPS is disabled in this version to debug some bad behavior. If it doesn't stabilize well. Let me know.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1823 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-28 04:12:19 +00:00
jasonshort eee391e6d9 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 eead295208 Better implementation of the GPS sensing.
You must now be on the ground and before you cant set the initial angle for Simple mode.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1819 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-27 06:24:53 +00:00
jasonshort 8ca3ab6f62 Revved the firmware version.
Updated the motor spin up issue - this is the I've not set my radio up properly issue.
updated 200ms motor spin up issue with the Libraries - for those who have ESC's that don't do sanity checks.





git-svn-id: https://arducopter.googlecode.com/svn/trunk@1816 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-26 21:03:20 +00:00
jasonshort 46e8c2e67a GPS Light fix
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1815 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-26 06:53:27 +00:00
jasonshort f8b0c61e63 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
jasonshort 250c800187 Yaw fix for Max Y6
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1810 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-24 01:36:52 +00:00
tridge60@gmail.com 28e363b634 undid accidentical commit of local changes
sorry about that!

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1806 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-21 07:35:54 +00:00
tridge60@gmail.com 2754a32000 fixed printf() format error
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1805 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-21 07:30:59 +00:00
tridge60@gmail.com 857ca3f5be separate out automatic reset of modes and radio
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1804 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-21 07:30:51 +00:00
tridge60@gmail.com 2937acc2a2 added ALWAYS_RESET_SETTINGS
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1803 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-21 07:30:45 +00:00
tridge60@gmail.com c8fd23ac45 allow configuration of motor arming condition
This allows the user to configure their own motor arming condition in
APM_Config.h. For example, the user could set it up for MODE1
transmitters, by using:

 #define MOTOR_ARM_CONDITION (g.rc_3.control_in == 0 && g.rc_1.control_in > 2700)
 #define MOTOR_DISARM_CONDITION (g.rc_3.control_in == 0 && g.rc_1.control_in < -2700)

You could also set it up to use the "throttle cut" switch on a
transmitter, by mapping that to a spare channel.

The default (throttle minimum and maximum/minimum yaw) is the same as
it was before

This patch also adds reporting of motor arming to the GCS, which can
be useful for testing.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1802 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-21 07:30:38 +00:00
tridge60@gmail.com 828f97f474 tridge: report mode switch changes
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1801 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-21 07:30:32 +00:00
tridge60@gmail.com 216379e286 tridge: my config
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1800 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-21 07:30:24 +00:00
tridge60@gmail.com ae9ae7f946 adapt send_text() for typesafe PSTR()
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1799 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-21 07:26:59 +00:00
mich146@hotmail.com bb285a248b implement mavlink messages
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1793 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-20 12:55:51 +00:00
jasonshort 783656b574 Added Y6 support
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1792 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-19 19:21:43 +00:00
tridge60@gmail.com 2850ac6c74 mavlink: support MAV_FRAME_GLOBAL_RELATIVE_ALT
this allows for relative altitude, but global lat/lon

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1791 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-19 10:23:08 +00:00
tridge60@gmail.com d70703aa62 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 f9469507c0 make it possible to enable RC override on non-HIL setups
this makes it possible to allow a GCS to override RC input values for
non-HIL setups. This gives a way for a GCS to set an arbitrary switch
value, or set a precise PWM value for any control.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1789 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-19 10:18:21 +00:00
tridge60@gmail.com f0458631a3 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
tridge60@gmail.com 8ca4986375 mavlink: merged in changes from APM
this fixes waypoint upload

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1787 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-19 08:05:06 +00:00
tridge60@gmail.com 2427931550 added update_events() prototype
this fixes a build error on Linux. See the equivalent commit in APM

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1786 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-18 01:50:46 +00:00
tridge60@gmail.com 51df8d1d9d HIL: fixed a build error with HIL
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1785 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-18 01:50:39 +00:00
tridge60@gmail.com 613d414908 mavlink: reduce the number of message buffers to 2
this is all we need, and it saves us some SRAM

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1784 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-18 01:50:33 +00:00