From cf47c2155f8b81a4756d48ca261e9ec9f0b0ddc6 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Tue, 18 Feb 2020 22:42:16 +0100 Subject: [PATCH] platforms: prevent stackoverflow for ekf2 sideslip It turns out that ekf2 needs more stack when sideslip fusion fails. Sideslip fusion is currently only enabled for fixedwing by default and not executed in testing. --- .../px4_platform_common/px4_work_queue/WorkQueueManager.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platforms/common/include/px4_platform_common/px4_work_queue/WorkQueueManager.hpp b/platforms/common/include/px4_platform_common/px4_work_queue/WorkQueueManager.hpp index d5eab4170d..aa2575f32f 100644 --- a/platforms/common/include/px4_platform_common/px4_work_queue/WorkQueueManager.hpp +++ b/platforms/common/include/px4_platform_common/px4_work_queue/WorkQueueManager.hpp @@ -64,7 +64,8 @@ static constexpr wq_config_t I2C2{"wq:I2C2", 1400, -10}; static constexpr wq_config_t I2C3{"wq:I2C3", 1400, -11}; static constexpr wq_config_t I2C4{"wq:I2C4", 1400, -12}; -static constexpr wq_config_t att_pos_ctrl{"wq:att_pos_ctrl", 6600, -13}; // PX4 att/pos controllers, highest priority after sensors +// PX4 att/pos controllers, highest priority after sensors. +static constexpr wq_config_t att_pos_ctrl{"wq:att_pos_ctrl", 7200, -13}; static constexpr wq_config_t hp_default{"wq:hp_default", 1900, -14};