navigator: set position setpoint timestamp

This commit is contained in:
Daniel Agar
2019-11-19 10:24:52 -05:00
parent a2bd65460d
commit 515e896cde
3 changed files with 6 additions and 2 deletions
+1
View File
@@ -93,6 +93,7 @@ PrecLand::on_activation()
pos_sp_triplet->current.lon = _navigator->get_global_position()->lon;
pos_sp_triplet->current.alt = _navigator->get_global_position()->alt;
pos_sp_triplet->current.valid = true;
pos_sp_triplet->current.timestamp = hrt_absolute_time();
}
_sp_pev = matrix::Vector2f(0, 0);