mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 15:41:36 +08:00
Fix up RAM usage of fixed wing apps
This commit is contained in:
@@ -39,3 +39,5 @@ MODULE_COMMAND = fw_att_control
|
|||||||
|
|
||||||
SRCS = fw_att_control_main.cpp \
|
SRCS = fw_att_control_main.cpp \
|
||||||
fw_att_control_params.c
|
fw_att_control_params.c
|
||||||
|
|
||||||
|
MODULE_STACKSIZE = 1200
|
||||||
|
|||||||
@@ -1445,7 +1445,7 @@ FixedwingPositionControl::start()
|
|||||||
_control_task = task_spawn_cmd("fw_pos_control_l1",
|
_control_task = task_spawn_cmd("fw_pos_control_l1",
|
||||||
SCHED_DEFAULT,
|
SCHED_DEFAULT,
|
||||||
SCHED_PRIORITY_MAX - 5,
|
SCHED_PRIORITY_MAX - 5,
|
||||||
3500,
|
2000,
|
||||||
(main_t)&FixedwingPositionControl::task_main_trampoline,
|
(main_t)&FixedwingPositionControl::task_main_trampoline,
|
||||||
nullptr);
|
nullptr);
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 PX4 Development Team. All rights reserved.
|
# Copyright (c) 2013, 2014 PX4 Development Team. All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions
|
# modification, are permitted provided that the following conditions
|
||||||
@@ -43,3 +43,5 @@ SRCS = fw_pos_control_l1_main.cpp \
|
|||||||
mtecs/mTecs.cpp \
|
mtecs/mTecs.cpp \
|
||||||
mtecs/limitoverride.cpp \
|
mtecs/limitoverride.cpp \
|
||||||
mtecs/mTecs_params.c
|
mtecs/mTecs_params.c
|
||||||
|
|
||||||
|
MODULE_STACKSIZE = 1200
|
||||||
|
|||||||
Reference in New Issue
Block a user