Commit Graph

507 Commits

Author SHA1 Message Date
jasonshort
1853c8ae0a Cleanup
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3293 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-07 04:56:19 +00:00
jasonshort
c152e364a8 trying to avoid I term build up on an unarmed copter prepping to take off in Auto mode.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3292 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-07 04:44:01 +00:00
jasonshort
ff7821c87a simplified and cleaned up logs.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3291 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-07 01:22:29 +00:00
jasonshort
5ba7fce665 made CTUN require armed motors to lessen the size of the logs.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3281 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 22:21:44 +00:00
jasonshort
dd392f8c0a Upped some gains on alt hold based on testing.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3280 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 18:52:26 +00:00
jasonshort
90187e2859 Upped some gains on Nav based on testing.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3279 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 18:48:06 +00:00
jasonshort
f905309999 Enabling Crosstrack correction.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3278 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 18:47:27 +00:00
jasonshort
402f0c69fa Fixed Log formatting
Fixed Alt Hold setting error.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3276 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 17:06:08 +00:00
jasonshort
e4bf6e2d33 Shortened loiter PI name to "HLD_LON_" and "HLD_LAT_"
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3273 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 16:00:49 +00:00
tridge60@gmail.com
0a72520a93 make the Xbee anti-brick delay configurabe
and change default to 2s

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3269 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 05:12:13 +00:00
jasonshort
cb64198759 removed unused variables, functions,
moved camera to 10hz loop



git-svn-id: https://arducopter.googlecode.com/svn/trunk@3268 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 05:09:07 +00:00
jasonshort
3cb1b8f9f4 2.0.40 -
added separate reset for rate based nav. This allows Wind and throttle Iterms to avoid being cleared when moving between nav modes.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@3257 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 01:30:31 +00:00
tridge60@gmail.com
3284b0733e fixed crosstrack return value when disabled
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3256 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 01:16:02 +00:00
tridge60@gmail.com
7b67e3e5a4 fixed uninitialised variables
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3255 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 01:15:55 +00:00
jasonshort
3ad21cc236 2.0.40
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3252 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 00:15:36 +00:00
tridge60@gmail.com
3ecf7b503c added MAVLink message queueing
this ensures we never block while writing a MAVLink message to a
serial port, by checking the number of available bytes in the serial
transmit buffer and deferring any message that would cause a blocking
write.

