mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 03:33:34 +08:00
fix timestamp problem in dummy pos estimator
This commit is contained in:
@@ -52,7 +52,7 @@ PositionEstimator::PositionEstimator() :
|
|||||||
_n(),
|
_n(),
|
||||||
_sub_modelstates(_n.subscribe("/gazebo/model_states", 1, &PositionEstimator::ModelStatesCallback, this)),
|
_sub_modelstates(_n.subscribe("/gazebo/model_states", 1, &PositionEstimator::ModelStatesCallback, this)),
|
||||||
_vehicle_position_pub(_n.advertise<px4::vehicle_local_position>("vehicle_local_position", 1)),
|
_vehicle_position_pub(_n.advertise<px4::vehicle_local_position>("vehicle_local_position", 1)),
|
||||||
_startup_time(px4::get_time_micros())
|
_startup_time(1)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user