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

Using multiple lasers with laser_scan_matcher [closed]

asked 2015-04-23 08:04:28 -0500

Hello,

Has anyone tried using laser_scan_matcher with multiple laser sensors? There is nothing about it in the documentation, but that hasn't been updated since Fuerte. I am using laser_scan_matcher for the odom transform of an omnidirectional robot and I have 2 LRFs, one facing forward and one facing rearward. I'm wondering if having laser_scan_matcher subscribe to the scan topic, where I am publishing the data from both lasers, would work or if that will cause a problem with it trying to match scans that are completely different.

Thanks

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Icehawk101
close date 2015-04-23 14:04:49.326534

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-04-23 14:04:40 -0500

I figured it out. After looking through the node's code I found that it saves the frame id of the first scan it gets, then for subsequent scans it ignores those that don't have the same frame id. So it doesn't use multiple sensors, but you can publish the data from multiple sensors to the /scan topic without having to worry about laser_scan_matcher throwing a fit.

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2015-04-23 08:04:28 -0500

Seen: 162 times

Last updated: Apr 23 '15