PJLab-ADG / PCSim

PCSim: LiDAR Point Cloud Simulation and Sensor Placement! Code of [ICRA 2023] "Analyzing Infrastructure LiDAR Placement with Realistic LiDAR Simulation Library" and [ICCV 2023] "Optimizing the Placement of Roadside LiDARs for Autonomous Driving".
Apache License 2.0
215 stars 23 forks source link

run scene_replay.py报错:did not match C++ signature: #24

Open guanjinglu opened 7 months ago

guanjinglu commented 7 months ago

大佬好,在使用ReSimAD模块进行仿真时,第二步Simulated in CARLA出现了以下报错:

INFO: listening to server 127.0.0.1:2000
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.15 
WARNING: Simulator API version  = 0.9.15-dirty 
WARNING: cannot parse georeference: ''. Using default values. 
WARNING: cannot parse georeference: ''. Using default values. 
Traceback (most recent call last):
  File "scene_replay.py", line 253, in replay_one
    world = World(sim_world, args.waymo_sequence)
  File "scene_replay.py", line 113, in __init__
    self.setup()
  File "scene_replay.py", line 193, in setup
    self.mesh = self.world.try_spawn_actor(self.mesh_bp, mesh_transform)
Boost.Python.ArgumentError: Python argument types in
    World.try_spawn_actor(World, list, Transform)
did not match C++ signature:
    try_spawn_actor(carla::client::World {lvalue}, carla::client::ActorBlueprint blueprint, carla::geom::Transform transform, carla::client::Actor* attach_to=None, carla::rpc::AttachmentType attachment_type=carla.libcarla.AttachmentType.Rigid)

Python argument types in
    World.try_spawn_actor(World, list, Transform)
did not match C++ signature:
    try_spawn_actor(carla::client::World {lvalue}, carla::client::ActorBlueprint blueprint, carla::geom::Transform transform, carla::client::Actor* attach_to=None, carla::rpc::AttachmentType attachment_type=carla.libcarla.AttachmentType.Rigid)
destroying all actor

提示python中的输入和调用的C++函数参数不一致,目前测试用的数据使用的是代码提供的segment-9320169289978396279_1040_000_1060_000.pkl文件和对应的fbx文件seg9320169.fbx

想请教一下大佬在之前调试时有没有遇到过类似的情况,或者能否帮忙分析一下问题出现的原因?

祝好。