Launching a Gazebo simulation

First of all open a console and source the workspace:

  • cd /pal_mobile_base_ws/
    source devel/setup.bash

To launch the simulation of the ARan Base, execute:

  • roslaunch pmb3_gazebo pmb3_gazebo.launch public_sim:=true

pmb3_gazebo.png

With the simulation of ARan Base we are providing several pre-defined worlds which stress different aspects of navigation systems. You can find a list of these here.

Now let's launch the ARan Base simulation in a corridor as follows:

  • roslaunch pmb3_gazebo pmb3_gazebo.launch public_sim:=true world:=corridor_110cm 

The simulated ARan Base can provide the laser scan as depicted below: pmb3_gazebo_corridor.png

If you manage to launch these two simulations then the installation has been successful.

Nvidia compatibility issues

If you encounter any issues when trying to run gazebo inside the rocker verify that your drivers are up to date and that your PC configuration includes either nvidia GPU or Intel CPU

If you are facing this issue on a laptop, run  nvdia-settings  and go in the PRIME Profiles section

nvidia-settings.png

If you launched the rocker with nvidia support choose the NVIDIA (Performance Mode)

If you launched the rocker with intel support choose NVIDIA On-Demand (Default)

Restart the laptop and it should work

Wiki: Robots/ARan-base/Tutorials/Installation/ARan_Base_Simulation (last edited 2023-02-06 13:31:56 by thomaspeyrucain)