jasonshort
c577bce85d
new ESC calibration routine
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2121 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-06 22:46:57 +00:00
jasonshort
5242396e06
temp removed altitude requirement
...
change PWM scaling technique for Ch1, Ch2, Ch4
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2094 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-05 17:47:11 +00:00
jasonshort
2578ab3d9f
Defaulted APM_Config.h
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2091 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-05 05:21:04 +00:00
jasonshort
d858b17ebd
Fixed Rate navigation
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2090 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-05 05:19:45 +00:00
jasonshort
7892b50597
Added tri test
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2079 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-03 22:15:20 +00:00
jasonshort
39f9d8fa35
Added tri test
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2078 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-03 22:13:48 +00:00
jasonshort
e40c966752
removed D term for rate control for now. It may have been messing things up.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2077 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-03 05:24:48 +00:00
jasonshort
33c9f047eb
increased to 160hz
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2043 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-02 04:34:15 +00:00
jasonshort
ceff21a0ec
removed the !!! from ACM to keep the 2650 happy.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2036 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-02 04:13:27 +00:00
jasonshort
dc45d3e8c4
Added throttle_integrator
...
Removed cos for nav_rate testing.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1934 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-30 16:01:57 +00:00
jasonshort
bc7c797fd6
added baro_alt_offset back in. Filtering out the effect over time.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1925 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-28 05:43:35 +00:00
jasonshort
2ba41bb374
refinements to nav
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1922 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-27 05:08:24 +00:00
jasonshort
6e6db9864e
Loiter should work now.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1921 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-26 05:15:25 +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
16412abbde
added a bit of kI term for Yaw hold.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1918 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-22 21:15:17 +00:00
jasonshort
69b0ae329e
Navigation bug fixes, tuning.
...
better handling of sonar at angles and baro mixing. - optimized for flats.
Crosstrack test bug found and fixed.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1916 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-21 23:07:31 +00:00
jasonshort
a8b7505268
Lots of little things. Yaw control is updated based on Jani's logs. Thanks!
...
Takeoff now works well.
better logging.
tuned down kD for Yaw - was causing some bad behavior.
Auto mission now resets when entering mode.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1914 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-21 05:15:45 +00:00
jasonshort
62c123f6df
Minor Yaw update, Log adjustment,
...
Main loop slightly faster at 125 hz
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1912 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-20 06:44:49 +00:00
jasonshort
fe6e0d2f44
Yaw fix,
...
Logs updated to do better Yaw Debugging
Landing is now rate limited
updated command desctiption.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1911 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-20 05:37:05 +00:00
jasonshort
757a25553d
updated Logs to give me better Yaw information
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1910 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-20 04:58:43 +00:00
jasonshort
38e57bccb0
Added delay option for WP_NAV. The copter will LOITER in seconds based on p1 value.
...
This turned out to be functionally identical to LOITER_TIME so I combined them.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1909 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-18 16:27:03 +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
mich146@hotmail.com
fa7168c892
init dataflash before entering menu
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1900 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-17 06:45:18 +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
jasonshort
30e304cf18
shortened Menu by a few bytes
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1898 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:44:44 +00:00
jasonshort
b861895b7f
moved some math around for Loiter code. Added more notes
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1897 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:44:23 +00:00
jasonshort
4ae6c5c0ac
added false start fix for takeoff
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1896 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:43:47 +00:00
jasonshort
b1d76e40c7
removed Sonar, now test Altitude
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1895 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:43:25 +00:00
jasonshort
e9702efada
lowered Pitch max for nav
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1894 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:42:59 +00:00
jasonshort
7aa34211b6
Better CTUN Logging
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1893 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:42:31 +00:00
jasonshort
f54f75140e
Better CTUN Logging
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1892 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:42:00 +00:00
jasonshort
e5723a20b6
Better CTUN Logging
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1891 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:40:12 +00:00
jasonshort
7ed78fd40b
Better CTUN Logging
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1890 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:39:56 +00:00
mich146@hotmail.com
a693a33164
Log fix
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1889 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 08:27:25 +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
mich146@hotmail.com
43d61db2ed
Fix ACM Logging was logging PM out of control.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1883 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 01:00:50 +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
mich146@hotmail.com
27e69d73d5
ACM mavlink update/log fix
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1881 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-15 13:24:05 +00:00
jasonshort
66d3587b62
disabled dampening on yaw for now. will fix tomorrow.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1880 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-15 05:08:13 +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
jasonshort
0b6e664eac
temporary - forcing WP yaw tracking in Auto.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1876 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-12 02:32:24 +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
jphelirc
478af67099
preparing for hexa-x and hexa-+ frames
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1874 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-12 01:52:16 +00:00
jasonshort
c8c8d2cde2
fixes a yaw Rate issue.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1873 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-11 05:15:22 +00:00
jasonshort
06d0b9859c
commented out debugger code
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1872 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-10 23:20:22 +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
jasonshort
828f0b0443
removed the throttle min max settings for user config.
...
turned off altitude interpolation for now.
removed the "Dampener" setting in config. Using less confusing kD instead.
removed throttle_cruise reset in events.pde for RTL - would cause a crash.
added I term for pitch/roll for when flying greater than 20°
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1868 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-10 20:31:33 +00:00
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