Skip to content
Snippets Groups Projects
Commit 6a122ab6 authored by Thomas Gubler's avatar Thomas Gubler
Browse files

ros att estimator dummy node: publish timestamp

parent 76d2417c
No related branches found
No related tags found
No related merge requests found
......@@ -136,6 +136,7 @@ void AttitudeEstimator::ImuCallback(const sensor_msgs::ImuConstPtr &msg)
msg_v_att.pitchspeed = -(float)msg->angular_velocity.y;
msg_v_att.yawspeed = -(float)msg->angular_velocity.z;
msg_v_att.timestamp = px4::get_time_micros();
_vehicle_attitude_pub.publish(msg_v_att);
}
......
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