Amilcar Lucas
f4998c3673
Moved a function from radio.pde to the RC_Channel_aux library. Now its more readable and reusable
2011-09-10 13:26:29 +02:00
Amilcar Lucas
b7a0d8836a
This is the real HEAD of the APM_Camera branch. Seams that lots of changes got lost in the SVN to GIT port
2011-09-09 16:18:38 +02:00
Amilcar Lucas
f40c85a601
This is the real HEAD of the APM_Camera branch. Seams that lots of changes got lost in the SVN to GIT port
2011-09-09 16:02:22 +02:00
Andrew Tridgell
ec398505a6
rename main pde file for arduino requirements
2011-09-09 11:52:25 +10:00
Andrew Tridgell
b9fad1262a
move Frame into ArduCopter
2011-09-09 11:52:15 +10:00
Andrew Tridgell
609ae8359d
import APM_Camera branch from SVN
2011-09-09 11:45:13 +10:00
Andrew Tridgell
0d5ea17f63
import Tools directory
2011-09-09 11:31:32 +10:00
Andrew Tridgell
e0dc1271d6
imported ArduPlane from ArduPilotMega svn
2011-09-09 11:29:39 +10:00
Andrew Tridgell
1456a2a912
renamed top level directories
...
ArduCopterMega -> ArduCopter
added archives directory for old code
2011-09-09 11:27:41 +10:00
jasonshort
bcfc74ea16
Fixed camera reversing issue.
...
moved camera back to 50hz refresh to smoothness.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3299 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-08 05:01:49 +00:00
jasonshort
2bf35fea3f
Fixed camera reversing issue.
...
moved camera back to 50hz refresh to smoothness.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3298 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-08 04:59:44 +00:00
jasonshort
e05de48e2d
Adding reverse to Channel Raw output (unscaled output) to fix camera reversing.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3297 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-08 04:58:42 +00:00
jasonshort
3b622dc43c
Reset_hold_I no longer clears throttle_I value for return to alt hold
...
Removed Baro Init in Auto Mode.
increased Rate Error limit on Alt Hold
Slightly decreased alt P to reduce pulsing motors
Added rate limit for nav so we can reduce initial pitch to target.
Using MINIMUM_THROTTLE value to test for Reseting Alt Hold now.
Fixed extra Log formatting statement in CTUN.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3294 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-07 16:43:06 +00:00
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
joeholdsworth@gmail.com
6dbfd78197
updated make file for cygwin compatibility
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3277 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 17:15:01 +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
3072b61aeb
updated XML MAVLink definitions
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3272 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 06:19:39 +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
363abab14e
Changed bit shifts to division, relying on the compiler.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3265 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 04:32:17 +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
tridge60@gmail.com
641099d2ed
renamed ACM_PI to APM_PI to fix build
...
the library name needs to match the header name for the arduino build
to work
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3254 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 01:15:24 +00:00
jasonshort
ab876ebe13
Adding ACM_PI
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3253 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 00:56:50 +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
tridge60@gmail.com
89f9fafb90
BetterSerial has txspace() now
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3248 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 22:52:22 +00:00
tridge60@gmail.com
2e989fd101
replace space() with txspace()
...
space() was actually intended to be tx buffer space, it just had a
bug. The name txspace() is clearer however, and should prevent
confusion as to which buffer its for
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3247 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 22:52:11 +00:00
tridge60@gmail.com
7774ac534e
added comm_get_txspace() to GCS_MAVLink
...
this gives us the number of bytes available in the transmit buffer for
a mavlink channel
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3246 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 21:23:24 +00:00
tridge60@gmail.com
c822bad359
added txspace() method to FastSerial
...
this returns the number of bytes available in the transmit buffer
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3245 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 21:23:15 +00:00
tridge60@gmail.com
5980e80333
fixed spelling
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3244 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 21:23:06 +00:00
jasonshort
694bfc5b87
Added two filters to the RawTemp and RawPress values to increase accuracy from noisy temp sensor.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3242 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 17:47:50 +00:00
jasonshort
4ec8805216
Reverted to older PID. Restored the older filter, and removed PI command. I am no longer using PID for the quad and have switched to PIPI loops which perform much better. The D term in this class is not that great.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3241 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 17:47:07 +00:00
tridge60@gmail.com
fa1a6d3beb
shrink the size of mavlink_message_t using max dialect message size
...
this makes mavlink_message_t much smaller, but setting
MAVLINK_MAX_PAYLOAD_LEN to the maximum message size in this
dialect. This saves us 320 bytes of memory
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3239 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 08:51:51 +00:00
tridge60@gmail.com
754ab0290b
import new mavlink version
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3238 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 08:50:24 +00:00
rmackay9@yahoo.com
0e15cecfb4
AP_RangeFinder - removed LV version because we use XL which covers both types of sonars
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3237 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 06:55:58 +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
dab8c0cca8
AP_Var: added EEPROM wear levelling
...
This adds a variable length dummy variable at the front of the EEPROM
when we erase it, which has the effect of moving the location of any
hot variables within the EEPROM. This should improve EEPROM
life. Thanks to Mike for the implementation.
Pair-Programmed-With: Mike Smith
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3234 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 06:39:57 +00:00
tridge60@gmail.com
06c4f60490
AP_Var: avoid wearing out EEPROM by re-writing the same value
...
when saving a variable, this avoids EEPROM wear by checking if the
existing value is already the same as the value being written, and
avoiding the write.
Thanks to Mike Smith for the implementation
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3233 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 06:39:49 +00:00