Giter Site home page Giter Site logo

Comments (3)

epris avatar epris commented on August 16, 2024 1

Hi @JessicaFerrara and @epris
You only changed the port in Python script but not the bridge.
Please add --carla-port 3000 in the script here
https://github.com/evshary/autoware_carla_launch/blob/main/script/run-bridge.sh#L12

it works, thanks!

from autoware_carla_launch.

epris avatar epris commented on August 16, 2024

Hello,

just to clarify the problem:

  • we changed the Carla server port to 3000. So, we wrote "./CarlaUE4.sh -quality-level=Epic -world-port=3000 -RenderOffScreen"
  • then, we modified "main.py" so that args.port is equal to 3000
  • we obtained the following error
    "terminate called after throwing an instance of 'carla::client::TimeoutException'
    what(): time-out of 5000ms while waiting for the simulator, make sure the simulator is ready and connected to 127.0.0.1:2000"
  • We are sure that in simulation.loop.py client = carla.Client(args.host, args.port) args.port is equal to 3000
  • We tried to launch the script simple_spawn.py and the connection with the server happened and we got the following message "Hello from the pygame community. https://www.pygame.org/contribute.html
    WARNING: sensor object went out of the scope but the sensor is still alive in the simulation: Actor 922 (sensor.other.gnss)
    WARNING: sensor object went out of the scope but the sensor is still alive in the simulation: Actor 923 (sensor.other.imu)"

We are not able to understand why a timeout on port 2000 is still notified if we set the port to 3000

Eventually, if we use the default port (2000) everything is fine but we need to use a different port.

from autoware_carla_launch.

evshary avatar evshary commented on August 16, 2024

Hi @JessicaFerrara and @epris
You only changed the port in Python script but not the bridge.
Please add --carla-port 3000 in the script here
https://github.com/evshary/autoware_carla_launch/blob/main/script/run-bridge.sh#L12

from autoware_carla_launch.

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.