0
$\begingroup$

Rosanswers logo

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


Originally posted by girayuzun on ROS Answers with karma: 21 on 2022-05-30

Post score: 0


Original comments

Comment by ljaniec on 2022-05-30:
Can you check if you can start gzserver alone?

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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.


Originally posted by Joe28965 with karma: 1124 on 2022-05-30

This answer was ACCEPTED on the original site

Post score: 1


Original comments

Comment by ljaniec on 2022-05-30:
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

Comment by girayuzun on 2022-05-30:
both worked for me. Thank you.

Comment by Joe28965 on 2022-05-30:
If it's been solved, could you accept my answer as correct?

$\endgroup$

Your Answer

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