Giter Site home page Giter Site logo

autocastsim's People

Contributors

enp6s0 avatar hangqiu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

autocastsim's Issues

Change Number of CAVs

Hi all,

Thanks for the great work!

I'm wondering if you could give some advice or comments on how to modify the participating CAVs in a particular scenario? For example, if there are three CAVs defined in the scene, can we change the number to eight?

Thanks again!

RPC server: BIND Error on Rerun

I get a bind error if I run the standard scenario 6 and rereun it.

The command I run:
python3 scenario_runner.py --route srunner/data/routes_training_town03_autocast10.xml srunner/data/towns03_traffic_scenarios_autocast10.json --reloadWorld --bgtraffic 0 --agent AVR/autocast_agents/simple_agent.py --commlog --sharing --debug

The error I get when I Cntrl+C and rerun it:
File "scenario_runner.py", line 130, in __init__ self.traffic_manager = self.client.get_trafficmanager(int(self._args.trafficManagerPort)) RuntimeError: trying to create rpc server for traffic manager; but the system failed to create because of bind error

How I fix it:

  1. first I list all listening ports
    sudo lsof -i -P -n | grep LISTEN
  2. Then I kill it
    kill -9 pid

Is there a way to avoid this error?
Please advise.
thanks

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.