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

Custom Gazebo world doesn't load

asked 2017-12-02 19:25:01 -0500

inani47 gravatar image

I created a custom gazebo world for my turtleBot constaining several walls and saved it as a .world file. However when I run the world file using the command

roslaunch turtlebot_gazebo turtlebot_world.launch world_file:=/home/PI/turtlebot_custom_gazebo_worlds/final1.world

the walls that i created do not load. just the turtlebot loads. the process in the terminal starts without giving any error. when i check the .world file the code related to the walls is clearly present.

edit retag flag offensive close merge delete

Comments

Might be a bug in your world file. Can you post the file?

clyde gravatar image clyde  ( 2017-12-03 18:16:00 -0500 )edit

Maybe copying the model that represents the walls to ~/.gazebo would solve the problem.

Ruben Alves gravatar image Ruben Alves  ( 2017-12-05 15:47:44 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-12-05 15:49:32 -0500

inani47 gravatar image

Sorry, silly mistake. The path to the world file was incorrect. It was not loading the custom world and just reverting to the default world without giving a traceback!

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-12-02 19:25:01 -0500

Seen: 3,297 times

Last updated: Dec 05 '17