Does Gazebo use the GPU on my Rasberry Pi 4

asked 2020-03-02 15:23:59 -0500

campusrover gravatar image

We've gotten all of Ros and Gazebo working on a Raspberry Pi 4.

And it is (not surprisingly) very slow. Highly CPU bound.

The remaining question is whether Gazebo is using the Broadcom VideoCore6 GPU on the Raspberry 4. In other words, is there a special launch parameter, environment variable or other setting or would Gazebo detect the available GPU?

edit retag flag offensive close merge delete

Comments

Is their a reason to run it off a Pi? Gazebo is already going to be pretty CPU intensive especially depending on how accurate you want to run the physics engine. The only thing that I know of to help Gazebo run faster relating to the GPU is when using 2D/3D lidar and making it use gpu_ray instead of ray, and using a plugin that can work with gpu_ray.

rittersb gravatar imagerittersb ( 2020-03-03 12:53:54 -0500 )edit

Thanks @rittersb... The reason for trying it is I want to find the least expensive setup that will run ROS+Gazebo. Before I abandon the Pi4 I wanted to verify whether it was, was not, or could not use the GPU. Does anyone know?

campusrover gravatar imagecampusrover ( 2020-03-04 12:46:25 -0500 )edit

@campusrover Are you able to provide details on how the Pi 4 is/was performing and what your final decision was? I have been considering dedicating a low cost SBC, such as a Pi, for hobby Gazebo simulation.

aarcov gravatar imageaarcov ( 2021-03-07 22:23:04 -0500 )edit