-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to roslaunch laserscan_multi_merger when launch file is run in a different package #31
Comments
I think the problem is that when starting the multi_merger the topics / scan1 and / scan2 are not published yet so you should see in the terminal "Not subscribed to any topic." this line because the search for available topics is done only at startup |
Thank you for your prompt response! Will get back to you regarding this when I return to working on my project in a few days! I will try to workaround it and update here again. |
Hi! I actually did not notice the "Not subscribed to any topic" line, but there was a ROS warning message:
So it seemed the code did managed to continue running after.
However, there was another issue that I encountered. After I catkin_make the ira_laser_tools in a workspace i.e. "workspace_1", running my roslaunch file in workspace_2 that includes "laserscan_multi_merger.launch" will always find the ira_laser_tools package from workspace_1 instead of from workspace_2, in which I have also catkin_make ira_laser_tools, even though I have sourced the setup.bash of workspace_2. May I kindly ask if there is a way to go about this? That is even if I have the ira_laser_tools in different workspace, I want the ira_laser_tools in the local workspace to run. Much thanks! |
Hi!
I am running the ira_laser_tools on a ROS Kinetic system. In my workspace, I have a package i.e. "test_robot", in which a launch file that starts up my ROS system would include a launch file that calls the ira_laser_tools laserscan_multi_merger (in the same directory) which has the code as follows:
In this situation, even though the laserscan_multi_merger node (in the same workspace) seems to have launched without any error thrown, this node does not seem to be working correctly as when I tried to get the output,
It gets stuck and nothing happens at all (my inputs /scan1 and /scan2 are working correctly).
However, when I
after I roslaunch my ROS system (still including the launch file to run the ira_laser_tools node in the "test_robot" launch file), the laserscan_multi_merger node from previously gets killed, and the new laserscan_multi_merger node works fine and I am able to get /scan data.
The reason for including the launch file that calls the ira_laser_tools laserscan_multi_merger in my own launch file is so that I can run all nodes at once from just one main launch file.
Hence, the issue is that when trying to launch the laserscan_multi_merger node from another package other than from ira_laser_tools, the laserscan_multi_merger node does not seem to work correctly.
Would deeply appreciate anyone's assistance in this matter! Thank you in advance!!!
The text was updated successfully, but these errors were encountered: