Commit Graph

40572 Commits

Author SHA1 Message Date
Peter Barker b319b275d5 AP_NavEKF2: zero H_MAG to prevent compiler error 2024-07-31 17:22:06 +10:00
Andrew Tridgell 54a4e1ba9a git: changed protocol to https 2021-11-02 19:26:34 +11:00
Andrew Tridgell a632c813bc Plane: update version for 4.0.9 2021-02-23 08:00:56 +11:00
Andrew Tridgell 2bfbc7a548 Plane: prepare for 4.0.9 2021-02-23 08:00:42 +11:00
Andrew Tridgell c8047cc595 HAL_ChibiOS: fixed build on Durandal 2021-02-22 10:07:22 +11:00
pkocmoud 0b698d75c7 build_binaries: Add mRo PixracerPro 2021-02-17 14:44:20 +11:00
pkocmoud bf5161e6ba build_binaries: add mRo boards to build_binaries 2021-02-17 14:44:14 +11:00
pkocmoud 66df41358b hwdef: update FRAM size to 32768 2021-02-17 14:44:12 +11:00
pkocmoud b87cad8f6d bootloaders: Add bootloaders for mRo boards 2021-02-17 14:44:09 +11:00
pkocmoud 0bee88c7ae hwdef: Back Port updated hwdefs for mRo boards 2021-02-17 14:44:06 +11:00
Andrew Tridgell a68b7ae10e Plane: prepare for 4.0.9beta1 2021-02-06 15:44:36 +11:00
Andrew Tridgell d72fe9000a Plane: update release notes for 4.0.9beta1 2021-02-06 15:43:35 +11:00
Andrew Tridgell 736886e1a9 AP_GPS: fixed pre-arm check on ublox M9 GPS
this prevents a failure from config of SOL and TMODE messages
2021-02-06 07:28:49 +11:00
Peter Barker 65f95325c3 Copter: cope with race conditioning popping points on SmartRTL return
There is a race with the cleanup thread.  While thin, it only has to
happen once.  After this patch the race would have to happen... a lot.

Co-authored-by: jasclarke308 <jasclarke308@gmail.com>
2021-02-05 19:09:13 +11:00
Andrew Tridgell 03746c8145 AP_GPS: don't accept infinite accuracies for blending
these result in NaN values for velocities
2021-02-05 19:09:10 +11:00
Andrew Tridgell f31c5fd197 AP_GPS: prevent UAVCAN GPS from giving infinite accuracy values
this can happen due to the complex encodings of accuracies in UAVCAN
2021-02-05 19:09:08 +11:00
Andrew Tridgell 773771dd8d AP_GPS: fixed constrained NaN in EKF3 caused by bad GPS blending
if the accuracies reported are very low then we can do a division by
zero and this results in a constraining NaN for GPS vertical velocity
filter in NavEKF3_core::calcGpsGoodToAlign
2021-02-05 19:09:05 +11:00
Andrew Tridgell cba3d1358b AP_NavEKF3: fixed memory corruption on push before init
this fixes a bug that happens with VISION_SPEED_ESTIMATE from a
companion computer, which may come in before the EKF buffers are
allocated. That causes a push to an uninitialised ringbuffer which
triggers memory corruption

found using the new memory guard system
2021-02-05 19:09:03 +11:00
Andrew Tridgell 29f0ca3b6b AP_NavEKF2: fixed memory corruption on push before init
this fixes a bug that happens with VISION_SPEED_ESTIMATE from a
companion computer, which may come in before the EKF buffers are
allocated. That causes a push to an uninitialised ringbuffer which
triggers memory corruption

