Skip to content
Snippets Groups Projects
Commit 388eb6ee authored by Paul Riseborough's avatar Paul Riseborough Committed by ChristophTobler
Browse files

ros: update local_position publication

Ensure all data is set.
parent 64551607
No related branches found
No related tags found
No related merge requests found
......@@ -94,6 +94,8 @@ void PositionEstimator::ModelStatesCallback(const gazebo_msgs::ModelStatesConstP
msg_v_l_pos.ref_lon = 8.538777;
msg_v_l_pos.ref_alt = 1200.0f;
msg_v_l_pos.vxy_max = 0.0f;
msg_v_l_pos.limit_hagl = false;
msg_v_l_pos.timestamp = px4::get_time_micros();
_vehicle_position_pub.publish(msg_v_l_pos);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment