diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2015-02-01 10:53:48 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2015-02-01 10:53:48 +0100 |
commit | 82b8a42929e5bdcd53e6f8f7b2ee6995fbdf0707 (patch) | |
tree | 9249690a9208cdd8e77921d295cd227b721c8a55 /src/platforms | |
parent | 6a122ab643e8a541329803117fc481c04aed902b (diff) | |
download | px4-firmware-82b8a42929e5bdcd53e6f8f7b2ee6995fbdf0707.tar.gz px4-firmware-82b8a42929e5bdcd53e6f8f7b2ee6995fbdf0707.tar.bz2 px4-firmware-82b8a42929e5bdcd53e6f8f7b2ee6995fbdf0707.zip |
fix timestamp problem in dummy pos estimator
Diffstat (limited to 'src/platforms')
-rw-r--r-- | src/platforms/ros/nodes/position_estimator/position_estimator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platforms/ros/nodes/position_estimator/position_estimator.cpp b/src/platforms/ros/nodes/position_estimator/position_estimator.cpp index fae304bf4..ed3a4efa5 100644 --- a/src/platforms/ros/nodes/position_estimator/position_estimator.cpp +++ b/src/platforms/ros/nodes/position_estimator/position_estimator.cpp @@ -52,7 +52,7 @@ PositionEstimator::PositionEstimator() : _n(), _sub_modelstates(_n.subscribe("/gazebo/model_states", 1, &PositionEstimator::ModelStatesCallback, this)), _vehicle_position_pub(_n.advertise<px4::vehicle_local_position>("vehicle_local_position", 1)), - _startup_time(px4::get_time_micros()) + _startup_time(1) { } |