mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 21:13:33 +08:00
VTOL: Be more efficient
This commit is contained in:
@@ -33,7 +33,8 @@
|
|||||||
px4_add_module(
|
px4_add_module(
|
||||||
MODULE modules__vtol_att_control
|
MODULE modules__vtol_att_control
|
||||||
MAIN vtol_att_control
|
MAIN vtol_att_control
|
||||||
COMPILE_FLAGS
|
STACK_MAIN 1300
|
||||||
|
COMPILE_FLAGS -Os
|
||||||
SRCS
|
SRCS
|
||||||
vtol_att_control_main.cpp
|
vtol_att_control_main.cpp
|
||||||
tiltrotor.cpp
|
tiltrotor.cpp
|
||||||
|
|||||||
@@ -830,7 +830,7 @@ VtolAttitudeControl::start()
|
|||||||
_control_task = px4_task_spawn_cmd("vtol_att_control",
|
_control_task = px4_task_spawn_cmd("vtol_att_control",
|
||||||
SCHED_DEFAULT,
|
SCHED_DEFAULT,
|
||||||
SCHED_PRIORITY_MAX - 10,
|
SCHED_PRIORITY_MAX - 10,
|
||||||
2048,
|
1100,
|
||||||
(px4_main_t)&VtolAttitudeControl::task_main_trampoline,
|
(px4_main_t)&VtolAttitudeControl::task_main_trampoline,
|
||||||
nullptr);
|
nullptr);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user