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

Gazebo loading error turtlebot3

asked 2022-05-30 02:20:22 -0500

girayuzun gravatar image

updated 2022-05-30 02:21:14 -0500

I couldn't start turtlebot3 empty world simulation as,

ros2 launch turtlebot3_gazebo empty_world.launch.py here

I'm using Ros2 Foxy on Ubuntu 20.04 with Gazebo 11. But I can start webot turtlebot simulation below command:

ros2 launch webots_ros2_turtlebot robot_launch.py

image description

How can I fix the issues.

Thank you.C:\fakepath\Screenshot from 2022-05-30 10-10-45.png

edit retag flag offensive close merge delete

Comments

Can you check if you can start gzserver alone?

ljaniec gravatar image ljaniec  ( 2022-05-30 02:48:27 -0500 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2022-05-30 03:54:55 -0500

Joe28965 gravatar image

Your error seems to be the same as another question. Can you try the solution provided there?

Run . /usr/share/gazebo/setup.sh then start Gazebo.

edit flag offensive delete link more

Comments

1

I have those lines in my ~/.bashrc for it:

stat /usr/share/gazebo/setup.sh &> /dev/null
if [ $? -eq 0 ]; then
    source /usr/share/gazebo/setup.sh
fi
ljaniec gravatar image ljaniec  ( 2022-05-30 04:49:54 -0500 )edit

both worked for me. Thank you.

girayuzun gravatar image girayuzun  ( 2022-05-30 08:14:08 -0500 )edit

If it's been solved, could you accept my answer as correct?

Joe28965 gravatar image Joe28965  ( 2022-05-30 08:27:26 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2022-05-30 02:20:22 -0500

Seen: 969 times

Last updated: May 30 '22