How do I launch RViz for Linux Basics Project I

Hello,
I have started out on Linux Basics for Robotics, I am quite stuck on how to launch RViz in the Course Project I. The simulation is launched in Gazebo but I am failing on how to launch RViz.

I used this to launch the simulation in gazebo;
source ~/simulation_ws/install/setup.bash
ros2 launch turtlebot3_gazebo main_turtlebot3_lab.launch.xml

Hi @flaviajdy. Are you saying that you are not able to see the rviz window? The command you used should also launch RViz for you.

Hi, I am not able to launch RViz, the command only launched gazebo simulation.

Alright. We will have a look and get back to you @flaviajdy

Hi @flaviajdy , quick question — after running the launch command, did you try opening the Graphical Tools window from the bottom bar? As your instructions notebook mentions, the launch is supposed to bring up both Gazebo and RViz, but on the platform, RViz only shows up inside the Graphical Tools window (and only once it’s been launched from a terminal) — it doesn’t appear in the main screen like it did in the course. Can you keep the simulation running, click that icon, and let me know whether RViz appears (give it ~30 seconds if the window looks blank at first)?

It has now worked out thank you so much. both windows for simulation and RViz have popped up after running the command when I logged in again.

1 Like

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