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

Input file for polar_scan_matcher package

asked 2011-11-21 21:41:26 -0600

alfa_80 gravatar image

I am trying to use a package called "polar_scan_matcher". I would like to know how do I supply/input my laser scan data as it is in ".txt" file (it should be in ".bag" file, I guess) and it contains not only raw laser scan data, but also other data that are not needed for this package (Or else, it will be an error).

My implementation plan is to write my own node that will subscribe /pose2D topic from the package.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-04-20 08:39:56 -0600

Mac gravatar image

You'll need to write some code that builds LaserScan messages from your .txt file. I suggest the rosbag API as the place to start; it gives you tools for writing messages into bagfiles.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-11-21 21:41:26 -0600

Seen: 235 times

Last updated: Apr 20 '12