Code Monkey home page Code Monkey logo

Comments (7)

DerrickXuNu avatar DerrickXuNu commented on July 19, 2024

Hi, could you provide more information of the error on the Sumo panel/ console output? Also what is your sumo and Carla version?

from opencda.

XIAOXIAOXIXIA avatar XIAOXIAOXIXIA commented on July 19, 2024

Hi, could you provide more information of the error on the Sumo panel/ console output? Also what is your sumo and Carla version?

Sumo is 1.2.0 and Carla is 0.9.11.
CMD'information:C:\Users\86188\Desktop\opencda\openCDA\OpenCDA-main\OpenCDA-main>python opencda.py -t platoon_joining_2lanefree_cosim
OpenCDA Version: 0.1.0
<module 'opencda.scenario_testing.platoon_joining_2lanefree_cosim' from 'C:\Users\86188\Desktop\opencda\openCDA\OpenCDA-main\OpenCDA-main\opencda\scenario_testing\platoon_joining_2lanefree_cosim.py'>
load opendrive map '2lane_freeway_simplified.xodr'.
Creating platoons/
Creating single CAVs.
C:\Users\86188\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\core\fromnumeric.py:3441: RuntimeWarning: Mean of empty slice.
out=out, **kwargs)
C:\Users\86188\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\core_methods.py:189: RuntimeWarning: invalid value encountered in double_scalars
ret = ret.dtype.type(ret / rcount)
C:\Users\86188\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\core\fromnumeric.py:3441: RuntimeWarning: Mean of empty slice.
out=out, **kwargs)
C:\Users\86188\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\core_methods.py:189: RuntimeWarning: invalid value encountered in double_scalars
ret = ret.dtype.type(ret / rcount)
C:\Users\86188\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\core\fromnumeric.py:3441: RuntimeWarning: Mean of empty slice.
out=out, **kwargs)
C:\Users\86188\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\core_methods.py:189: RuntimeWarning: invalid value encountered in double_scalars
ret = ret.dtype.type(ret / rcount)
C:\Users\86188\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\core\fromnumeric.py:3441: RuntimeWarning: Mean of empty slice.
out=out, **kwargs)
C:\Users\86188\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\core_methods.py:189: RuntimeWarning: invalid value encountered in double_scalars
ret = ret.dtype.type(ret / rcount)
Localization Evaluation Done.
Kinematics Evaluation Done.
Platooning Evaluation Done.
destroying carla actor
destroying sumo actor
SUMO's information:Simulation ended at time:0.05.Reason:traci requested termination.

from opencda.

DerrickXuNu avatar DerrickXuNu commented on July 19, 2024

Your sumo version maybe too old, try to upgrade to 1.9.0 and see whether it works.

from opencda.

XIAOXIAOXIXIA avatar XIAOXIAOXIXIA commented on July 19, 2024

Your sumo version maybe too old, try to upgrade to 1.9.0 and see whether it works.

I updated sumo to 1.9.2,I ran the third example of quick start on the opencda official website, and Sumo encountered the following error:simulation ended at time :12.65.
CMD'information:C:\Users\86188\Desktop\opencda\openCDA\OpenCDA-main\OpenCDA-main>python opencda.py -t platoon_joining_2lanefree_cosim
OpenCDA Version: 0.1.0
<module 'opencda.scenario_testing.platoon_joining_2lanefree_cosim' from 'C:\Users\86188\Desktop\opencda\openCDA\OpenCDA-main\OpenCDA-main\opencda\scenario_testing\platoon_joining_2lanefree_cosim.py'>
load opendrive map '2lane_freeway_simplified.xodr'.
Creating platoons/
Creating single CAVs.
WARNING:root:sumo vtype DEFAULT_VEHTYPE not found in carla. The following blueprint will be used: vehicle.lincoln.mkz2017
WARNING:root:sumo vtype DEFAULT_VEHTYPE not found in carla. The following blueprint will be used: vehicle.lincoln.mkz2017
WARNING:root:sumo vtype DEFAULT_VEHTYPE not found in carla. The following blueprint will be used: vehicle.jeep.wrangler_rubicon
WARNING:root:sumo vtype DEFAULT_VEHTYPE not found in carla. The following blueprint will be used: vehicle.mustang.mustang
WARNING:root:sumo vtype DEFAULT_VEHTYPE not found in carla. The following blueprint will be used: vehicle.nissan.patrol
WARNING:root:sumo vtype DEFAULT_VEHTYPE not found in carla. The following blueprint will be used: vehicle.mini.cooperst
WARNING:root:sumo vtype DEFAULT_VEHTYPE not found in carla. The following blueprint will be used: vehicle.mini.cooperst
WARNING:root:sumo vtype DEFAULT_VEHTYPE not found in carla. The following blueprint will be used: vehicle.seat.leon
Destination Reset!
Destination Reset!
Destination Reset!
delete waypoint!
Destination Reset!
Destination Reset!
Destination Reset!
Destination Reset!
delete waypoint!
Destination Reset!
delete waypoint!
Simulation is Over
Localization Evaluation Done.
Kinematics Evaluation Done.
Platooning Evaluation Done.
destroying carla actor
destroying sumo actor
SUMO's information:Simulation ended at time:12.65.Reason:traci requested termination.

from opencda.

DerrickXuNu avatar DerrickXuNu commented on July 19, 2024

That's not an error, it is just the simulation is over as the AV reaches the target location. Check the console carefully and you will see a sentence "The simulation is over!", which means this simulation successfully finishes the task and clean out the spawn vehicles. Your issue has been fixed.

from opencda.

XIAOXIAOXIXIA avatar XIAOXIAOXIXIA commented on July 19, 2024

from opencda.

DerrickXuNu avatar DerrickXuNu commented on July 19, 2024

可以把你的运行指令发一下吗?如果可以录下屏看下video什么样子发给我。[email protected]

from opencda.

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.