본문 바로가기
Autonomous Vehicles

자동차 시뮬레이터 Carla 설치

by 꿈꾸는 띵땅근 2021. 6. 7.

본인이 Linux 환경이고, 최신버전을 설치하고 싶다면, 
https://carla.readthedocs.io/en/0.9.10/build_linux/

 

Linux build - CARLA Simulator

The build process can be quite long and tedious. The F.A.Q. page offers solution for the most common complications. Alternatively, use the CARLA forum to post any unexpected issues that may occur. CARLA needs many dependencies to run. Some of them are buil

carla.readthedocs.io

여기 페이지만 잘 따라하면 된다.

 

dependencies깔 때 문제가 일어나지 않아야 한다. 아래는 문제 있는 상황이다. 

 

중간에 dependencies 깔때 빨간색 에러뜨면서

권한이 없어서 pip2 install 이런거 못한다 이런 에러 뜨는데, 

https://stackoverflow.com/questions/31512422/pip-install-failing-with-oserror-errno-13-permission-denied-on-directory

즉, virtualenv 키고

--user 이 부분만 빼고 명령하면 잘된다. 

virtualenv 끄는건 deactivate 하면 된다. 

 

 

 

중간에 보면 

나는 CARLA repository 에 들어가서  0.9.10 tar.gz파일 압축을 홈디렉토리에 폴더 하나 만들어서 거기에 풀었다. 

이렇게 묶여있는것은 pre compiled버전이라 빌드가 필요 없는 듯 하다. 바로 python examples 돌려보면서 확인해라. 

단, 칼라(서버) 먼저 키고 파이썬(클라이언트) 파일 키는거다. 

 

 

 

 

댓글