Commit Graph

46 Commits

Author SHA1 Message Date
jasonshort cc494b22fa changes for Max and tri-copters
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2184 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-07 20:26:43 +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 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
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
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
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
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
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
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
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 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 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
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 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
jasonshort c1f785df66 removed debug code
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1775 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-15 05:55:51 +00:00
jasonshort 41c9b1edd7 Update to get SIMPLE mode running.
Seems to work!

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1774 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-15 05:54:48 +00:00
jasonshort 90aa2d6d83 fix for Logging, motors_out buffer overrun, formatting.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1769 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-11 21:37:37 +00:00
jasonshort b0e6f40562 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 a82434b00a HIL: fill motor_out[] when disarmed, so HIL sees zero values
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1747 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-06 09:35:50 +00:00
tridge60@gmail.com 7691133230 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 988149a1c9 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 957e1a747b Should be flyable now. Please Use Reset in setup before flying.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1726 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-25 05:33:39 +00:00
jasonshort 2b69769843 git-svn-id: https://arducopter.googlecode.com/svn/trunk@1719 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-24 05:56:59 +00:00
jasonshort b5aa056cc4 git-svn-id: https://arducopter.googlecode.com/svn/trunk@1715 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-23 05:12:41 +00:00
jasonshort 3121f943c0 in progress updates, don't fly
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1710 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-21 20:58:10 +00:00
jasonshort 9c446dbd35 continued APvar int
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1703 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-21 04:30:56 +00:00
jasonshort b28fb0a63a continued APvar int
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1701 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-20 23:09:28 +00:00
jasonshort 6f32b9e408 updated to AP_Var
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1680 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-19 03:59:58 +00:00
DrZiplok 12cfc19f0b Compilation fixes per request
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1671 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-17 09:36:33 +00:00
jasonshort a0e2094ab1 updated Param gen - won't compile yet.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1669 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-17 07:27:57 +00:00
jasonshort a243039dc1 updated Param gen - won't compile yet.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1668 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-17 07:25:31 +00:00
jasonshort 1716a41a97 updated Param gen - won't compile yet.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1666 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-17 07:09:13 +00:00
jasonshort bb9e92c83b alt hold updates
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1637 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-13 22:32:34 +00:00
jasonshort a445baaad4 alt hold updates
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1633 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-13 05:21:32 +00:00
jasonshort 6e396284a5 debug code updated
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1624 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:11:55 +00:00
jasonshort dcccaf4ca7 git-svn-id: https://arducopter.googlecode.com/svn/trunk@1607 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-07 06:18:18 +00:00
jasonshort d1e9d62072 git-svn-id: https://arducopter.googlecode.com/svn/trunk@1598 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-06 07:03:28 +00:00
jasonshort 641aeefbf5 clean-up only
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1592 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-05 06:31:03 +00:00
jasonshort 7b9ede0b29 new Hexa code
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1591 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-05 06:14:44 +00:00
jasonshort 8e32e2f4c2 Changes from flight testing
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1582 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-31 01:54:07 +00:00
jasonshort e6fe75c9aa fixed FBW bugs
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1560 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-26 07:14:54 +00:00
jasonshort e977116f9b new rate control, FBW fixes, new safety.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1556 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-25 05:53:36 +00:00
jasonshort 3a385e3170 Moved output to motors.pde
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1551 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-24 02:04:44 +00:00