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

apollo 9.0 与carla联合仿真存在问题 #15482

Open
YiTQ opened this issue Jul 26, 2024 · 4 comments
Open

apollo 9.0 与carla联合仿真存在问题 #15482

YiTQ opened this issue Jul 26, 2024 · 4 comments
Assignees
Labels
Module: Simulation & Dreamview Indicates simulation module related issues

Comments

@YiTQ
Copy link

YiTQ commented Jul 26, 2024

System information

  • **OS Platform and Distribution : Linux Ubuntu 20.04
  • **Apollo version : 9.0
  • Carla 0.9.15
  • 深信科创 Bridge 0.9.14

Steps to reproduce the issue:

在Apollo与Carla联合仿真时,如果bridge中发送车辆状态消息的频率太快(周期<0.1s),就会出现走走停停的现象,即车子给了油门车速刚起来一点就会刹车。设定频率减小后,异常现象会有缓解。推测是因为设定周期大时(或carla反馈数据延迟)vehicle_vel_time>0.1,此时会跳出图2中的逻辑(因此时prev_trajectory.start_point().relative_time=0.1s);

Supporting materials (screenshots, command lines, code/script snippets):

planning的log文件报错如下:
图片1
通过查找原因,发现联合仿真时会进入如下逻辑,然后偶发上述bug的现象;单独apollo pnc模块(不带carla)不会进入该逻辑。
报警函数地址:/modules/planning/planning_base/common/trajectory_stitcher.cc
图片2
Apollo9planning_report.pdf

@daohu527 daohu527 added the Module: Simulation & Dreamview Indicates simulation module related issues label Jul 26, 2024
@daohu527 daohu527 self-assigned this Jul 26, 2024
@HandsomeAIccx
Copy link

是不是车辆动力学没标定好 可能也会出现这种情况

@MaisJamal
Copy link

I might have a similar problem, can you please tell me what bridge you are using between Carla and Apollo?

@YiTQ
Copy link
Author

YiTQ commented Aug 2, 2024

I might have a similar problem, can you please tell me what bridge you are using between Carla and Apollo?

It's from SYNKROTRON. https://github.com/guardstrikelab/carla_apollo_bridge.git

@wusx
Copy link

wusx commented Aug 2, 2024

I might have a similar problem, can you please tell me what bridge you are using between Carla and Apollo?

use her bridge,it's ok!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: Simulation & Dreamview Indicates simulation module related issues
Projects
None yet
Development

No branches or pull requests

5 participants