Commit Graph

8252 Commits

Author SHA1 Message Date
Randy Mackay
352a25e53f Copter: roll-pitch fix to allow I to reduce
Contributed by Leonard Hall
2013-07-10 15:12:04 +09:00
Randy Mackay
d11e5497a4 Copter: relax pre-arm checks for mag field
previously it was 50% ~ 150% of expected mag field but now expanded to
35% ~ 165%.
2013-07-07 17:49:45 -10:00
Randy Mackay
faa85bd423 WPNav: reduce default WP_ACCEL and LOITER_SPEED 2013-07-07 15:58:33 -10:00
Randy Mackay
598e025d53 Copter: reduce default Loiter Pos P to 0.2 (was 1.0) 2013-07-07 15:57:57 -10:00
Randy Mackay
fda4c13464 Copter: yaw limit fix to allow I to reduce
We now allow the I term even if we've hit the yaw limits as long as
updating the I term will reduce it
2013-07-05 13:49:45 -10:00
rmackay9
b4115c79ec ACMotors: bug fix to yaw limit 2013-07-05 13:48:03 -10:00
Randy Mackay
db893d288b Copter: double flash arming light when pre-arm checks fail
Hardly my finest work but it's temporary because we're going to replace
all the led, buzzer etc with a library called AP_Notify in the near
future.
2013-07-04 16:22:34 -10:00
Randy Mackay
908bde9dca Copter: change firmware version to 3.0.0-rc1 2013-06-26 14:02:37 +09:00
Randy Mackay
3ce005a436 Copter: GPS Failsafe switch to LAND if circular fence enabled 2013-06-26 11:56:58 +09:00
Randy Mackay
4fd4ef3400 Copter: update 3.0.1 version and release notes 2013-06-26 00:08:51 +09:00
Randy Mackay
64204de79f Copter: LAND only control horizontal position if we have GPS lock 2013-06-25 22:33:47 +09:00
Randy Mackay
265eb3c036 Copter Fence: bug fix to avoid repeatedly invoking LAND mode 2013-06-25 22:21:31 +09:00
Olivier-ADLER
c381222a0a Copter: Fence missing GPS 3D fix check
Fence was missing GPS 3D fix check before selecting recovery decision.
2013-06-25 22:18:11 +09:00
Randy Mackay
a2c3bc0537 Copter: calculate home position and bearing when we have 2D Fix 2013-06-25 22:14:56 +09:00
Olivier-ADLER
40b7000cfd Copter: SuperSimple mode bug
SuperSimple bearing was updated without checking for GPS 3D Fix availability.
2013-06-25 22:12:54 +09:00
Randy Mackay
1cbedc06b3 AP_InertialSensor: relax accel offset sanity check 2013-06-25 14:18:22 +09:00
Randy Mackay
493c2b6ad9 Copter: update firmware version to 3.0.0 2013-06-17 22:39:38 +09:00
Randy Mackay
3e3b930369 Copter: reduce default AltHold P to 1.0 (was 2.0)
This helps reduce jumpiness due to althold feed forward
2013-06-16 15:31:36 +09:00
Randy Mackay
fbe166d8a9 Copter: update AC3.0-rc6 version and release notes 2013-06-16 11:47:30 +09:00
Randy Mackay
7c5d96385e WPNav: add acceleration parameter
WP_ACCEL added to allow user control of acceleration during missions.
Loiter acceleration made to be half of loiter max speed
2013-06-16 11:39:54 +09:00
Randy Mackay
069d93444f Copter: reduce twitch when entering CIRCLE mode
Set loiter target and prev iterations velocity when circle mode is
started
Start circling from projected stopping point
2013-06-15 18:14:36 +09:00
Randy Mackay
11bd9e37c8 Copter: update AC3.0-rc5 release notes 2013-06-04 15:24:02 +09:00
Randy Mackay
af5e69dc40 Copter: remove throttle controller's ability to limit lean angle 2013-06-04 15:23:50 +09:00
Randy Mackay
0ca14af391 Copter: AC3.0-rc5 version and release notes 2013-06-04 13:02:08 +09:00
Randy Mackay
d3c37dcfa9 Circle: allow counter clockwise rotation 2013-06-03 22:10:32 +09:00
Randy Mackay
c53dca061a Copter: reset yaw angle only when motors not spinning 2013-06-03 17:50:45 +09: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