launching two launch files using one launch file

asked 2020-04-14 01:07:12 -0500

whitecatshiro gravatar image

updated 2020-04-14 01:07:51 -0500

Hi,

I'm working with the abb_experimental package and using the irb120 model with moveit! and gazebo.

In order to get gazebo and moveit! started and working together, i have to run two separate launch files shown below

roslaunch abb_irb120_gazebo irb120_3_58_gazebo.launch 

roslaunch abb_irb120_moveit_config moveit_planning_execution_gazebo.launch

I've tried to create a launch file named simulation.launch in the abb_irb120_moveit_config package as follows

<launch>

   <include file="$(find abb_irb120_gazebo)/launch/irb120_3_58_gazebo.launch"/>
   <include file="$(find abb_irb120_moveit_config)/launch/moveit_planning_execution_gazebo.launch"/>

</launch>

running this spits out a whole paragraph of text in the terminal referring to the Traceback (most recent call last) and doesn't seem to start up gazebo or Rviz.

Can anyone help?

edit retag flag offensive close merge delete

Comments

Can anyone help?

Not without you showing the "whole paragraph of text [..] referring to the Traceback" you refer to.

We cannot guess what is happening on your machine, neither can we predict what will happen by looking at the information you do include.

Please try to include pertinent information in your question next time.

gvdhoorn gravatar image gvdhoorn  ( 2020-04-14 02:27:03 -0500 )edit

No worries i fixed it, it was just changing the simulation.launch file from xml to a normal text file for launch thanks!

whitecatshiro gravatar image whitecatshiro  ( 2020-04-14 03:40:30 -0500 )edit

I don't understand.

Could you please post what you did as an answer?

gvdhoorn gravatar image gvdhoorn  ( 2020-04-14 03:41:39 -0500 )edit

I'm not exactly sure what I did, but I just changed the file type of the file and it worked

whitecatshiro gravatar image whitecatshiro  ( 2020-04-15 07:25:51 -0500 )edit

where did you "change the file type"? And how did you change it?

gvdhoorn gravatar image gvdhoorn  ( 2020-04-15 07:54:34 -0500 )edit