Andrew Tridgell
8afd196907
APM: adapt ArduPlane for AHRS framework
13 years ago
Phil
9242c157ee
APM: Fix rudder in elevon mode.
...
elevon planes can have rudders too
13 years ago
Doug Weibel
a5df59eba3
Remove old debug print
13 years ago
Doug Weibel
7879efb8ae
Fix scaling on "turn coordination" yaw PID so that P gain values fall in "usual" range 0.1 to 10.
13 years ago
Andrew Tridgell
3b148c87d5
geofence: main geo-fence code
...
this implements the primary logic of geo-fencing
13 years ago
Andrew Tridgell
2bd18e937c
throttle: only use throttle slew in auto throttle modes
...
we don't want STABILISE and FBWA to have throttle change limits
13 years ago
Doug Weibel
2ef4c79a7c
Minimum ground speed patch from Claudio Natoli. Thanks Claudio!
...
This patch will boost the target airspeed as necessary to keep the ground speed above a parameter value - param_min_groundspeed. Airspeed is still limited to FBW-max. Setting min_groundspeed to zero (default) disables the feature.
13 years ago
Michael Oborne
c07d56ccbf
Revert Changes
...
switch back to old nav_rol lcalc
switch back to old planner - non mavlink 1.0
13 years ago
Michael Oborne
374f8cbcd0
better crosstrack
13 years ago
Michael Oborne
835b585e03
APM track following change
13 years ago
Amilcar Lucas
6484b83291
More optimizations
...
I forgot these ones.
14 years ago
Amilcar Lucas
865bb34657
Optimize the code a bit more, only perform calculations if they are necessary
14 years ago
Amilcar Lucas
c624582c91
Use a single if instead of four
14 years ago
Amilcar Lucas
e232a0936f
Use the shorter macro call instead
14 years ago
Andrew Tridgell
5d0d1b6a6d
fixed a crash in HIL
...
The g_rc_function[RC_Channel_aux::k_flap_auto] ptr came out as NULL
during one HIL run on a desktop CPU, which led to ArduPlane
crashing. I am not yet sure if this can happen in real flight, but I
think the NULL check is worthwhile to be sure.
14 years ago
Andrew Tridgell
6656847faa
fixed some ambiguous if/else combinations
...
gcc was complaining about the logic
14 years ago
Amilcar Lucas
f1d47982e2
Only use radio_in values if the channel is not used as flight_mode_channel
14 years ago
Doug Weibel
5073acce3e
Add auto flap functionality to FBW-B
14 years ago
Doug Weibel
9396e3ab58
Fix missing capitalization
14 years ago
Doug Weibel
adbe965f35
Rework prev commit a bit cleaner as suggested by Janne Mäntyharju
14 years ago
Doug Weibel
3fff788f95
Add code to disable throttle if we are on the ground and in FBW_B or higher
...
Add code to disable throttle if we are on the ground and in FBW_B or higher. We believe we are on the ground if speed < 5 and alt < 5. Also check that we are not trying to perform a takeoff.
14 years ago
Doug Weibel
932e0fe45c
Correct bug in auto flap handling
14 years ago
Andrew Tridgell
e61d742345
GCS: make the two GCS links gcs0 and gcs3
...
the artifical separation between 'gcs' and 'hil' just leads to
confusion. This also simplifies the code a bit more, and saves us a
bit more text
14 years ago
Amilcar Lucas
c7b3bfd295
Use the G_RC_AUX macro when possible. Added more comments. Remove unused code
14 years ago
Doug Weibel
251c5875fb
Disable stick mixing if in failsafe
...
If trim values differ from failsafe channel values then stick mixing will adversely affect performance while in failsafe
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
Andrew Tridgell
609ae8359d
import APM_Camera branch from SVN
14 years ago
Andrew Tridgell
e0dc1271d6
imported ArduPlane from ArduPilotMega svn
14 years ago