0
$\begingroup$

Rosanswers logo

I'm trying to run turtlebot_gazebo but I have some problems. Here's the subject in details. I'm running ROS kinetic which is supposed that it can't link to gazebo as far as I know. I installed gazebo with the help of your site, however, the package I got and installed was called turtlebot_simulator, and turtlebot_gazebo was inside it (if I misunderstood the thing let me know). I tried to launch it using " $ roslaunch turtlebot_gazebo turtlebot_world.launch" but this didn't work. Finally, I browsed to folder "launch" inside turtlebot_gazebo and tried to launch it using "$ roslaunch turtlebot_world.launch" and it gives me the following error:

Invalid tag: environment variable 'TURTLEBOT_GAZEBO_WORLD_FILE' is not set.

Arg xml is The traceback for the exception was written to the log file

how can I fix it? Thank you


Originally posted by Mina on ROS Answers with karma: 21 on 2016-10-10

Post score: 0


Original comments

Comment by 130s on 2017-09-15:
Duplicate.

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Try setting the variable TURTLEBOT_GAZEBO_WORLD_FILE:

export TURTLEBOT_GAZEBO_WORLD_FILE="/opt/ros/indigo/share/turtlebot_gazebo/worlds/playground.world"


Originally posted by Vash with karma: 16 on 2017-03-03

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.