Commit Graph

8327 Commits

Author SHA1 Message Date
Randy Mackay e9594c8b80 RCMapper: simple mapping object for primary input channels
allows arbitrary mapping of first 4 channels
2013-06-03 16:23:47 +10:00
Randy Mackay 993bccc60e Copter: point nose at landing point if specified 2013-06-03 15:20:37 +09:00
Randy Mackay 9f59f2724f Copter: bug fix for take-off when throttle is zero
Verify_takeoff was always returning false if throttle was zero.  The
pilot should be able to move their throttle back to zero immediately
after initiating the mission
2013-06-03 14:18:56 +09:00
Andrew Tridgell 5c13e56c04 autotest: tweak throttle and pitch control for auto-landing 2013-06-03 12:33:57 +10:00
Andrew Tridgell f7697574db Plane: use the new airspeed driver interface
the choice of analog source is now in the airspeed driver
2013-06-03 11:51:09 +10:00
Andrew Tridgell 68adeb041d AP_Airspeed: support ARSPD_PIN option for choosing source
this gives us support for arbitrary analog pins for the airspeed
sensor, plus support for the EagleTree airspeed driver on PX4
2013-06-03 11:51:09 +10:00
Andrew Tridgell 48875a3e19 PX4: enable ets_airspeed driver if connected 2013-06-03 11:51:09 +10:00
Randy Mackay 13c41e74f2 Copter: reduce pre-arm board voltage check to 4.3V 2013-06-02 20:47:58 +09:00
Andrew Tridgell d22d75d329 Rover: move to beta2 2013-06-02 14:53:46 +10:00
Andrew Tridgell 26b7de668a AP_Param: fixed parameter save bug
This bug affected parameters where the defaults are overridden in the
object constructor. For example, a PID object may have a default value
for PID_D of 0.0, but have a constructor based default of 0.2. If the
user tries to set the value to exactly 0.0, then the set wouldn't happen,
as the value matches the value in the object default var_info[]
table. 

This change ensures we force a save to eeprom if the value is changing
from the current value, regardless of the var_info[] default.

