Commit Graph

24436 Commits

Author SHA1 Message Date
Randy Mackay
f67cd89e32 Copter: 3.4.4-rc1 release notes 2016-12-20 20:53:35 +09:00
Randy Mackay
9738e9bc3e Copter: fix heli pos-hold run-up-complete issue 2016-12-20 20:26:59 +09:00
Andrew Tridgell
52ca752539 AP_Param: apply notify check to AP_ParamV too
thanks to Francisco
2016-12-20 20:22:30 +09:00
Francisco Ferreira
c81f1e1032 AP_Param: add set_and_notify to vectors 2016-12-20 20:22:08 +09:00
Andrew Tridgell
00ed6bbc2b AP_Compass: use a set_and_notify for external and IDs
ensure that GCS that connects quickly gets the right value
fixes issue #5364
2016-12-20 20:18:24 +09:00
Andrew Tridgell
95f00b4891 AP_Param: avoid a notify if value is already correct 2016-12-20 20:18:20 +09:00
Leonard Hall
e1d5b23144 AP_MotorsMulticopter: fix battery resistance calculation 2016-12-20 20:17:35 +09:00
Michael du Breuil
9b66f21809 Copter: add compass cal capability bit 2016-12-20 20:17:20 +09:00
Georgii Staroselskii
e421e95782 AP_BattMonitor: add default PM definitions for Navio boards
As it turns out we haven't had default PM defs for power modules
intended to be used with Navio boards.
2016-12-20 20:16:53 +09:00
Andrew Tridgell
1de88905c6 autotest: added octa-quad sim_vehicle.py option
this was missed in conversion from sim_vehicle.sh
2016-12-20 20:08:30 +09:00
Randy Mackay
9c56602b60 Copter: 3.4.3. release notes get compass cal fix 2016-12-09 11:39:58 +09:00
Randy Mackay
9a3a0d4ee0 Copter: fix version to 3.4.3 2016-12-09 08:34:40 +09:00
Randy Mackay
5bbfdaecc7 Copter: fix version in release notes 2016-12-09 08:33:19 +09:00
Randy Mackay
c689465b41 Copter: version to 3.4.3 2016-12-08 15:57:18 +09:00
Randy Mackay
a87a8fcd0e Copter: 3.4.3 release notes 2016-12-08 15:57:18 +09:00
Ivan Smirnov
8c67a3fbd2 AP_HAL_Linux: Scheduler: added _timer_tick for uartD 2016-12-07 10:25:10 -08:00
Randy Mackay
6b923a032b Copter: version to 3.4.3-rc1 2016-12-01 13:06:21 +09:00
Randy Mackay
ba64f492b8 Copter: 3.4.3-rc1 release notes 2016-12-01 13:05:56 +09:00
Andrew Tridgell
d9b3b7a9b5 AP_BoardConfig: increase uavcan bus settle time to 2s
needed to ensure zubax mag has time to come up
2016-12-01 12:59:12 +09:00
Leonard Hall
7c6bdfb95c AC_AttControl: allow MOT_THR_MIX_MAX to be 2.0
The parameter description maximum of 0.9 should keep most users from
setting this parameter above 0.9 but there are rare cases for very high powered copters with low hover-throttle values where setting as high as 2.0 improves attitude control
2016-12-01 12:58:48 +09:00
Randy Mackay
d5faf977c8 Copter: set land_complete to false during auto takeoff
This resolves an issue in very high powered copters that could fly a mission while "landed" which could lead to a crash during the final stage of RTL
2016-12-01 12:55:40 +09:00
Randy Mackay
7ce7dd7f16 Copter: protect against arming while already armed
Previously it was possible to arm the vehicle (from the GCS) even thought the vehicle was already armed which would lead to the motors stopping for 2 seconds
2016-12-01 12:55:38 +09:00
priseborough
b4784d8204 AP_NavEKF2: Fix bug in reporting of vertical position reset
Fixes a bug that allows the last reported reset time to to wind back and an out of date reset delta to be reported if a switch to a core that has previously been reset occurs.
Allows multiple consumers provided they access on the same frame.
2016-12-01 12:55:32 +09:00
priseborough
56262f44f4 AP_NavEKF2: Fix bug in reporting of horizontal position reset
Fixes a bug that allows the last reported reset time to to wind back and an out of date reset delta to be reported if a switch to a core that has previously been reset occurs.
Allows multiple consumers provided they access on the same frame.
2016-12-01 12:55:29 +09:00
priseborough
7c9d2b6ca7 AP_NavEKF2: Fix bug in reporting of yaw reset
Fixes a bug that allows the last reported reset time to to wind back and an out of date reset delta to be reported if a switch to a core that has previously been reset occurs.
Allows multiple consumers provided they access on the same frame
2016-12-01 12:55:26 +09:00
Leonard Hall
297dbbe22f AC_AttControl: do not limit rate if ATC_ACCEL_MAX param is zero 2016-12-01 12:54:50 +09:00
ShingoMatsuura
8c3f7832d2 AP_RangeFilnder: moved the const buffer definition to the header and changed from '8' to 'sizeof(send_request_buffer)' 2016-12-01 12:54:39 +09:00
ShingoMatsuura
d70f89cb67 AP_RangeFilnder: change send_request_buffer member variable to const and other fixes 2016-12-01 12:54:36 +09:00
ShingoMatsuura
714ae5213d AP_RangeFilnder: add clear buffer at INIT state and change send_buffer to member variable to reduce CRC computation for sending request 2016-12-01 12:54:32 +09:00
ShingoMatsuura
dad1432e9e AP_RangeFinder: remove clear buffer in send_request 2016-12-01 12:54:29 +09:00
Randy Mackay
1cfd178e2f AP_NavEKF2: minor comment fix 2016-12-01 12:53:44 +09:00
Randy Mackay
2bee6f55f3 AC_WPNav: remove ekf position reset handler
This has been migrated to the position control library
2016-12-01 12:53:38 +09:00
Randy Mackay
c01467c285 AC_PosControl: add ekf position reset handling
Previously this was in AC_WPNav and used only for loiter but it should work for any flight modes that use horizontal or vertical position control
2016-12-01 12:53:35 +09:00
Randy Mackay
17c06b40b8 AP_AHRS: add getLastPosDownReset accessor 2016-12-01 12:53:30 +09:00
Randy Mackay
327c2b8b9d AC_WPNav: remove unused _loiter_step member 2016-12-01 12:53:25 +09:00
priseborough
9bfbe4c80a AP_NavEKF2: Fix errors in position reset delta publishing 2016-12-01 12:53:22 +09:00
priseborough
52eac34d66 AP_NavEKF2: capture and publish vertical position reset deltas
Calculate the change in vertical position due to a internal EKF state reset or a EKF core switch
2016-12-01 12:53:19 +09:00
priseborough
8a34df6528 AP_NavEKF2: Reduce unnecessary EKF core switching
1) Do not switch to a core until its states have been updated.
2) Distinguish between mandated switches required for health failure and optional switches required due to innovation checks failing.
3) Apply hyseresis to innovation check levels
2016-12-01 12:53:16 +09:00
Alexey Bulatov
fc577120c1 AP_Compass: make LSM9DS1 compass primary for Navio2 2016-11-30 12:10:43 -08:00
Alexey Bulatov
67dd4d3efe AP_Compass: fix rotation for LSM9DS1 compass
Move rotation to the right place. Otherwise live calibration and onboard
calibration show different results.
2016-11-30 12:10:43 -08:00
Lucas De Marchi
bed521e2b5 AP_Compass: Calibrator: use inplace initializer on array
(cherry picked from commit c6b0a71c47)
2016-11-21 16:10:14 -02:00
Siddharth Bharat Purohit
73c83f630a AP_Compass: fix wrong memset in compass calibrator
(cherry picked from commit b36ee10e7c)
2016-11-21 16:10:14 -02:00
Siddharth Bharat Purohit
b71f766aff AP_AccelCal: fix bug preventing accel cal fit to run more than one iteration
The check for fitness being smaller than the last value should use the
absolute value, to mean the fitness isn't changing since last iteration.
It's currently always quiting the function after the first iteration.

However for Gauss Newton we anyway want to run as many iterations as we
can, because there are ups and downs along the iteration so we might get
say best result where before and after iterations were bad. The lines
above takes care that sane and the best is selected.

(cherry picked from commit 451c2f146d)
2016-11-21 16:10:14 -02:00
Randy Mackay
6076bdfc02 Copter: version to 3.4.2 2016-11-16 09:23:17 +09:00
Randy Mackay
372bb53562 Copter: 3.4.2 release notes 2016-11-16 09:23:04 +09:00
Michael Oborne
5f505a0f37 AP_GPS_SBF: fix accuracy reported by driver 2016-11-16 09:16:47 +09:00
Randy Mackay
179a7f57d6 Copter: version to 3.4.2-rc2 2016-11-07 13:20:41 +09:00
Randy Mackay
9f120ad11f Copter: 3.4.2-rc2 release notes 2016-11-07 13:20:24 +09:00
Michael du Breuil
b0afbfe17e Tracker: Allow compass to manage buffer space for MAG_CAL 2016-11-07 13:08:09 +09:00
Michael du Breuil
6e4354675a Rover: Allow compass to manage buffer space for MAG_CAL 2016-11-07 13:08:07 +09:00