found using the new memory guard system
2021-02-05 19:09:00 +11:00
Andrew Tridgell 6630c16535 HAL_ChibiOS: expand storage to 32k on boards with 32k FRAM 2021-02-05 19:08:58 +11:00
Andrew Tridgell 39e9b985a6 AP_HAL: change SITL to 32k eeprom.bin 2021-02-05 19:08:55 +11:00
Andrew Tridgell 2c06bbdcbe GCS_MAVLINK: support deliberate parameter corruption 2021-02-05 19:08:53 +11:00
Andrew Tridgell e0bb5e8123 Copter: removed set_layout_copter call
not needed any more
2021-02-05 19:08:51 +11:00
Andrew Tridgell 4b6ec99633 StorageManager: added parameter backup region 2021-02-05 19:08:48 +11:00
Andrew Tridgell eaf23f2eb4 AP_InternalError: sync with master
added params_restored error
2021-02-05 19:08:46 +11:00
Andrew Tridgell f90962aa0c AP_Param: support restoring from parameter backup region
if header on primary parameter storage is corrupt then restore from
backup
2021-02-05 19:08:44 +11:00
Andrew Tridgell ac9a4b9ab7 Plane: prepare for 4.0.8 release 2021-01-26 17:13:47 +11:00
Andrew Tridgell 9f2ab69d94 Plane: update release notes for 4.0.8 2021-01-26 17:12:59 +11:00
Andy Piper a3b76029d7 AP_HAL_ChibiOS: don't timeout after 11 bits on serial irqs 2021-01-26 17:09:35 +11:00
Michael du Breuil 6c5d6330c3 Plane: Ensure that only one form of throttle nudging is active at once 2021-01-06 11:27:35 +11:00
Andrew Tridgell 5ffd40f973 Plane: prepare for 4.0.8beta1 2021-01-06 09:33:48 +11:00
Andrew Tridgell 7c85f5395c Plane: update release notes for 4.0.8beta1 2021-01-06 09:33:48 +11:00
Andrew Tridgell 350275690c AP_NavEKF3: only fuse airspeed if healthy 2021-01-06 09:33:48 +11:00
Andrew Tridgell 63f9acdaaa AP_NavEKF2: only fuse airspeed if healthy 2021-01-06 09:33:48 +11:00
bnsgeyer 35d12ac712 Copter: fix heli land detector and incoporate reset_I_smoothly 2021-01-06 09:33:48 +11:00
bnsgeyer 9a9c88829e AP_Motors: tradheli - add support to determine below mid collective 2021-01-06 09:33:48 +11:00
bnsgeyer 613af0aeec Copter: Tradheli - make new integrator scheme selectable 2021-01-06 09:33:48 +11:00
bnsgeyer d6a1dceb72 AP_Motors: updates to new integrator and make selectable 2021-01-06 09:33:48 +11:00
bnsgeyer 31580d82ee AC_PID: add support to smoothly reset the integrator 2021-01-06 09:33:48 +11:00
bnsgeyer ff6621f3b6 AP_Motors: Tradheli support for integrator management and hover collective learning 2021-01-06 09:33:48 +11:00
bnsgeyer 5ea50a897e Copter: change heli integrator management and add hover coll learning 2021-01-06 09:33:48 +11:00
bnsgeyer b6e0b6c692 AC_AttitudeControl: Tradheli support for integrator management and hover collective learning 2021-01-06 09:33:47 +11:00
bnsgeyer 06b4f259c0 AP_Motors: add DCP trim feature for Dual Heli 2021-01-06 09:33:47 +11:00
Andrew Tridgell 9706228fee GCS_MAVLink: use MAV_SYS_STATUS_PREARM_CHECK
this allows GCS to continually display prearm check status
2021-01-06 09:33:47 +11:00
Andy Piper 43f609137b Filter: correct harmonic notch docs and provide better defaults. 2021-01-06 09:33:47 +11:00
Hwurzburg b4c0d40fb7 AP_GPS: expand gps rate description 2021-01-06 09:33:47 +11:00
Hwurzburg dddd47a882 Copter: fix metadata in FS_GCS_ENABLE param 2021-01-06 09:33:47 +11:00
Randy Mackay 833b6d05d1 AC_PosControl: fix typo in posxy_p param desc 2021-01-06 09:33:47 +11:00
murata aa6713bd3e Copter: Matches the minimum value of failsafe_throttle_value to the operation 2021-01-06 09:33:47 +11:00
Rishabh 33449934da ArduCopter: remove nomination of system ids 2021-01-06 09:33:47 +11:00