Commit Graph

872 Commits

Author SHA1 Message Date
mandrolic 2c17164de4 Configurator.Net: Fixed Occlusion of Mag Enable check box
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1820 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-27 14:54:06 +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
mandrolic 8daed835c8 Configurator.Net: Label changes only
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1818 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-26 21:48:12 +00:00
jasonshort 17c6acd310 reformatted
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1817 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-26 21:05:02 +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
james.goppert 43cd36e5b6 Added back some APO libraries.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1813 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-25 17:08:35 +00:00
DrZiplok 0a00e4ff21 Print the key associated with a variable when the variable is printed using AP_Var_menu_show.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1812 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-25 02:51:03 +00:00
DrZiplok 76a5a48206 Add an interface for locating a variable by key.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1811 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-25 02:46:45 +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
deweibel@gmail.com 596b33a08b Change waypoint/command storage to include options byte.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1809 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-23 03:29:46 +00:00
jphelirc bf507ffe6d cleaning my branches for updates
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1807 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-22 04:27:25 +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
tridge60@gmail.com a633617eef added -Wformat in Arduino.mk
when building with 'make' we get warnings related to printf() format
strings

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1798 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-21 07:26:03 +00:00
tridge60@gmail.com 860998d337 implemented typesafe PSTR()
This makes PSTR() type safe by using a 1 byte wrapper
structure. Attempts to use the wrong varient of a print function will
generate a compilation error.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1797 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-21 07:25:48 +00:00
jasonshort 66c86e9a87 a basic mission uploader
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1796 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-21 00:51:43 +00:00
mich146@hotmail.com 5008c1656b MavLink Update
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1795 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-20 23:28:42 +00:00
jasonshort ed202447e6 a basic mission uploader
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1794 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-20 21:56:48 +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
tridge60@gmail.com 31e93f8198 mavlink: sync with upstream
this syncs with 7e1c274437f09a8a03a5bef990e14b93c8fc8b07 from 
March 17 2011

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1782 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-18 01:34:13 +00:00
tridge60@gmail.com 6268eae835 added dummy save() method to AP_IMU_Shim
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1781 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-18 01:34:00 +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
mich146@hotmail.com 42caba7d8e Mavlink update
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1777 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-16 10:09:22 +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