The Random Thoughts of a Geek heading for Banbury
The Random Thoughts of a Geek heading for Banbury

Trying again with CARLA, Installing such that it works!

CARLA on Ubuntu via Team Viewer
CARLA - An Open Urban Driving simulator
CARLA – An Open Urban Driving simulator

It has been a while since I have tried getting CARLA to run. After doing fair amount of poking, and prodding including trying to compile Unreal Engine for use on the NVIDIA Jetson Nano; I was unable to get Unreal Engine running on the ARM® A57 architecture.

Since then I thought about setting it up to run on my old MacBook Pro 15″, however it turns out that Freyja can not be made to boot and install macOS, due to what appears to be an issue with the SATA cable. I don’t want to do anything too radical with Thrud, my new MacBook Pro; as at the moment it is my only working machine.

However I remembered I had a small form factor desktop laying around, so after some poking I got Zisa up and running, with an additional Hard drive as well as its M2 SSD.

Zisa and Thrud sat next to each other
Zisa and Thrud sat next to each other

Zisa has the following specification:

  • Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
  • 8 GB of Ram
  • 256 GB M2 SSD
  • 350 GB Laptop HDD (/home is mounted here)
  • Embedded GPU of some kind (probably an intel thing).

So not an amazingly high specification machine by any stretch of the imagination.

I installed Ubuntu 19.10 Eoan Ermine and selected the lighter option for the install.

After initial setup I ran the following commands locally in the terminal:

sudo apt update
sudo apt upgrade
sudo apt autoremove
sudo apt install openssh-server

I then downloaded and installed the CARLA required files (PDF Instructions for installing CARLA on Ubuntu), most of these can be done via SSH:

sudo apt install python3-pip libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
pip3 install numpy --user
wget -c "https://skippy.org.uk/wp-content/uploads/2019/09/CarlaUE4Ubuntu.tar.gz" -O ~/CarlaUE4Ubuntu.tar.gz
mkdir ~/opt
tar -xzf ~/CarlaUE4Ubuntu.tar.gz --directory ~/opt
python3 -m pip install -r ~/opt/CarlaSimulator/requirements.txt --user

Then it was time to give it a run; this needs to be done on the local machine (I used Team Viewer), as if you run it remotely via SSH you will not get a CarlaUE4 window:

cd ~/opt/CarlaSimulator
./CarlaUE4.sh -windowed -carla-no-networking
CARLA on Ubuntu via Team Viewer
CARLA on Ubuntu via Team Viewer

Leave a comment

Your email address will not be published. Required fields are marked *