Ask Your Question
1

How to merge data from two different lasers

asked 2017-10-31 03:02:59 -0500

Maxes gravatar image

updated 2017-10-31 03:53:35 -0500

gvdhoorn gravatar image

I tried to use 1 hokuyo_node to publish to 'scan' and another hokuyo_node to publish to 'scan_1' I tried using the ira_laser_tool package but scan_mulit is not reaction.

<node pkg="ira_laser_tools" name="laserscan_multi_merger" type="laserscan_multi_merger" output="screen">
 <param name="destination_frame" value="/base_link"/>
 <param name="cloud_destination_topic" value="/merged_cloud"/>
 <param name="scan_destination_topic" value="/scan_multi_merged"/>
 <param name="laserscan_topics" value ="/scan /scan1" /> 
</node>

I use rosnode info /scan_multi show:

Node [/scan_multi]
Publications: None

Subscriptions: None

Services: None

cannot contact [/scan_multi]: unknown node

So,someone can tell me how to solve this problem. Thank you

edit retag flag offensive close merge delete

Comments

I'm confused:

  • you have scan_destionation_topic set to /scan_multi_merged, not /scan_multi
  • rosnode info .. checks nodes, not topics
  • your "[an]other hokuyo_node" publishes to scan_1, not /scan1 according to your description

please check these things and report back.

gvdhoorn gravatar image gvdhoorn  ( 2017-10-31 03:53:06 -0500 )edit

Hey gvdhoom , I change it you said but I open /scan_multi_merged topic in rviz, it only shows that scan is not merged. What information do I need to let you know my difficulties?

Maxes gravatar image Maxes  ( 2017-10-31 07:55:23 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-10-31 11:08:58 -0500

There is a related question with an answer.

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

Stats

Asked: 2017-10-31 03:02:59 -0500

Seen: 527 times

Last updated: Oct 31 '17