ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Publish imu topics using logged data

asked 2016-05-18 05:43:51 -0600

b-sriram gravatar image


I have a txt file which contains sensors (GPS, Accelerometer, Gyroscope, Magnetic Field) reading along with a time stamp.

How do I write a node to publish these data as topics?

Ultimately I want to use the robot_localization package to fuse all these data.

Thanks a lot.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-05-19 20:29:28 -0600

Tom Moore gravatar image

You'll just need to read the text file, parse the data, create ROS messages with the data, and publish them. As long as they adhere to ROS standards and are supported, you can use robot_localization.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-05-18 05:43:51 -0600

Seen: 396 times

Last updated: May 19 '16