Thanks to Tom Coyle for finding this bug!
2013-06-02 14:49:34 +10:00
Andrew Tridgell 109c1ca792 PX4: added eagletree I2C airspeed driver to the NuttX build
just needs a wrapper driver in APM now
2013-06-02 14:49:34 +10:00
Randy Mackay 036e6f4f2c Copter: updated AC3-rc4 release notes 2013-06-02 12:21:06 +09:00
Randy Mackay 9e91def774 Copter: update firmware version and release notes 2013-06-02 12:19:36 +09:00
Olivier-ADLER 735406fa77 Copter : POSITION_HOLD mode -> allow user position control 2013-06-02 11:49:18 +09:00
Olivier-ADLER 68470c9176 Copter : Land submode - Check for GPS 3D Fix instead of checking for available home position 2013-06-02 11:49:12 +09:00
Dr Gareth Owen 18e566ccc5 failsafe gps lost bug fix 2013-06-02 11:41:59 +09:00
Randy Mackay b462bfed84 Copter: remove unused print_wp function 2013-06-02 11:32:38 +09:00
Dr Gareth Owen 4c6d6ea96e changed yaw reset to when armed to not use initial_simple_bearing 2013-06-02 11:29:30 +09:00
Dr Gareth Owen 79bd8b4fd0 rtl resets yaw to same as when armed - unless user specifies otherwise 2013-06-02 11:29:27 +09:00
Randy Mackay 0460147a15 Copter: guided mode yaw fix
Nose of copter now points at next guided point if it is more than 10m
away
2013-06-02 11:25:35 +09:00
Andrew Tridgell a0bf49ab42 Rover: updated AUTO_TRIGGER_PIN docs 2013-06-02 07:55:49 +10:00
Randy Mackay 57f7d5d18f AutoTest: reduce circle test time 2013-06-01 21:35:04 +09:00
Andrew Tridgell d9bcfd913a Plane: reset attitude integrators on mode change 2013-06-01 22:29:38 +10:00
Andrew Tridgell 05889391e5 APM_Control: cope with zero integrator or tconst
if the user zeros the integrator tuning factor, we need to zero the
integrator
2013-06-01 22:29:38 +10:00
Andrew Tridgell bb3171ab5f Plane: zero attitude integrators on the ground 2013-06-01 22:29:38 +10:00
Andrew Tridgell 512d3d811d APM_Control: neaten up code formatting 2013-06-01 22:29:38 +10:00
Randy Mackay 5203ba9fe3 Copter: alt hold feed forward filter 2013-06-01 21:13:47 +09:00
Randy Mackay da97c991f8 AutoTest: add circle mode test 2013-06-01 18:21:31 +09:00
Randy Mackay 592062870e Autotest: update randy's sim script 2013-06-01 18:21:31 +09:00
Randy Mackay 99f5462a03 Copter: circle mode fixes 2013-06-01 18:21:30 +09:00
Randy Mackay e3cd494709 Copter: remove debug message 2013-06-01 18:21:30 +09:00
Randy Mackay 7a2afb7443 Copter Nav: add accessor for waypoint speed 2013-06-01 18:21:29 +09:00
Randy Mackay 8b87849acd Math: add wrap_PI 2013-06-01 18:21:29 +09:00
Randy Mackay 23ce35d292 Copter: remove unused NAV_WP_INAV #define 2013-06-01 18:21:28 +09:00
Andrew Tridgell b91755318a HAL_PX4: play some tones on PX4IO firmware load
gives some chance of knowing if it worked
2013-06-01 12:41:28 +10:00
Andrew Tridgell c82caeeba1 HAL_AVR: configure analog inputs as INPUT without pullup
not all pins were defaulting to this, which led to some strange
readings on some devices. First noticed by Andi on a LM335 temperature
sensor
2013-06-01 12:19:02 +10:00
Randy Mackay 89bbf5844f Copter WPNav: remove unused variable 2013-05-31 21:41:32 +09:00
Randy Mackay 5e2fc32410 Copter: remove unused cli wp report 2013-05-31 21:04:27 +09:00
Randy Mackay 1722e438d8 Copter: pass alt hold gain to WP_Nav library 2013-05-31 21:04:10 +09:00
Randy Mackay 8c4a7ec094 Copter WPNav: Leonard's improved speed fix
Also pass in althold gain from main code
2013-05-31 21:03:27 +09:00
Andrew Tridgell dc712aab1f build: removed plane 1280 build from autotest
we probably won't support it for the next release.

See http://diydrones.com/forum/topics/keep-supporting-apm1-1280-in-arduplane
2013-05-31 18:30:11 +10:00
Andrew Tridgell 14c8c1bdfc APM_Control: tweak code layout and param descriptions 2013-05-31 17:24:55 +10:00
Randy Mackay d875e95da3 Copter: remove nav and wp tests from cli
This are more fully tested in the autotester
2013-05-31 15:23:39 +09:00
Randy Mackay ae91c4a237 Copter: alphabetise order of cli test menu 2013-05-31 15:16:06 +09:00
Randy Mackay e2495b7a49 Copter: alphabetise order of cli setup menu 2013-05-31 15:16:06 +09:00
Randy Mackay a0c8bf238e Copter: move motors test to test menu
Also allow test to be run from mission planner's cli window
2013-05-31 15:16:05 +09:00
Randy Mackay 76028fc9d3 Copter Motors: use _min_throttle in output_test 2013-05-31 15:16:04 +09:00
Randy Mackay 28f2f87b26 Copter Motors: minor formatting change 2013-05-31 15:16:04 +09:00
Andrew Tridgell 2cb28076c8 autotest: tweak plane autotest mission and parameters
a bit better with the new controllers
2013-05-31 15:31:59 +10:00
Andrew Tridgell f4efa92d3b APM_Control: fixed parameter names 2013-05-31 15:31:25 +10:00