cant run rrbot_rviz.launch [closed]

asked 2016-08-24 02:07:39 -0600

dinesh gravatar image

updated 2016-08-24 02:53:52 -0600

I was following this tutorial. But as i enter command : roslaunch rrbot_description rrbot_rviz.launch I get this error:

[rviz-4] process has died [pid 12641, exit code -11, cmd /opt/ros/indigo/lib/rviz/rviz -d /home/dinesh/catkin_ws/src/gazebo_ros_demos/rrbot_description/launch/rrbot.rviz __name:=rviz __log:=/home/dinesh/.ros/log/06493822-69c8-11e6-a8b3-5c260a2762ef/rviz-4.log].
log file: /home/dinesh/.ros/log/06493822-69c8-11e6-a8b3-5c260a2762ef/rviz-4*.log

What should i do in this case. When i run roslaunch rrbot_gazebo rrbot_world.launch, i can clearly see the link swinging nicely inside the gazebo world. But when i try to see them in rviz, and also to see the camera topic inside rviz from the simulation world from gazibo in sensor plugin tutorial, i cant actually run the rviz.

I have finished the ros URDF tutorial, and can run all commands in their and see in rviz, but her i'm getting the above errors. How can i solve it? The rrbot_rviz.launch file is like this:

  <param name="robot_description"
    command="$(find xacro)/ '$(find rrbot_description)/urdf/rrbot.xacro'" />

  <!-- send fake joint values -->
  <node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher">
    <param name="use_gui" value="TRUE"/>

  <!-- Combine joint values -->
  <node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher"/>

  <!-- Show in Rviz   -->
  <node name="rviz" pkg="rviz" type="rviz" args="-d $(find rrbot_description)/launch/rrbot.rviz"/>

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dinesh
close date 2016-08-25 00:05:25.193648


ok now after i reinstall the ubuntu and ros indigo, it is working, problem was that i shouldn't intall the gazebo from its site cas ros indigo already has preinstalled it.

dinesh gravatar image dinesh  ( 2016-08-25 00:05:00 -0600 )edit