Commit Graph

887 Commits

Author SHA1 Message Date
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
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 bb715378a1 removed options - not going to go that route without proper GCS support.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1760 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-09 06:38:46 +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
mich146@hotmail.com 975f8ff006 Mavlink update
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1757 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-08 11:07:58 +00:00
deweibel@gmail.com 92bf4c4e0a Add method definition for set_centripetal()
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1756 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-08 01:47:43 +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
mandrolic ec5029e4fc Configurator.Net: Fix Magnetometer enable
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1745 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-05 16:41:03 +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
jasonshort 852b3874d5 Added Options Bitmask to Location Struct
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1741 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-05 04:39:23 +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
mandrolic 44ae403508 Configurator.Net: Added heading visualisation
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1734 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-28 22:01:48 +00:00
mandrolic bf37f35567 Configurator.Net: Added BaudRate option
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1733 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-28 20:11:44 +00:00
deweibel@gmail.com 8dbb0ed47b Add member/method to allow HIL to override radio values
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1732 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-28 02:37:51 +00:00