forked from Archive/PX4-Autopilot
Fixed wing attitude controller: Run at maximum priority.
This ensures attitude control runs first before any other system component.
This commit is contained in:
parent
c94e54bbab
commit
8dd96e960d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue