PJLab-ADG/PCSim

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

Opened this issue · 0 comments

大佬好,在使用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

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

祝好。