Amilcar Lucas
ce010b4e38
Moved update_aux_servo_function() to the RC_Channel_aux.* files.
...
This simplifies code sharing between ArduCopter and Arduplane at the expense of 48bytes.
Moved CH_x defines out of the defines.h file and into the library where they belong
14 years ago
Amilcar Lucas
213969202a
Moved the RC_Channel_aux class to its own file. The includes could be improved, has anyone got any ideas how ?
14 years ago
Amilcar Lucas
c5fd792024
Make the switch case complete
14 years ago
Amilcar Lucas
93cbe664d6
Only run camera code if camera support is enabled
14 years ago
Amilcar Lucas
9f14c5f578
Fix RC range reversal
14 years ago
Amilcar Lucas
2fa92aea4c
Fix RC range reversal
14 years ago
Amilcar Lucas
46185ee5d8
Revert "Fix RC range reversal"
...
This reverts commit d5046b1097b0b5455aa1a59e9dd80533e589432e.
14 years ago
Amilcar Lucas
51a8ec0ba8
Fix RC range reversal
14 years ago
Amilcar Lucas
dd19a7302d
I do not understand this, but it looks like it needs int8 here
14 years ago
Amilcar Lucas
8aeee578b4
For now point the camera manually via the RC inputs
14 years ago
Amilcar Lucas
84f108d598
Fix manual values mapping
14 years ago
Amilcar Lucas
d84f80cb0d
Moved enum values around to make code simpler to read and use
14 years ago
Amilcar Lucas
b36d0352f3
Added a comment about lower half of the array
14 years ago
Amilcar Lucas
386e80eaf6
Added comments and TODO
14 years ago
Amilcar Lucas
d3280bdd16
Added comments explaining when should the function be used
14 years ago
Amilcar Lucas
7e0bff9cbe
Egg_drop has a 0..100 range
14 years ago
Andrew Tridgell
0a793a1327
Revert "added support for AP_ADC MAVLink packet"
...
This reverts commit a65a2dda2c1bfa95437880227a3abddc95b329f5.
I am reverting this not for any sane reason, but because my 3 APM
boards now lock up on any I2C operation, and I don't know why. I can't
see how this change could have caused it, but I don't want to take the
chance.
14 years ago
Andrew Tridgell
c65d038ccf
added support for AP_ADC MAVLink packet
...
this adds AP_ADC, which sends raw ADC 16 bit values for all 6 ADC
channels at the Extra3 MAVLink stream rate. Extra3 was previously
unused
14 years ago
Andrew Tridgell
95af8dc172
mavlink: import new version with AP_ADC packet
...
this adds the AP_ADC packet which gives us raw ADC values
14 years ago
Amilcar Lucas
59cbb8ec6f
Moved a camera mount function call, out of the servos update function
14 years ago
Amilcar Lucas
f4998c3673
Moved a function from radio.pde to the RC_Channel_aux library. Now its more readable and reusable
14 years ago
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
14 years ago
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
14 years ago
Andrew Tridgell
ec398505a6
rename main pde file for arduino requirements
14 years ago
Andrew Tridgell
b9fad1262a
move Frame into ArduCopter
14 years ago
Andrew Tridgell
609ae8359d
import APM_Camera branch from SVN
14 years ago
Andrew Tridgell
0d5ea17f63
import Tools directory
14 years ago
Andrew Tridgell
e0dc1271d6
imported ArduPlane from ArduPilotMega svn
14 years ago
Andrew Tridgell
1456a2a912
renamed top level directories
...
ArduCopterMega -> ArduCopter
added archives directory for old code
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
jasonshort
1853c8ae0a
Cleanup
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3293 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
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
14 years ago
jasonshort
ff7821c87a
simplified and cleaned up logs.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3291 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
jasonshort
f905309999
Enabling Crosstrack correction.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3278 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
tridge60@gmail.com
3072b61aeb
updated XML MAVLink definitions
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3272 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
tridge60@gmail.com
7b67e3e5a4
fixed uninitialised variables
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3255 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago