Roslaunch relaunch fails: bad roslaunch process monitor initialization: process monitor is already dead

asked 2021-02-24 20:31:19 -0500

araujopedrop gravatar image

updated 2021-03-01 19:52:36 -0500

Hi!

I'm using roslanches in my custom app. The first time I use a custom roslaunch "X" I don't have any problem. However, the second time it gives the following error:

  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/launch.py", line 297, in __init__
    raise RLException("bad roslaunch process monitor initialization: process monitor is already dead")
roslaunch.core.RLException: bad roslaunch process monitor initialization: process monitor is already dead
Abortado (`core' generado)

Does anybody know why is this happening??? I tried to exec another roslaunch for testing (gazebo roslaunch) many times and didn't have this issue

Edit: Ros: Melodic OS: Ubuntu 18.04

Launch file:

<launch>

  <!-- Custom roslaunch -->


  <!-- Arguments -->
  <arg name="model" default="$(env TURTLEBOT3_MODEL)" doc="model type [burger, waffle, waffle_pi]"/>
  <arg name="map_file" default="$(find rsgv_navigation)/maps/mapa_house.yaml"/>
  <arg name="open_rviz" default="true"/>
  <arg name="move_forward_only" default="false"/>

  <!--WORLD-->
  <include 
      file="$(find rsgv_description)/launch/rsgv_world.launch">
  </include>

  <!-- Map server -->
  <!-- Provides the map_server ROS Node,which offers map data as a ROS Service. -->
  <!-- It also provides the map_saver command-line utility, which allows dynamically generated maps to be saved to file. -->
  <!--node pkg="map_server" name="map_server" type="map_server" args="$(arg map_file)"/-->


  <!-- rviz -->
  <!--group if="$(arg open_rviz)"> 
    <node pkg="rviz" type="rviz" name="rviz" required="true"
          args="-d $(find turtlebot3_navigation)/rviz/turtlebot3_navigation.rviz"/>
  </group-->

</launch>
edit retag flag offensive close merge delete

Comments

It would help others if you could provide more info regarding your issue such as the ROS and OS distro, your launch file and the output of the roslaunch-*.log if available.

asusrog gravatar image asusrog  ( 2021-02-25 04:43:20 -0500 )edit

Thanks! It is completed now

araujopedrop gravatar image araujopedrop  ( 2021-03-01 19:56:05 -0500 )edit