Autoware docker 環境安裝
環境: ubuntu 16.04 GPU:GeForce 1070 nvidia 驅動型號:nvidia_driver_390.67
安裝參考網址:
https://github.com/CPFL/Autoware/wiki/Generic-x86-Docker
遇到的問題:
(1)nvidia-docker 測試:sudo nvidia-docker run --rm nvidia/cuda nvidia-smi
Use kinetic
Shared directory: /home/root/shared_dir
docker: Error response from daemon: create nvidia_driver_390.67: VolumeDriver.Create: internal error, check logs for details.
See ‘docker run --help‘.
解決方法:nvidia-docker volume create nvidia_driver_390.67 (和nvidia_driver_390.67對應)
(2)autoware@AISVR:~/Autoware/ros$ sudo ./run
Process Manager
No protocol specified
(gksudo:97): Gtk-WARNING **: cannot open display: :0
No protocol specified
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
No protocol specified
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Failed to parse arguments: Cannot open display:
Failed to parse arguments: Cannot open display:
解決方法:重新打開一個終端 輸入命令 : sudo xhost +
Autoware docker 環境安裝