Andrew Tridgell
83153eebd4
APM: obey pitch limits in FBWA as well
...
this means pitch limits are constrained by LIM_PITCH_MIN and
LIM_PITCH_MAX
2012-08-30 20:15:42 +10:00
Andrew Tridgell
9a987ce116
APM: fixed docs for LIM_PITCH_MIN
2012-08-30 14:55:08 +10:00
Michael Oborne
1e7adac365
AP fix attitude hil.
...
we where waiting on new_data that had no way of getting there.
2012-08-30 07:54:20 +08:00
Andrew Tridgell
f6c3197cd2
APM: added new TELEM_DELAY parameter
...
number of seconds to delay telemetry
2012-08-30 08:59:39 +10:00
Craig Elder
4ad516c445
Arducopter: increased MAVLINK delay to 6s to reduce the chance of xBee bricking
...
Arduplane: increased MAVLINK delay to 6s to reduce the chance of xBee bricking
Ardurover: increased MAVLINK delay to 6s to reduce the chance of xBee bricking
2012-08-28 20:09:10 -07:00
Andrew Tridgell
e2b8817a89
APM: added the ability to forcibly crash the plane on OBC failsafe breach
...
this allows a user to setup the OBC failsafe system to forcibly crash
the plane (surfaces at limits, zero throttle) when the failsafe system
triggers. This is to allow APM to be used in the Outback Challenge. In
the OBC an external failsafe board also does this using the heartbeat
control pin, so this is an extra safety mechanism.
To prevent users accidentially triggering a crash, this code only
activates if FS_TERM_ACTION is set to to the magic value 42.
2012-08-28 20:18:24 +10:00
Andrew Tridgell
fce01464b1
APM: added ALT_CTRL_ALG parameter
...
this allows you to select different altitude control algorithms. The
current choices are for the default (automatic based on if airspeed is
available), or to force a non-airspeed algorithm
The idea is to make it possible to use airspeed for some things (like
wind speed, speed scaling) but not for alt control
2012-08-28 20:18:24 +10:00
Andrew Tridgell
85e9fa8c3b
APM: fixed another problem with DO_JUMP
...
off by one error!
2012-08-28 20:18:24 +10:00
Andrew Tridgell
ded64fd9ea
APM: check for geofence fence total of 0
2012-08-28 20:18:24 +10:00
Andrew Tridgell
d13d117e61
APM: removed reset_I() and instead auto-reset integrator in PID library
...
this prevents us resetting key integrators on waypoint change, while
still preventing old integrators being used when a PID starts to be
used again
2012-08-28 20:18:23 +10:00
Andrew Tridgell
dcbd0fbd44
APM: cleanup throttle suppression code and don't use airspeed to unsupress
...
this removes the throttle suppression when any of the conditions are
met once, as otherwise flying slow below 10m could zero the throttle.
It also removes the use of airspeed for disabling throttle
supression. Otherwise a strong gust of wind can cause ArduPlane to
try to takeoff!
2012-08-28 20:18:23 +10:00
Amilcar Lucas
b48a1f1fc4
ArduPlane: Fix 1280 builds
...
Added fine-granular features in the AP_Mount class to reduce code size on 1280 chips
Remove camera trigger support on 1280 chips
2012-08-27 01:33:45 +02:00
Amilcar Lucas
769f04b7d6
Improve comments, no functional changes
2012-08-27 01:32:27 +02:00
Andrew Tridgell
ecc6a52904
APM: report estimated airspeed if airspeed not available
2012-08-25 17:49:26 +10:00
Andrew Tridgell
3c7d7ba228
APM: use airspeed estimate for speed scaling if available
2012-08-25 17:49:26 +10:00
Andrew Tridgell
c9cf483822
APM: added XTRK_USE_WIND parameter
...
when enabled this will use the wind estimation code to adjust the
navigation bearing, allowing the navigation code to cope with much
higher levels of wind while using a compass
2012-08-25 17:49:26 +10:00
Andrew Tridgell
abe5bbfa4d
APM: support forcing MANUAL of FBWA mode over MAVLink
2012-08-24 15:18:22 +10:00
Andrew Tridgell
b4134de550
APM: ensure fence_total is positive
...
thanks to David Buzz for the suggestion
2012-08-24 14:56:46 +10:00
Andrew Tridgell
c35530c362
APM: fixed wheeled takeoff with Jons new controllers
2012-08-22 17:34:01 +10:00
Andrew Tridgell
c730d9072e
APM: prepare for ArduPlane 2.60
2012-08-22 16:28:38 +10:00
Andrew Tridgell
2d8f99433c
APM: removed factor of 0.5 in non-airspeed takeoff pitch
...
this limited the pitch far below the specified target pitch
2012-08-22 16:28:38 +10:00
Andrew Tridgell
4668f8b7db
APM: ensure takeoff_complete is reset
2012-08-22 16:17:55 +10:00
Andrew Tridgell
95c941664f
APM: fixed bug in do_jump() navigation
...
this avoids a problem where the jump can cause the next command to be
reset to 0
2012-08-22 15:29:46 +10:00
Andrew Tridgell
6ab2a861f7
APM: added RSSI to RC_CHANNELS_RAW as well
...
and prevent double read
2012-08-22 13:58:25 +10:00
Andrew Tridgell
2d5bb7c51b
APM: added RSSI in raw message too
2012-08-22 13:48:09 +10:00
Andrew Tridgell
c0c0b8c976
APM: added RECEIVER_RSSI_PIN option
...
this allows for the receiver RSSI to be sent over MAVLink
Thanks to Burt Green for the suggestion
2012-08-22 13:33:12 +10:00
Andrew Tridgell
d445482ace
APM: added optional use of new APM_Control library
...
thanks to Jon Challinger for the new controllers!
2012-08-22 12:45:14 +10:00
Andrew Tridgell
9e926eae51
APM: optional build with new controller libs
2012-08-22 12:39:07 +10:00
uncrustify
70048f3d6f
uncrustify ArduPlane/Parameters.h
2012-08-21 19:19:51 -07:00
uncrustify
3bee769405
uncrustify ArduPlane/config.h
2012-08-21 19:19:51 -07:00
uncrustify
d0ed723c1e
uncrustify ArduPlane/planner.pde
2012-08-21 19:19:51 -07:00
uncrustify
a8e5900624
uncrustify ArduPlane/system.pde
2012-08-21 19:19:51 -07:00
uncrustify
8c2d604971
uncrustify ArduPlane/test.pde
2012-08-21 19:19:51 -07:00
uncrustify
d504ae680a
uncrustify ArduPlane/setup.pde
2012-08-21 19:19:51 -07:00
uncrustify
f7b8fecad9
uncrustify ArduPlane/GCS_Mavlink.pde
2012-08-21 19:19:51 -07:00
uncrustify
0e8a76ccdd
uncrustify ArduPlane/ArduPlane.pde
2012-08-21 19:19:51 -07:00
uncrustify
ff4afa767b
uncrustify ArduPlane/commands.pde
2012-08-21 19:19:51 -07:00
uncrustify
43991712be
uncrustify ArduPlane/radio.pde
2012-08-21 19:19:50 -07:00
uncrustify
d5767ef817
uncrustify ArduPlane/Attitude.pde
2012-08-21 19:19:50 -07:00
uncrustify
0f415bbc6a
uncrustify ArduPlane/Parameters.pde
2012-08-21 19:19:50 -07:00
uncrustify
39ab309b87
uncrustify ArduPlane/Log.pde
2012-08-21 19:19:50 -07:00
uncrustify
b960619195
uncrustify ArduPlane/defines.h
2012-08-21 18:59:05 -07:00
uncrustify
2c56e5c690
uncrustify ArduPlane/APM_Config.h
2012-08-21 18:59:05 -07:00
uncrustify
bd0146f776
uncrustify ArduPlane/GCS.h
2012-08-21 18:58:53 -07:00
uncrustify
5267ea6aad
uncrustify ArduPlane/sensors.pde
2012-08-21 18:58:40 -07:00
uncrustify
e212c152f7
uncrustify ArduPlane/geofence.pde
2012-08-21 18:58:31 -07:00
uncrustify
326ca1b7cd
uncrustify ArduPlane/failsafe.pde
2012-08-21 18:58:24 -07:00
uncrustify
4e795d4f1e
uncrustify ArduPlane/commands_process.pde
2012-08-21 18:58:17 -07:00
uncrustify
909e39d667
uncrustify ArduPlane/navigation.pde
2012-08-21 18:58:17 -07:00
uncrustify
4793162a9d
uncrustify ArduPlane/commands_logic.pde
2012-08-21 18:58:11 -07:00