Commit Graph

375 Commits

Author SHA1 Message Date
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
tridge60@gmail.com c931bde863 added sonar test
useful to check calibration of the sonar

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1783 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-18 01:50:27 +00:00
jasonshort acb0525bf6 removed startup_IMU_ground
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1780 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-17 17:47:04 +00:00
jasonshort 94d34ad117 Fix for reversed pitch in SIMPLE mode.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1779 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-17 05:05:16 +00:00
jasonshort b66db9f839 fix for Loop timing issue.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1776 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-16 05:43:48 +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 bd8c72958d Added new Simple mode - Better version of FBW that is offset by initial yaw angle and not north.
Added new navigation control based on bearing_error so we can leverage Crosstrack correction.
I've done limited testing on this.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1773 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-14 06:04:07 +00:00
jasonshort e5fe9231f3 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
dhcorley@msn.com 1c9635b058 cleaned up unneeded integer in xbee test
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1771 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-11 23:03:56 +00:00
dhcorley@msn.com b652f2d571 Update rawgps cli test with indicator LED.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1770 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-11 23:00:40 +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 f52f27ef67 enable logs default
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1768 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-11 02:49:12 +00:00
jasonshort 844cc5da44 Fixed new Xbee Test bug
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1767 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-10 21:27:22 +00:00
jasonshort 65037481a2 New Xbee Test Implemented
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1766 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-10 19:25:54 +00:00
DrZiplok d279cc49d2 Remove a stale reference to APM_BinComm.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1765 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-10 06:25:02 +00:00
mich146@hotmail.com f255e4ed1e 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
dhcorley@msn.com ecca178dfe Applied changes for rawgps cli test mode.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1763 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-09 14:48:49 +00:00
jasonshort 8435b3bd25 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@1761 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-09 07:00:48 +00:00
jasonshort 49b3f8bbb2 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 ded4f8d83f 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 9e26bc814a fixed PID setting bug.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1755 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-07 21:22:55 +00:00
jasonshort dd51d0730a moved Mag offsets to "test","stabilize"
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1754 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-07 19:06:29 +00:00
jasonshort 1cc6ba3da9 Added break feature on yaw control. Please verify it works properly before flying.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1753 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-07 17:19:38 +00:00
jasonshort 9b79904a5e 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 6b99e76fcb 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 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 2958ac7787 HIL: we need very fast update of motor controls for HIL
When doing HIL with a copter you need to update the controls very
rapidly, much more so than with a plane. This puts the update in the
fast loop

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1749 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-06 09:36:03 +00:00
tridge60@gmail.com c07dccd77c mavlink: fixed store of parameter values to eeprom
setting parameters via mavlink only saves them in memory. We need to
use AP_Var::save_all() to save them permanently

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1748 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-06 09:35:57 +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
jasonshort 7daf00a618 upped WP to 15 bytes
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1746 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-05 20:50:49 +00:00
jasonshort ed46609c9a Just aligning tabs
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1744 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-05 05:15:12 +00:00
jasonshort 0b2d94950f Added support for WP options
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1743 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-05 05:12:16 +00:00
jasonshort afa8be2008 Added support for WP options
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1742 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-05 04:56:58 +00:00
tridge60@gmail.com 3b19ab773d mavlink: fixed parameter string handling
this prevents running past the end of a non-terminated string.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1740 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-03 11:40:19 +00:00
tridge60@gmail.com 26066291cb fixed the flight mode channel parameter to match current APM trunk
APM trunk now calls this parameter FLT_MODE_CH. This makes the ACM
code compatible.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1739 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-03 11:40:13 +00:00
tridge60@gmail.com b7e70bb1e6 added radio override via MAVLink
This allows MAVLink commands to override the RC input values. See the
discussion on the mavlink list.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1738 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-03 11:40:06 +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 5d81f37b37 removing unused file
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1725 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-25 02:51:58 +00:00
jasonshort 7e8dc1a69e removing old EEPROM.pde file
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1724 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-25 02:51:31 +00:00
jasonshort 925215d70b removing old EEPROM.pde file
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1723 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-25 02:50:51 +00:00
jasonshort 95dcf341e2 removing old EEPROM.pde file
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1722 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-25 02:50:38 +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 fd771175b4 added mavlink
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1708 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-21 06:36:05 +00:00
jasonshort 6fa1a9576e fixed printf_P bug
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1705 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-21 04:46:26 +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 5085656e0d AP_Var integration continued....
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1699 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-20 19:07:35 +00:00
jasonshort e8a458f6d1 AP_Var integration continued
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1697 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-20 02:03:01 +00:00
jasonshort f16a7a6ab3 AP_Var integration continued
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1693 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-19 22:44:52 +00:00
jasonshort 934df2e9f3 cleanup
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1692 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-19 22:44:03 +00:00
DrZiplok 33a720bbaa Cast AP_Var types for safe printf calls.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1690 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-19 21:04:05 +00:00
jasonshort 97e38b44a8 added fake_mav command
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1689 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-19 21:02:27 +00:00
jasonshort 2196d47d08 updated to AP_Var
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1682 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-19 07:44:44 +00:00
jasonshort 3b1903e6c8 updated to AP_Var
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1681 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-19 07:21:42 +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
jasonshort 6f817ba8ae git-svn-id: https://arducopter.googlecode.com/svn/trunk@1675 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-18 23:59:01 +00:00
DrZiplok 48d6a3690c Fix type of g.throttle_min/g.throttle_max
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1672 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-17 09:44:39 +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 12240d5ad8 updated Param gen - won't compile yet.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1670 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-17 07:28:49 +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 e14e77c151 updated Param gen - won't compile yet.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1667 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-17 07:22:30 +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 f6cd2a6093 version number for tag
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1638 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-13 22:45:08 +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 6728355889 Fixed alt hold
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1631 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-11 22:14:06 +00:00
jasonshort 07c1ec3623 Fixed AP_GPS_None bug
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1629 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-11 04:49:08 +00:00
jasonshort fdf277428e updated dual kp alt hold
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1627 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:25:56 +00:00
jasonshort c22d86f6ea float update
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1626 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:14:27 +00:00
jasonshort fe2b4eb7da debug code updated
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1625 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:13:16 +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 a3d88b25a6 git-svn-id: https://arducopter.googlecode.com/svn/trunk@1623 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-10 07:11:17 +00:00
jasonshort 473cc263bf updated angle boost.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1622 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:11:00 +00:00
jasonshort 0371847faf gyro test now includes sin cos out
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1621 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:10:24 +00:00
jasonshort b8bb12a6d7 simplified protocol
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1620 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:09:51 +00:00
jasonshort 365980ebf9 improved FBW control
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1619 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:09:32 +00:00
jasonshort f03df257f3 improved rotation vectors
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1618 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:08:03 +00:00
jasonshort f291e862d4 switch compass orientation back to default
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1610 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-07 06:20:08 +00:00
jasonshort db478f6536 beefing up nav
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1609 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-07 06:19:19 +00:00
jasonshort d373278068 trying to improve alt hold.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1608 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-07 06:19:01 +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 7c15a4dc04 setup 0 default for d term where there was a conflict with external dampeners
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1606 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-07 05:59:10 +00:00
jasonshort c3c4fd5439 adjusted filter for faster response
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1605 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-07 05:58:29 +00:00
jasonshort b56bcc25ba upped buffer
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1604 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-07 05:56:54 +00:00
jasonshort fa63a199b8 updated gains
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1603 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-07 05:56:28 +00:00
jasonshort 6fec86ec54 removed debugging code
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1602 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-07 05:55:29 +00:00
jasonshort 9f50924980 updated airpressure test
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1601 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-06 18:50:16 +00:00
jasonshort c512a0ab64 removed D for nav, added extra timer for FBW and Nav.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1600 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-06 07:06:36 +00:00
jasonshort 20a57b8932 added error limit to alt hold
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1599 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-06 07:04:26 +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 ea8acd664f fixed inverted cos error
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1597 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-06 07:02:51 +00:00
jasonshort 76f0d1739b git-svn-id: https://arducopter.googlecode.com/svn/trunk@1596 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-06 07:02:25 +00:00
jasonshort 9ec8e29b7b git-svn-id: https://arducopter.googlecode.com/svn/trunk@1595 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-06 07:01:30 +00:00
jasonshort dee6c8e557 git-svn-id: https://arducopter.googlecode.com/svn/trunk@1594 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-06 07:00:55 +00:00
jasonshort 6fadbb83a7 radio flaps set to 1000
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1593 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-05 19:00:36 +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 586ed36f41 incremented version
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1585 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-01 05:01:43 +00:00
jasonshort 8fadc32000 added ch7,8 to init for hexa quads
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1584 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-01 05:01:19 +00:00
jasonshort a99ec67d5c updates for CGS
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1583 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-31 17:10:07 +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 4dcc1a905d FBW bug fixes
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1576 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-30 02:36:03 +00:00
jasonshort c7f162ed51 New feature prevents startup of motors.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1574 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-29 22:03:50 +00:00
jasonshort 4cf16f67c4 fixed Current logging output.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1572 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-29 05:55:23 +00:00
jasonshort 70f11ef88d fixed PM logging rate.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1571 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-29 04:58:31 +00:00
levinemax@gmail.com b3334b71bd small fix
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1570 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-28 18:26:17 +00:00
jasonshort 1c9a53ec81 upped the camera behavior for Max
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1569 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-28 05:39:17 +00:00
jasonshort 42c7423802 upped the threshold PWM for Max
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1568 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-28 05:38:26 +00:00
jasonshort f57887ee4a adjust tri frame output to not output 4th motor
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1567 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-28 05:36:33 +00:00
jasonshort 0b2008f581 removed debugging
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1561 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-26 17:22:39 +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 4c8c09edac added instructions for Acro setting
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1557 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-25 06:28:34 +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 d905bbc551 removed counteri - is moved to a static var in motors.pde
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1552 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-24 02:05:27 +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
jasonshort cc540ae730 fixed imax scaling bug
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1550 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-24 01:58:04 +00:00
jasonshort a32c082777 better default config
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1549 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-24 01:57:31 +00:00
jasonshort 9d5937db52 improved throttle PIDs
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1548 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-24 01:55:19 +00:00
jphelirc e449757510 hexa frame setp
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1536 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-23 16:40:03 +00:00
jasonshort 8901d8a238 Added Arming light. LED A solid = safe, blinking = armed.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1529 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-23 02:36:22 +00:00
jasonshort b912b7e0eb altitude was set to sonar pid rather than baro pid
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1528 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-23 02:09:54 +00:00
jasonshort b830afd678 was adding throttle cruise twice.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1527 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-23 02:08:46 +00:00
jasonshort aaa19ebbfc Added ability to exit the GPS test loop.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1526 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-23 02:07:21 +00:00
jasonshort 09df4b35ea updated and tested the auto-trim mode of the accell offsets. Works great, although it's slow, only .6° a second.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1525 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-23 00:35:51 +00:00
jasonshort 7205208801 Added failsafe radio test!
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1524 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-22 20:25:14 +00:00
jasonshort 60f766f9e2 cleaning up the instructions for use
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1519 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-21 06:10:26 +00:00
jasonshort a6a4fffe46 minor navigation updates, added new copter friendly altitude control for navigating waypoints.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1518 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-21 05:28:01 +00:00
jasonshort 49b387e874 made I term 0 by default
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1517 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-21 04:16:11 +00:00
jasonshort baea026e59 New updated CLI for setup. Cleaner and better defaults and reporting of values.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1516 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-20 07:11:21 +00:00
jasonshort 05f8162d81 changed casting
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1515 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-19 01:48:23 +00:00
jasonshort f5fef60e03 removed access to kD = use the dampener instead
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1513 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-18 19:02:54 +00:00
jasonshort 1606e1a8e9 updated the stabilize_dampener variable
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1512 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-18 19:00:07 +00:00
jasonshort 1fca47fc9b Added current total to the log. Logging at a lower rate. decreased size to ints.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1511 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-18 06:12:11 +00:00
jasonshort 08a2fbfdd0 Added current total to the log. Logging at a lower rate. decreased size to ints.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1510 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-18 06:11:48 +00:00
jasonshort 3ad113b4b9 Renamed the loop timers to gain a new medium loop delta. Fixed an issue with the navigation timer. Updated the current sensing. Need to add a low voltage or current trigger.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1508 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-18 02:48:44 +00:00
jasonshort 548fc9debf Added support for the AttoPilot Current sensor, Logging current is enabled at 10hz,
Trim is now called again on pitch and roll, now that trimming can be done with adc_offsets. Fixed setup::motors for x frame.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1505 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-17 03:44:12 +00:00
jasonshort 610e26db36 removed unused EEPROMB include
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1501 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-16 03:53:30 +00:00
jasonshort c960235f7e Flipped the signs. Should be right.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1500 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-16 02:44:30 +00:00
jasonshort 2b35c91775 Added new leveling command. Hold the trainer swicth - ch7- in and the copter will adjust the ADC_OFFSET based on the roll and pitch command needed to straighten the copter.
no roll and pitch input means no change. Flicking will still update the throttle cruise value. Please check I have the signs correct!!!

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1499 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-16 02:37:35 +00:00
jasonshort cf7488317d Implemented new DCM based yaw independent heading controller.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1495 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-13 01:31:05 +00:00
jasonshort 8423ab6364 added better default value for longitude scaling
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1490 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:22:54 +00:00
jasonshort 521d7ab424 added new FBW test to develop new nav functions
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1489 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:16:00 +00:00
jasonshort a80b4fbb69 added new PID nav functions to split lat and long based on Randy's work.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1488 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:15:08 +00:00
jasonshort 3ed6e0fc87 added new PID nav functions to split lat and long based on Randy's work.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1487 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:15:02 +00:00
jasonshort 53ec770da4 added new PID nav functions to split lat and long based on Randy's work.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1486 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:14:57 +00:00
jasonshort 83687a43ed added new PID nav functions to split lat and long based on Randy's work.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1485 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:13:30 +00:00
jasonshort 1ae7f54aef added reset I functions for new pids
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1484 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:12:57 +00:00
jasonshort e8734783bb deprecated older method of finding pitch and roll
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1483 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:12:29 +00:00
jasonshort b346d003e3 increased PitchMax to 22 to match NG
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1482 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:11:51 +00:00
jasonshort bcd3e7db56 renamed err to altitude_error
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1478 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-10 02:49:45 +00:00
jasonshort cfea6b014a not used
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1477 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-10 02:29:16 +00:00
jasonshort a6d8242263 Changed "rate" var to float from long.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1476 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-10 02:28:59 +00:00
jasonshort bb7e3af943 Moved implementation of alt hold from NG to ACM.
Tweaked the nav pitch and roll commands to no longer use bearing error.
Angle boost is now a lot less thrust. I was getting too much added thrust when pitched at 45°

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1475 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-10 02:24:26 +00:00
jasonshort 1a9a76c2ab Added Sonar to setup, removed Level, compass is now done with text based on and off, compass renamed to mag_offset
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1474 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-10 02:21:09 +00:00
jasonshort b6f8c1b6cb Added Sonar throttle gains,
new default dampening gain - STABILIZE_DAMPENER - which should be equivalent to NG.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1473 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-10 02:18:49 +00:00