project-aslan / Aslan

Open source self-driving software for low speed environments
Apache License 2.0
273 stars 69 forks source link

[BUG] Failed to start Aslan using Docker run.bash #14

Closed P4nos closed 4 years ago

P4nos commented 4 years ago

Describe the bug When trying to execute the run.bash script from inside a locally built Docker container, Aslan fails to start.

Steps to reproduce

  1. Execute the build.bash under the aslan_docker directory
  2. Execute the run.bash under the aslan_docker directory
  3. While inside the container run ./Aslan/run
  4. See error

Expected behavior Expected Aslan to run

Screenshots This is what I see. Screenshot from 2020-07-21 22-13-20

System (please complete the following information):

Additional context Add any other context about the problem here.

EfimiaPanagiotaki-StreetDrone commented 4 years ago

@P4nos the ROS Melodic release of Aslan for Ubuntu 18.04 will be best suited for your system.

The run.bash script is pulling the docker image from the Dockerhub so when you run the script it will start the image projaslan/aslan. The script build.bash is building the image aslan_docker, locally which will most likely be broken if it was built with Aslan 1.1.0, on top of an Ubuntu 18.04 OS. The Aslan GUI won't launch if the built of the catkin workspace was not finished properly. Did you get any errors when building the docker with ./build.bash, on the step catkin build of Aslan?

For now, try only executing the run.bash script which launches an instance of Ubuntu 16.04 and ROS Kinetic and use Aslan from there.

EfimiaPanagiotaki-StreetDrone commented 4 years ago

@P4nos The ROS Melodic release of Aslan is at the melodic branch and the melodic docker is at projaslan/aslan:melodic You should now be able to use Aslan however you like (docker or source)

If you run the melodic docker , are you still getting the same error? For reference, to launch the melodic docker:

cd Aslan/
git checkout melodic
cd aslan_docker/
./run.bash