Gery screen GAZEBO

I did the wall following part and ran it
But today I am trying to run it again, yet when I start the simulation using the commands given in the notebook:

source ~/catkin_ws/devel/setup.bash

roslaunch load_params load_params.launch

source /opt/ros/foxy/setup.bash

ros2 run ros1_bridge parameter_bridge

I am just getting a grey screen

Can anyone help!

Hi @mayasleiman ,

If you are getting a gray screen on Gazebo, it is probably because the simulation environment is zoomed in too much. It happened to me, so try to zoom out as much as possible. You will be able to see the simulation area again with the complete robot setup.

= = = = = = = = = =
Make sure that you use a separate terminal for launching the simulation and another separate terminal for the ros bridge. Use a fresh terminal to run your package program.
= = = = = = = = = =

I hope this helps. Let us know if you still have issues.


1 Like

Hi @mayasleiman,

after trying what Girish suggested, if you still cannot see the simulation, please try sharing the link for your rosject here, so that we can try to reproduce it.

To share a rosject link, just go to My Rosjects page (ROSjects - Robotics & ROS Online Courses | The Construct), and click the β€œshare” button that appears at the bottom of your rosject.

Hello Thank you for your feedback
In fact, it was not a zoom issue.
I deleted my rosject and initialized it again late at night
and gazebo is working perfectly
I hope it won’t happen again

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.