Gazebo freezes on vm after running roscore

asked 2021-01-17 05:47:49 -0500

K3da gravatar image

I'm a beginner in ROS, since the learning curve for ROS is steep i decided to use a book to learn how to use ros ([ROS Robotics Projects - Second Edition][1]). I'm currently on the third chapter. I'm learning how to create URDF files and connect ROS with Gazebo. I'm trying to test the robot base and see how it moves in gazebo but when i type the code

$ roslaunch robot_description base_gazebo_control_xacro.launch

Gazebo opens up but never passes the loading screen and it just stays frozen throughout. I decided to check gazebo's site and i realized in the book we didn't created a world file but if that was the issue shouldn't gazebo open up at least and give an error? I'm currently using ROS melodic on Ubuntu 18.4 running on VirtualBox My PC specs are: Hp Envy m4, Intel core i7-3632QM 4 cores, 8gb RAM, My virtualbox settings: 25gb storage, 4gb RAM, Display | Video Memory: 128 MB, Acceleration: 3D, Number of CPUs: 1. Do you think the reason my gazebo freezes is because of my laptops specs? If so do you think it'll run better if i dual boot or use windows subsystem for linux and which option do you think is better? Thank you [1]: https://www.packtpub.com/product/ros-...

edit retag flag offensive close merge delete