mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-05 03:41:37 +08:00
land_detector: move to same WQ as estimator
- the primary data sources of the land detector run from the same WQ so don't lose anything by serializing these modules
This commit is contained in:
@@ -55,7 +55,7 @@ namespace land_detector
|
|||||||
|
|
||||||
LandDetector::LandDetector() :
|
LandDetector::LandDetector() :
|
||||||
ModuleParams(nullptr),
|
ModuleParams(nullptr),
|
||||||
ScheduledWorkItem(MODULE_NAME, px4::wq_configurations::hp_default)
|
ScheduledWorkItem(MODULE_NAME, px4::wq_configurations::att_pos_ctrl)
|
||||||
{
|
{
|
||||||
_land_detected.timestamp = hrt_absolute_time();
|
_land_detected.timestamp = hrt_absolute_time();
|
||||||
_land_detected.freefall = false;
|
_land_detected.freefall = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user