Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run deepdrive simulation with custom deepdrive-sim environment (2.0) #27

Open
micmarty opened this issue Nov 28, 2018 · 1 comment

Comments

@micmarty
Copy link

Description

My goal was to build my own, customized deepdrive-sim project in UE 4 and use it with python via deepdrive wrapper (this repo)

My specs

Ubuntu 16.04
Unreal Engine 4.14
deepdrive: DeepDrive 2.0, branch `master`
deepdrive-sim: DeepDrive 2.0  branch `master`

Steps to reproduce

  1. Run DeepDrive.uproject in Unreal Editor
  2. Modify anything, e.g. reshape SplineTrajectory
  3. Build shipping package for Linux (default in: .../deepdrie-sim/Saved/StagedBuilds/LinuxNoEditor)

  1. Prepare and activate clean conda environment with python 3.6
  2. Clone deepdrive repo
  3. Run python install.py and wait until downloading is finished (default: ~/Deepdrive)
  4. DeepDrive starts automatically and works totally fine
  5. Replace everything inside ~/Deepdrive/sim/LinuxNoEditor with the aforementioned custom environment (.../deepdrive-sim/Saved/StagedBuilds/LinuxNoEditor)
    (copied content from right window to left)
    image
  6. Run python main.py --path-follower or whatever

Crash log

Full version (with ability to stop, select, etc.)
https://asciinema.org/a/ehDYZjhBZfXQR7R7JoAKy1S00

Important lines

image

Wrong path, hard-coded?
image
API not working
image
Couldn't connect
image

Summary

Did I miss something obvious? What steps are necessary to solve my problem?
I think that this use case (using custom environment) is crucial for new users (ofc in the future, not now probably)

Thanks in advance!

@crizCraig
Copy link
Member

crizCraig commented Dec 2, 2018

Hi @micmarty - are you able to run the sim directly via the executable? This looks like the sim is not starting. Also, in the sim folder, there should be log files in LinuxNoEditor/DeepDrive/Saved/Logs which may give more of a clue as to why the sim is segfaulting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants