Giter Club home page Giter Club logo

Comments (23)

mjxu96 avatar mjxu96 commented on August 12, 2024

Hi we don't have CarlaViz for Carla 0.9.12.

from carlaviz.

mjxu96 avatar mjxu96 commented on August 12, 2024

Hi CarlaViz 0.9.12 has been released. Could you have a try and see if it works?

from carlaviz.

newzoel avatar newzoel commented on August 12, 2024

Hi Thanks for notifying me.

I just tried it and it works!!!
Thanks for working on this version. If I may know, I would like to know how carlaviz works (backend).
Let me know if u have any references or documentation of carlaviz. I might want to contribute for carlaviz

Thanks again mjxu96 and team!

from carlaviz.

mjxu96 avatar mjxu96 commented on August 12, 2024

Not sure if you are still interested, but yeah I am looking for contributors to help maintain and develop CarlaViz. Please leave comments here or contact me via email if you are still interested in the project.

from carlaviz.

RiaMatapurkar avatar RiaMatapurkar commented on August 12, 2024

Hi, I have Carla 9.14 and get the following error when I run the command:
docker pull mjxu96/carlaviz:0.9.14.1 from https://github.com/mjxu96/carlaviz/tree/master

[2023-11-09 11:27:44.271] [info] CarlaViz will host websocket server on 0.0.0.0:8081
[2023-11-09 11:27:44.272] [info] CarlaViz websocket server starts.
[2023-11-09 11:27:44.272] [info] CarlaViz is trying to connect to Carla simulator on localhost:2000
[2023-11-09 11:27:44.273] [error] Connection to simulator failed for Connection refused
[2023-11-09 11:27:45.273] [info] CarlaViz is trying to connect to Carla simulator on localhost:2000
[2023-11-09 11:27:45.274] [error] Connection to simulator failed for Connection refused
[2023-11-09 11:27:46.274] [info] CarlaViz is trying to connect to Carla simulator on localhost:2000
[2023-11-09 11:27:46.275] [error] Connection to simulator failed for Connection refused
[2023-11-09 11:27:47.275] [info] CarlaViz is trying to connect to Carla simulator on localhost:2000
[2023-11-09 11:27:47.275] [error] Connection to simulator failed for Connection refused
[2023-11-09 11:27:48.276] [critical] Max retry times 3 passed when connecting to simulator, aborting...
terminate called after throwing an instance of 'std::runtime_error'
what(): Max retry times 3 passed when connecting to simulator, aborting...
./docker/run.sh: line 5: 27 Aborted ./backend/bin/backend $@

Would appreciate any help!

from carlaviz.

PierceG6 avatar PierceG6 commented on August 12, 2024

same issue here, did you solve it?

from carlaviz.

mjxu96 avatar mjxu96 commented on August 12, 2024

hi @PierceG6 @RiaMatapurkar what is your docker run command and is your Carla simulator on the same host of CarlaViz container?

from carlaviz.

PierceG6 avatar PierceG6 commented on August 12, 2024

thanks for the reply, @mjxu96
I tried to use >docker pull mjxu96/carlaviz:latest , it succeed. but when i tried >docker run -it -e CARLAVIZ_HOST_IP=59.10.147.138 -e CARLA_SERVER_IP=host.docker.internal -e CARLA_SERVER_PORT=2000 -p 8080-8081:8080-8081 -p 8089:8089 mjxu96/carlaviz:latest. this is what came out:
[2024-04-01 16:03:12.630] [info] CarlaViz is trying to connect to Carla simulator on localhost:2000
[2024-04-01 16:03:12.632] [error] Connection to simulator failed for Connection refused
[2024-04-01 16:03:13.632] [info] CarlaViz is trying to connect to Carla simulator on localhost:2000
[2024-04-01 16:03:13.633] [error] Connection to simulator failed for Connection refused
[2024-04-01 16:03:14.633] [info] CarlaViz is trying to connect to Carla simulator on localhost:2000
[2024-04-01 16:03:14.633] [error] Connection to simulator failed for Connection refused
[2024-04-01 16:03:15.633] [critical] Max retry times 3 passed when connecting to simulator, aborting...
terminate called after throwing an instance of 'std::runtime_error'
what(): Max retry times 3 passed when connecting to simulator, aborting...
./docker/run.sh: line 5: 23 Aborted ./backend/bin/backend $@

