Fixed wing attitude controller: Run at maximum priority.

This ensures attitude control runs first before any other system component.
This commit is contained in:
Lorenz Meier 2017-07-09 19:19:47 +02:00
parent c94e54bbab
commit 8dd96e960d
1 changed files with 1 additions and 1 deletions

View File

@ -1275,7 +1275,7 @@ FixedwingAttitudeControl::start()
/* start the task */
_control_task = px4_task_spawn_cmd("fw_att_control",
SCHED_DEFAULT,
SCHED_PRIORITY_MAX - 5,
SCHED_PRIORITY_MAX - 4,
1500,
(px4_main_t)&FixedwingAttitudeControl::task_main_trampoline,
nullptr);