lgsvl / simulator

A ROS/ROS2 Multi-robot Simulator for Autonomous Vehicles
Other
2.29k stars 781 forks source link

Apollo fork reinstall error #255

Closed berkuva closed 5 years ago

berkuva commented 5 years ago

Due to a problem on my Desktop, I had to remove and reinstall Apollo (LGSVL fork). The simulator establishes connection with rosbridge, given that it runs. I can add waypoints on Dreamview and the simulator follows them. There are two issues, however.

First, LG SVL 1080 seems to be missing from Dreamview > Tasks. Only EP Rigged, MKZ, SF rigged, and XW rigged are available in the dropdown.

Second, under Dreamview > Module Controller, Perception toggles off itself. apollo/data/perception.out outputs apollo/bazel-bin/modules/perception/perception: error while loading shared libraries: libcuda.so.1: cannot open shared object file: No such file or directory. Something must have gone wrong when reinstalling, even though everything seemed to run fine when reinstalling.

I'm not sure what libcuda.so.1 is, or how to fix this issue. These all worked fine before removing reinstalling Apollo. I followed the steps in LG SVL Apollo fork github page.

I'm on Ubuntu 16.04.5 LTS and GeForce GTX 1080. Thank you!

martins-mozeiko commented 5 years ago

I assume you are running apollo inside docker we provide (dev_start/dev_into.sh scripts), right?

Did you install nvidia drivers on your host? You can check if GPU name is printed when you run nvidia-smi.

berkuva commented 5 years ago

@martins-mozeiko Yes, I am running apollo inside the docker. Here's the output ofnvidia-smi, which prints the name of the GPU.

nvidia-smi