mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-19 02:20:35 +08:00
navigator: set position setpoint timestamp
This commit is contained in:
@@ -590,6 +590,7 @@ MissionBlock::mission_item_to_position_setpoint(const mission_item_s &item, posi
|
||||
}
|
||||
|
||||
sp->valid = true;
|
||||
sp->timestamp = hrt_absolute_time();
|
||||
|
||||
return sp->valid;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user