Ask Your Question

Publish imu topics using logged data

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

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 -0500

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


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

Seen: 258 times

Last updated: May 19 '16