Comments (13)
I met the same problem. And i also met another problem:
RuntimeError: time-out of 10000ms while waiting for the simulator, make sure the simulator is ready and connected to localhost:2000
from opencda.
When you saw this issue, the root cause is not exactly this issue. Typically, it is caused by some other problems that happened before the evaluation manager is created, and when the codes go to the finally block this issue will raise as evaluation manager hasn't been created yet. So please paste the full error message here so I can help you.
from opencda.
I met the same problem. And i also met another problem:
RuntimeError: time-out of 10000ms while waiting for the simulator, make sure the simulator is ready and connected to localhost:2000
Please refer to this closed issue.
from opencda.
Because I have not install carla in canda, and then I did it ,but now the question is changed as below..
OpenCDA Version: 0.1.0
load opendrive map '2lane_freeway_simplified.xodr'.
Creating single CAVs.
Traceback (most recent call last):
File "/home/fxd/Project/OpenCDA/opencda/scenario_testing/single_2lanefree_carla.py", line 43, in run_scenario
map_helper=map_api.
File "/home/fxd/Project/OpenCDA/opencda/scenario_testing/utils/sim_api.py", line 212, in create_vehicle_manager
vehicle_manager.update_info()
File "/home/fxd/Project/OpenCDA/opencda/core/common/vehicle_manager.py", line 174, in update_info
objects = self.perception_manager.detect(ego_pos)
File "/home/fxd/Project/OpenCDA/opencda/core/sensing/perception/perception_manager.py", line 402, in detect
objects = self.deactivate_mode(objects)
File "/home/fxd/Project/OpenCDA/opencda/core/sensing/perception/perception_manager.py", line 563, in deactivate_mode
objects)
File "/home/fxd/Project/OpenCDA/opencda/core/sensing/perception/o3d_lidar_libs.py", line 138, in o3d_visualizer_show
vis.update_geometry(point_cloud)
TypeError: update_geometry(): incompatible function arguments. The following argument types are supported:
1. (self: open3d.open3d.visualization.Visualizer) -> bool
Invoked with: Visualizer with name 87, geometry::PointCloud with 2133 points.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "opencda.py", line 56, in
main()
File "opencda.py", line 51, in main
scenario_runner(opt, config_yaml)
File "/home/fxd/Project/OpenCDA/opencda/scenario_testing/single_2lanefree_carla.py", line 75, in run_scenario
eval_manager.evaluate()
UnboundLocalError: local variable 'eval_manager' referenced before assignment
WARNING: sensor object went out of the scope but the sensor is still alive in the simulation: Actor 88 (sensor.other.gnss)
WARNING: sensor object went out of the scope but the sensor is still alive in the simulation: Actor 89 (sensor.other.imu)
WARNING: sensor object went out of the scope but the sensor is still alive in the simulation: Actor 90 (sensor.camera.rgb)
WARNING: sensor object went out of the scope but the sensor is still alive in the simulation: Actor 91 (sensor.lidar.ray_cast)
from opencda.
Can you show me your running command, OS system version and Carla version?
from opencda.
Also, did you install opencda with the yaml file we provided?
from opencda.
@DerrickXuNu Thanks a lot. It seems I have find the root cause.Because in the environment.yaml and requirements.txt, the open3d has no version information, so pip default install 0.13.0. when I install open3d not higher than 0.10.x, The Porblem has solved.So Maybe there is some incompatibility problem..
from opencda.
I am using 0.13.0 and it works fine. I guess there is incompatibility between your system and Open3d. Anyway, please let me know if you have further questions
from opencda.
I met the same problem. And i also met another problem:
RuntimeError: time-out of 10000ms while waiting for the simulator, make sure the simulator is ready and connected to localhost:2000
Please refer to this closed issue.
Thanks a lot!
from opencda.
徐博士,我跑这个代码的时候也遇到了这个问题,local variable 'eval_manager' referenced before assignment,但好像不是上述的问题。
1、当时安装的时候,export CARLA_HOME=/path/to/your/CARLA_ROOT,这里面CARLA_ROOT就是CARLA_0.9.11的地址吗。
2、完整报错信息:(opencda) user@user-ThinkStation-P520:/lihaoming/OpenCDA$ python opencda.py -t single_2lanefree_carla -v 0.9.11
OpenCDA Version: 0.1.2
load opendrive map '2lane_freeway_simplified.xodr'.
Traceback (most recent call last):
File "/lihaoming/OpenCDA/opencda/scenario_testing/single_2lanefree_carla.py", line 36, in run_scenario
cav_world=cav_world)
File "/lihaoming/OpenCDA/opencda/scenario_testing/utils/sim_api.py", line 188, in init
self.world = load_customized_world(xodr_path, self.client)
File "/lihaoming/OpenCDA/opencda/scenario_testing/utils/customized_map_api.py", line 57, in load_customized_world
enable_mesh_visibility=True))
RuntimeError: time-out of 10000ms while waiting for the simulator, make sure the simulator is ready and connected to localhost:2000
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "opencda.py", line 56, in
main()
File "opencda.py", line 51, in main
scenario_runner(opt, config_yaml)
File "/lihaoming/OpenCDA/opencda/scenario_testing/single_2lanefree_carla.py", line 76, in run_scenario
eval_manager.evaluate()
UnboundLocalError: local variable 'eval_manager' referenced before assignment
基本都是对这教程安装的,想请您给我解答一下,感谢!
from opencda.
Did you start Carla simulators first?
from opencda.
Did you start Carla simulators first?
我运行:
‘/CarlaUE4.sh'
4.24.3-0+++UE4+Release-4.24 518 0
Disabling core dumps,能正常启动的。
我运行您上述的python opencda.py-t single_town06_carla --apply_ml,会出现Town06 is not found in your CARLA repo! Please download all town maps to your CARLA repo! 这样的报错,我已经下载了那个additional map也替换到了原来的文件夹里。
from opencda.
Did you start Carla simulators first?
Dr. Xu, could you take the time to answer my question
from opencda.
Related Issues (20)
- how to Estimate Yaw Angle of surrounding vehicles HOT 1
- About the algorithm of BehaviorAgent planning driving behavior for a single CAV
- Controller selection in OpenCDA HOT 2
- How to generate annotations for LiDAR data? HOT 1
- Delay between lidar point cloud and annotation HOT 1
- Insallation Problems (local installation and docker) HOT 4
- float() argument must be a string or a number, not 'LineString' in single_intersection_town6_carla file HOT 4
- An error occurred while starting the test HOT 1
- The remote server returned an error: (403) Forbidden. (WebException) HOT 1
- installation document should be updated HOT 4
- Is the branch of cooperative-lidar-communicate really realize lidar data transmission between CAVs? HOT 2
- Issue in plan_trajectory values produced by data_dumper HOT 1
- Error: Could not open types-file opendrive_netconvert.typ.xml
- Would like to have some hint on reproduce OPV2V dataset, and generate more data under same setting HOT 1
- lag in v2x_manager
- Request for OPV2V data collection code HOT 2
- UnboundLocalError local variable 'eval_manager' referenced before assignment HOT 2
- Error during the openCDA installation
- Is it possible to run OpenCDA for a longer period of time?
- Car Following Logic Incorrect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencda.