mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 23:13:33 +08:00
Fix up stack sizes
This commit is contained in:
@@ -223,7 +223,7 @@ BottleDrop::start()
|
|||||||
_main_task = task_spawn_cmd("bottle_drop",
|
_main_task = task_spawn_cmd("bottle_drop",
|
||||||
SCHED_DEFAULT,
|
SCHED_DEFAULT,
|
||||||
SCHED_PRIORITY_DEFAULT + 15,
|
SCHED_PRIORITY_DEFAULT + 15,
|
||||||
2048,
|
1500,
|
||||||
(main_t)&BottleDrop::task_main_trampoline,
|
(main_t)&BottleDrop::task_main_trampoline,
|
||||||
nullptr);
|
nullptr);
|
||||||
|
|
||||||
|
|||||||
@@ -41,3 +41,5 @@ SRCS = bottle_drop.cpp \
|
|||||||
bottle_drop_params.c
|
bottle_drop_params.c
|
||||||
|
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
|
|
||||||
|
MODULE_STACKSIZE = 1200
|
||||||
|
|||||||
@@ -1560,7 +1560,7 @@ FixedwingEstimator::start()
|
|||||||
_estimator_task = task_spawn_cmd("ekf_att_pos_estimator",
|
_estimator_task = task_spawn_cmd("ekf_att_pos_estimator",
|
||||||
SCHED_DEFAULT,
|
SCHED_DEFAULT,
|
||||||
SCHED_PRIORITY_MAX - 40,
|
SCHED_PRIORITY_MAX - 40,
|
||||||
5000,
|
7500,
|
||||||
(main_t)&FixedwingEstimator::task_main_trampoline,
|
(main_t)&FixedwingEstimator::task_main_trampoline,
|
||||||
nullptr);
|
nullptr);
|
||||||
|
|
||||||
|
|||||||
@@ -1636,7 +1636,7 @@ Mavlink::start(int argc, char *argv[])
|
|||||||
task_spawn_cmd(buf,
|
task_spawn_cmd(buf,
|
||||||
SCHED_DEFAULT,
|
SCHED_DEFAULT,
|
||||||
SCHED_PRIORITY_DEFAULT,
|
SCHED_PRIORITY_DEFAULT,
|
||||||
2900,
|
2800,
|
||||||
(main_t)&Mavlink::start_helper,
|
(main_t)&Mavlink::start_helper,
|
||||||
(const char **)argv);
|
(const char **)argv);
|
||||||
|
|
||||||
|
|||||||
@@ -499,7 +499,7 @@ Navigator::start()
|
|||||||
_navigator_task = task_spawn_cmd("navigator",
|
_navigator_task = task_spawn_cmd("navigator",
|
||||||
SCHED_DEFAULT,
|
SCHED_DEFAULT,
|
||||||
SCHED_PRIORITY_DEFAULT + 20,
|
SCHED_PRIORITY_DEFAULT + 20,
|
||||||
2000,
|
1800,
|
||||||
(main_t)&Navigator::task_main_trampoline,
|
(main_t)&Navigator::task_main_trampoline,
|
||||||
nullptr);
|
nullptr);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user