This should prevent the main loop from clagging up due to excessive
telemetry data being sent

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3251 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 23:56:26 +00:00
tridge60@gmail.com
1b9756b218 let the user know that EEPROM is being erased
it takes about 10-12 seconds, so its nice to know whats going on

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3250 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 23:56:19 +00:00
tridge60@gmail.com
fe05603582 fixed some compiler warnings
the junk variables are not needed

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3249 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 23:56:11 +00:00
rmackay9@yahoo.com
28908ee933 ACM - removed references to MaxSonar LV sonar
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3236 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 06:53:40 +00:00
tridge60@gmail.com
96c02ba974 increase firmware version
this avoids problems with previously corrupted EEPROMs

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3235 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 06:42:36 +00:00
tridge60@gmail.com
4e71884298 added memory reporting over MAVLink
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3207 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-01 00:52:08 +00:00
tridge60@gmail.com
aebed8d283 remove MAVLINK_COMM_NUM_BUFFERS
this is in GCS_MAVLink.h now

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3201 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-31 05:26:07 +00:00
analoguedevices@gmail.com
6c79b1c681 Correct the spelling of Michael O's name ;-)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3197 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-30 20:14:29 +00:00
tridge60@gmail.com
f868cd90e4 we should not be calling mavlink_delay() in the CLI
(this reverts svn 3050 from Jason)

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3167 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-24 08:17:36 +00:00
mich146@hotmail.com
1a2f26a285 version increment
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3157 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-23 06:27:51 +00:00
tridge60@gmail.com
d4a1e86854 mavlink: don't execute action commands in mavlink_delay()
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3156 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-23 06:16:37 +00:00
mich146@hotmail.com
4a974180b8 Level fix.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3155 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-23 05:52:45 +00:00
jasonshort
e0425af1f4 hack to fix Motor lights when arming after init.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3101 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-14 18:56:31 +00:00
jasonshort
75114aa93f hack to fix Motor lights when arming after init.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3100 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-14 18:54:29 +00:00
jasonshort
6b2139221d Added experimental rate based Loiter and revised RTL. You need to compile with the loiter option set to 1 in APM_Config to try.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3099 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-14 18:18:32 +00:00
jasonshort
c95bb66441 cleared out APM_Config
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3098 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-14 18:15:42 +00:00
jasonshort
312c0e6b3b removed throttle_slew - Just wasn't working well enough and added too much complexity
moved reading sonar to the 50hz loop so the Mode filter could do it's thing without causing so much latency

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3094 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-14 02:30:37 +00:00
jasonshort
bfa7cc2cb5 lowered error limit to try and reduce RTL dropping from sky.
removed minimum for RTL nav speed to see it's Loiter potential (rate based Loiter)

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3093 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-13 22:51:35 +00:00
jasonshort
56d8da0381 commented out home.alt since it's always 0
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3092 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-13 22:49:20 +00:00
jasonshort
900d0c1819 fixed missing %d in CTUN
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3091 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-13 22:45:00 +00:00
rmackay9@yahoo.com
37dd9ac144 TradHeli - fixes to use single PI controller for roll, pitch and yaw (when using an external tail gyro)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3089 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-13 09:37:01 +00:00
tridge60@gmail.com
88cd556c8d Compass: we don't need MAG_PROTOCOL any more
we only have one mag driver now

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3084 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-13 05:10:19 +00:00
tridge60@gmail.com
6ca3a2b359 compass: set the orientation of compass before compass.init()
the compass.init() code uses the orientation when calculating the
calibration. We need to use the right orientation.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3071 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-10 12:52:53 +00:00
jasonshort
8715ed3bd7 2.0.39
added callback to the test functions… not sure if this is the correct thing to do.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@3050 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-08 22:20:50 +00:00
jasonshort
b7ce6e036e 2.0.39
Change the way Rate nav works. we now take into account both forward *and lateral* rates. The signs may be backward so be careful! Let me know if the quad shoots off to one side and I'll flip the signs.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3049 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-08 16:54:56 +00:00
rmackay9@yahoo.com
51a9c52d58 ACM - changed default lens for optical flow
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3039 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-07 13:15:19 +00:00
jasonshort
1ac8e0a75f 2.0.39
added a define to make compilation optional

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3031 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 17:09:27 +00:00
jasonshort
de191b7bee 2.0.39
Cleanup and removed some old tests to save data flash.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3030 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:47:44 +00:00
jasonshort
99a327ccbf 2.0.39
Moved the motors based on feedback from Max Levine. See Wiki for details.
Simplified the CUT_MOTORS section of the code.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@3029 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:46:46 +00:00
jasonshort
4752468730 2.0.39
Simplified the CUT_MOTORS section of the code.
Added Stability patch

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3028 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:45:51 +00:00
jasonshort
3e8ca40d7d 2.0.39
Simplified the CUT_MOTORS section of the code.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3027 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:44:42 +00:00
jasonshort
64932a4e75 2.0.39
New order for motors!! Based on Hein's testing. See Wiki for updated layouts
Simplified the CUT_MOTORS section of the code.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3026 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:44:22 +00:00
jasonshort
87a015b205 2.0.39
Simplified the CUT_MOTORS section of the code.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3025 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:43:44 +00:00
jasonshort
e7a87006b0 2.0.39
New hex a motors_out with Tridge's stability patch.
Simplified the CUT_MOTORS section of the code.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3024 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:43:16 +00:00
jasonshort
04e05604a5 2.0.39
added defines for CH7 behavior - DO_FLIP 1,  DO_SET_HOVER 0 (Default)

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3023 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:22:43 +00:00