Roadrunner reader simulink block throws id error
5 ビュー (過去 30 日間)
古いコメントを表示
Hello,
Ubuntu 20.04
Matlab 2022b
I am getting started with the Roadrunner toolbox and integrating with Simulink. I have a roadrunner scenario and I would like to read the ego vehicle poses. I am following this guide but making my own simulator: https://www.mathworks.com/help/driving/ug/highway-lane-change-planner-with-roadrunner-scenario.html
I have an ego vehicle defined with ID 1 in my scenario.

However, on Simulink the roadrunner reader block (block at the bottom of screenshot) throws an error saying "actor with the given id ' ' is not defined". What should I do to fix this issue?

0 件のコメント
回答 (2 件)
Sanjana
2023 年 6 月 14 日
Hi Giancarlo,
I understand that you are facing an issue with the “RoadRunner Scenario Reader block”. To receive and process the actions or events from “RoadRunner Scenario” in Simulink, you must create a Bus Object and add it to the “RoadRunner Scenario” Block.
Please refer to the following documentation for further information,
Hope this helps!
0 件のコメント
Krishna Akella
2025 年 9 月 3 日 18:11
Hi Renzo,
Is your MATLAB process connected with RoadRunner process? You can use the instructions on the following page to connect MATLAB and RoadRunner, so you can co-simulate your Simulink model with RoadRunner, by starting simulation from RoadRunner or MATLAB command line (not yet from Simulink run button):
- Krishna
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Programmatic Scene and Scenario Management についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!