THEN, i tried the 0.9.10 version. I succeed, but when I open http://127.0.0.1:8080/ , it shows launch the backend and refresh, but the commandline states this:
Launching backend.
2024-04-01 16:08:00 [INFO] Connecting to Carla Server on host.docker.internal:2000...
2024-04-01 16:08:00 [INFO] Connected to Carla Server, Server version is: 0.9.15
WARNING: Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API
WARNING: Client API version = 0.9.10
WARNING: Simulator API version = 0.9.15
./run.sh: line 16: 7 Segmentation fault ./carlaviz/backend/bin/backend ${CARLA_SERVER_IP} ${CARLA_SERVER_PORT}
Backend launched.
I am so confused, i will be grateful for your help

from carlaviz.

mjxu96 avatar mjxu96 commented on August 12, 2024

hi the docker run command has been changed after CarlaViz 0.9.14. Could you check the latest document?

And please use the same version of CarlaViz as Carla, e.g. use CarlaViz 0.9.15 for Carla 0.9.15.

from carlaviz.

mjxu96 avatar mjxu96 commented on August 12, 2024

by the way, your IP in your reply looks like a public IP. You might want to hide it for safety.

from carlaviz.

RiaMatapurkar avatar RiaMatapurkar commented on August 12, 2024

@mjxu96 Yes both are on the same host

from carlaviz.

RiaMatapurkar avatar RiaMatapurkar commented on August 12, 2024

command-->docker pull mjxu96/carlaviz:0.9.14
error --> during connect: this error may indicate that the docker daemon is not running: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/create?fromImage=mjxu96%2Fcarlaviz&tag=0.9.14": open //./pipe/docker_engine: The system cannot find the file specified.

This is what I see now.

from carlaviz.

mjxu96 avatar mjxu96 commented on August 12, 2024

during connect: this error may indicate that the docker daemon is not running: Post

Could you try 0.9.14.1 or 0.9.15? And could you check if you can pull other non-carlaviz images?

from carlaviz.

PierceG6 avatar PierceG6 commented on August 12, 2024

@mjxu96 Thanks for the reply.
I tried the latest docker run command, the pulling was successful, but it shows error that not able to connect to the simulator. Could you please inform my next step, Thanks!

893dd71a3c67ac96c5376748cafe6b5

from carlaviz.

mjxu96 avatar mjxu96 commented on August 12, 2024

looks like it is almost there. Could you try to put the command into one line and discard the \ in the command?

from carlaviz.

RiaMatapurkar avatar RiaMatapurkar commented on August 12, 2024

@mjxu96 Thanks for all your suggestions I will try with 9.15 but my carla version is 9.14 source build, would that not be a problem?

from carlaviz.

mjxu96 avatar mjxu96 commented on August 12, 2024

Could you try CarlaViz 0.9.14.1? It can work with Carla 0.9.14

from carlaviz.

RiaMatapurkar avatar RiaMatapurkar commented on August 12, 2024

@mjxu96 Unfortunatly I get the same error as before:

error during connect: this error may indicate that the docker daemon is not running: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/create?fromImage=mjxu96%2Fcarlaviz&tag=0.9.14.1": open //./pipe/docker_engine: The system cannot find the file specified.

from carlaviz.

mjxu96 avatar mjxu96 commented on August 12, 2024

@RiaMatapurkar could you check if you can pull other images from dockerhub? This error seems like your local docker daemon problem.

FYI the carlaviz images are hosted at https://hub.docker.com/r/mjxu96/carlaviz/tags

from carlaviz.

RiaMatapurkar avatar RiaMatapurkar commented on August 12, 2024

@mjxu96 I was able to but I will just check again to see if there is a problem on my end! Thanks for all your help, I will write you an update on Monday

from carlaviz.

PierceG6 avatar PierceG6 commented on August 12, 2024

@mjxu96 Thank you for your help!! now I can run the carlaviz.

from carlaviz.

github-actions avatar github-actions commented on August 12, 2024

This issue is stale because it has been open for 30 days with no activity.

from carlaviz.

github-actions avatar github-actions commented on August 12, 2024

This issue was closed because it has been inactive for 14 days since being marked as stale.

from carlaviz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.