A repository for the paper validating crowdsourced monocular pointcloud generation
To start a remote server for carla and start agent from local computer:
- Install nvidia drivers on the server
- Set up ssh
ssh-keygen -t rsacd ~/.sshcat id_rsa.pub- Copy the public id to the local computer's
authorized keysfile
sudo apt-get install dockersudo docker pull carlasim/carla:0.9.13
(Note: you can replace "0.9.13" with any other version, but make sure that the versions on the remote and local computers match)sudo docker run --privileged --gpus all --net=host -v /tmp/.X11-unix:/tmp/.X11-unix:rw carlasim/carla:0.9.13 /bin/bash ./CarlaUE4.sh -RenderOffScreen
(Note: replace 0.9.13 with the installed version)
(Note: -RenderOffScreen starts the carla server in headless version)
For further information see: https://carla.readthedocs.io/en/latest/build_docker/ssh -R 2000:localhost:2000 -R 2001:localhost:2001 -R 2002:localhost:2002 <user@local>
- To install carla follow the steps described in: https://carla.readthedocs.io/en/latest/start_quickstart/#a-debian-carla-installation
cd /opt/carla-simulator/PythonAPI/examples/python3 manual_control.py