ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Gazebo doesn't start (but RViz does)

asked 2019-03-11 11:50:49 -0600

steradiant gravatar image

Hello, I'm quite new to ROS. I started out with the following robot: https://github.com/epfl-lasa/kuka-lwr... I got everything running (so far at least). But there is still an issue, namely RViz starts but Gazebo doesn't. The readme of the kuka-lwr-ros states: "If the Gazebo window does not open this is because a flag is set in the sim.launch file." but I really can't find this flag. The sim.launch looks like follows:

<launch>

<include file="$(find lwr_launch)/launch/simulation.launch">
        <arg name="rviz_config"       value="$(find lwr_simple_example)/launch/rviz/rviz_config.rviz"/>
    <arg name="t1_limits"         value="false"/>
</include>

</launch>

I'd really appreciate your help. Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-03-11 14:02:06 -0600

In ROS, launch files can include other launch files. The sim.launch file you gave here is doing that with the <include file=...> tag. If you go to the file specified there (simulation.launch), you'll see the Gazebo flag you're looking for.

The README probably gave the wrong file to look in because the launch files have been refactored since then.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-03-11 11:47:04 -0600

Seen: 518 times

Last updated: Mar 11 '19