Commit Graph

525 Commits

Author SHA1 Message Date
Andrew Tridgell
16dd911547 APM: fixed another problem with DO_JUMP
off by one error!
2012-08-28 20:18:24 +10:00
Andrew Tridgell
4945d66c80 APM: check for geofence fence total of 0 2012-08-28 20:18:24 +10:00
Andrew Tridgell
fc942b2ff9 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
ac2ad44c3c 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
90aa5f2004 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
25916e9a92 Improve comments, no functional changes 2012-08-27 01:32:27 +02:00
Andrew Tridgell
a6a583650c APM: report estimated airspeed if airspeed not available 2012-08-25 17:49:26 +10:00
Andrew Tridgell
2b30561171 APM: use airspeed estimate for speed scaling if available 2012-08-25 17:49:26 +10:00
Andrew Tridgell
9cf8cc590f 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
f1ba9c08e5 APM: support forcing MANUAL of FBWA mode over MAVLink 2012-08-24 15:18:22 +10:00
Andrew Tridgell
1e6ce649ad APM: ensure fence_total is positive
thanks to David Buzz for the suggestion
2012-08-24 14:56:46 +10:00
Andrew Tridgell
fbbd94118f APM: fixed wheeled takeoff with Jons new controllers 2012-08-22 17:34:01 +10:00
Andrew Tridgell
517e6b2b9d APM: prepare for ArduPlane 2.60 2012-08-22 16:28:38 +10:00
Andrew Tridgell
d091311196 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
487b909189 APM: ensure takeoff_complete is reset 2012-08-22 16:17:55 +10:00
Andrew Tridgell
cf432c0ae0 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
56ada1a69c APM: added RSSI to RC_CHANNELS_RAW as well
and prevent double read
2012-08-22 13:58:25 +10:00
Andrew Tridgell
279e942581 APM: added RSSI in raw message too 2012-08-22 13:48:09 +10:00
Andrew Tridgell
e74dab122a 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
703ca469fe 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
2bc2460c07 APM: optional build with new controller libs 2012-08-22 12:39:07 +10:00
uncrustify
56b7f1b031 uncrustify ArduPlane/Parameters.h 2012-08-21 19:19:51 -07:00
uncrustify
e4badcccab uncrustify ArduPlane/config.h 2012-08-21 19:19:51 -07:00
uncrustify
a165644d1a uncrustify ArduPlane/planner.pde 2012-08-21 19:19:51 -07:00
uncrustify
09d5af6920 uncrustify ArduPlane/system.pde 2012-08-21 19:19:51 -07:00
uncrustify
e73834d6eb uncrustify ArduPlane/test.pde 2012-08-21 19:19:51 -07:00
uncrustify
fb727f65ac uncrustify ArduPlane/setup.pde 2012-08-21 19:19:51 -07:00
uncrustify
5e8e33f0d7 uncrustify ArduPlane/GCS_Mavlink.pde 2012-08-21 19:19:51 -07:00
uncrustify
5e913c72c4 uncrustify ArduPlane/ArduPlane.pde 2012-08-21 19:19:51 -07:00
uncrustify
57f1bd123f uncrustify ArduPlane/commands.pde 2012-08-21 19:19:51 -07:00
uncrustify
f2c523b6f0 uncrustify ArduPlane/radio.pde 2012-08-21 19:19:50 -07:00
uncrustify
e5ac3bdc65 uncrustify ArduPlane/Attitude.pde 2012-08-21 19:19:50 -07:00
uncrustify
ce04d62815 uncrustify ArduPlane/Parameters.pde 2012-08-21 19:19:50 -07:00
uncrustify
4a44a67180 uncrustify ArduPlane/Log.pde 2012-08-21 19:19:50 -07:00
uncrustify
8ecd6c4dc1 uncrustify ArduPlane/defines.h 2012-08-21 18:59:05 -07:00
uncrustify
321e7c96c4 uncrustify ArduPlane/APM_Config.h 2012-08-21 18:59:05 -07:00
uncrustify
11ad3c3d58 uncrustify ArduPlane/GCS.h 2012-08-21 18:58:53 -07:00
uncrustify
944dffc50a uncrustify ArduPlane/sensors.pde 2012-08-21 18:58:40 -07:00
uncrustify
956b101189 uncrustify ArduPlane/geofence.pde 2012-08-21 18:58:31 -07:00
uncrustify
4517ca8124 uncrustify ArduPlane/failsafe.pde 2012-08-21 18:58:24 -07:00
uncrustify
a7ffcfd037 uncrustify ArduPlane/commands_process.pde 2012-08-21 18:58:17 -07:00
uncrustify
6fd4a68c5c uncrustify ArduPlane/navigation.pde 2012-08-21 18:58:17 -07:00
uncrustify
8e3fe50338 uncrustify ArduPlane/commands_logic.pde 2012-08-21 18:58:11 -07:00
uncrustify
58381e0d8e uncrustify ArduPlane/events.pde 2012-08-21 18:57:59 -07:00
uncrustify
3f54fb67d1 uncrustify ArduPlane/climb_rate.pde 2012-08-21 18:57:21 -07:00
uncrustify
3938011f39 uncrustify ArduPlane/control_modes.pde 2012-08-21 18:57:21 -07:00
Andrew Tridgell
5d29d5e5a1 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
bd6581c523 AHRS: removed Quaternion build support from APM/ACM/rover 2012-08-22 10:42:21 +10:00
Andrew Tridgell
1ec772f69c AHRS: fixed reference to AHRS var_info for APM and ACM 2012-08-21 15:58:32 +10:00
Andrew Tridgell
9fbdcdcf84 APM: reset steering PID integrator in reset_I() 2012-08-21 15:01:01 +10:00