tridge60@gmail.com
aa91c2c1f2
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
776b9b6f7a
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
211de598c3
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
fd10614822
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
e7c0fea807
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
4e29176262
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
117c533154
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
b1ffabc9a3
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
56e8179486
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
d09800f6f9
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
5385e19f35
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
c34a86be89
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
0374781c56
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
9baf649923
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
48539f7b49
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
bc662fa134
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
0370eeba8c
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
f5b1c84e2d
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
cc548e4c19
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
119194d443
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
01a4f764bf
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
4c2e458be6
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
2bee76b0b8
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
984e6c7928
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
323f2bfa59
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
602a4fb423
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
cee3e2d57e
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
64b5eb90fe
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
66c9ded2d8
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
732446eb3a
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
20fdbda315
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
667aa34fbd
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
3fc86e7048
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
a07e3aa7fc
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
2389bf58a9
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
69f6dd6265
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
61b96075cf
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
28011d8800
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
8114b717f2
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
7f330fbb6c
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
d5ab8f3a79
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
967130ed7e
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
be709de318
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
d94ce4bb92
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
af71b3a764
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
02029ab20c
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
1fe9a84e2c
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
97107d89d2
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
756a5b0052
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
f7f48ebb20
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