mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-08 07:20:35 +08:00
MulticopterPositionControl: reset task when switching mode
to make sure the state is clean between auto mode switches.
This commit is contained in:
committed by
Daniel Agar
parent
85f3ab1960
commit
8f40558f41
@@ -203,6 +203,8 @@ private:
|
||||
|
||||
perf_counter_t _cycle_perf;
|
||||
|
||||
uint8_t _last_vehicle_nav_state{0};
|
||||
|
||||
/**
|
||||
* Update our local parameter cache.
|
||||
* Parameter update can be forced when argument is true.
|
||||
|
||||
Reference in New Issue
Block a user