Fix up stack sizes

This commit is contained in:
Lorenz Meier
2014-11-17 14:59:36 +01:00
parent f20f85f0e3
commit 41fe04776f
5 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -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);
+2
View File
@@ -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);
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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);