Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
guanjinglu opened this issue Feb 26, 2024 · 0 comments
Open

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

guanjinglu opened this issue Feb 26, 2024 · 0 comments

Comments

@guanjinglu
Copy link

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

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

祝好。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant