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

DeepDrive API can't connect to simulator #39

Open
aaronhma opened this issue Nov 16, 2019 · 1 comment
Open

DeepDrive API can't connect to simulator #39

aaronhma opened this issue Nov 16, 2019 · 1 comment

Comments

@aaronhma
Copy link

2019-11-15 20:28:58,553 - deepdrive_api.client - INFO - Deepdrive API client connecting to tcp://localhost:5557
2019-11-15 20:28:58,553 - deepdrive_api.client - INFO - Waiting for sim to start on server...

And then it stays there for over an hour with no change? Here's my code:

from deepdrive_api.client import get_action, Client

def main():
    env = Client(is_remote_client=True, render=True)
    forward = get_action(throttle=1, steering=0, brake=0)
    done = False
    while not done:
        observation, reward, done, info = env.step(forward)
    env.close()
    print('Episode finished')

if __name__ == '__main__':
    main()

Help would be appreciated. Thanks!

@crizCraig
Copy link
Member

Hi @aaronhma - did you install with sudo by chance? If so, see #40

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