Every time I face some problems on my virtual machine crashing I have to redo lots of work to prepare my Linux environment on newly installed system, which could actually be done by a machine. I wrote down these pipelined steps so as to accelerate my work while preparing my LInux environment.
This is the repository that speeds my initialization and installation process of a new Linux environment.
Usually, the executing order is:
- env.sh
- sshd.sh
- conda.sh
- case.sh
- carla.sh
- ros.sh
- ros-bridge.sh
- emptyDust.sh
- git.sh
- VS Code Settings
This repo has been successfully tested based on Ubuntu 20.04 Focal installed on VMWare Work Station 16 Pro.
Here are some background environments:
- VM Ware Work Station 16 Pro
- Ubuntu 20.04 Focal from official website
- With enough space for Ubuntu virtual machine (or a real one if you don't want to install VM)
While running CARLA built file CarlaUE4.sh
, VMWare virtual machine does not support GPU directly, so the running of this application will be unsuccessful. Ref
One suggestion to solve this problem is that you can run CarlaUE4
on your Windows or non-virtual-machine environment which can be served as a server side of CARLA, as you are now in VMWare Work Station's environment that meets the problem I pointed above. Then Change the default IP address form 127.0.0.1 to the ones on the environment you are running CarlaUE4
to successfully run the scripts in PythonAPI
on your virtual Linux Ubuntu environment with ROS to continue your work.
by Alexander
7th Oct, 2022