Tencent / Tencent/TAD_Sim

如何实现算法模块固定周期运行

Open
#88 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
465
Forks
122
PR merge metrics
No merged PRs in 30d

Description

虽然我配置算法运行周期为10ms,但是实际运行周期只有8us,这太快了,我的算法程序还来不及处理。
我参考txSimSDK.tar.gz的my_module_main.cc,并打印了的Step的耗时,结果如下:
my_example
module_config
如何配置实现外接算法模块的固定周期运行呢?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with txSimSDK.tar.gz and the my_module_main.cc example, then inspect how Step timing and the module configuration shown in the screenshots are handled. Reproduce the 10 ms configuration and compare it with the observed 8 us interval; done means the external algorithm module runs at the configured fixed period or the configuration limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
autonomous-driving
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.