Commit Graph

523 Commits

Author SHA1 Message Date
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
uncrustify
9b133019b3 uncrustify ArduPlane/events.pde 2012-08-21 18:57:59 -07:00
uncrustify
0683be294b uncrustify ArduPlane/climb_rate.pde 2012-08-21 18:57:21 -07:00
uncrustify
c69772388b uncrustify ArduPlane/control_modes.pde 2012-08-21 18:57:21 -07:00
Andrew Tridgell
343f7d2de0 APM: removed DMP support from ArduPlane
Without centripetal correction the DMP code will almost certainly
crash a plane
2012-08-22 11:46:35 +10:00
Andrew Tridgell
6d11940ada AHRS: removed Quaternion build support from APM/ACM/rover 2012-08-22 10:42:21 +10:00
Andrew Tridgell
bf2319a0fc AHRS: fixed reference to AHRS var_info for APM and ACM 2012-08-21 15:58:32 +10:00
Andrew Tridgell
c5b77f3909 APM: reset steering PID integrator in reset_I() 2012-08-21 15:01:01 +10:00
rmackay9
11e946eb54 ArduCopter, ArduPilot: revert mavlink delay callback to be "unsigned long" 2012-08-18 20:34:41 +09:00
rmackay9
360c1198a6 ArduPlane: more "int" to "int16_t" and added cast to (int) in printf statements.
Also modified dump_log function's last_log_num to be int16_t which matches return type from DataFlash's find_last_log method.
2012-08-18 18:55:14 +09:00