How can you connect the CARLA autonomous driving simulator with simulink?

조회 수: 18 (최근 30일)
I am using the CARLA autonomous driving simulator and have an autonomous driving software in simulink. How can I control the autonomous vehicle in CARLA with my simulink model?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2022년 5월 31일
The connection could be established using CARLA ROS Bridge and MATLAB ROS toolbox. MATLAB ROS toolbox will give you the ability to create customized ROS messages to exchange data between MATLAB/Simulink and CARLA Simulator via CARLA ROS Bridge. Once that connection is established, you will be able to send commands to the ego vehicle\CARLA simulation environment and read information from the said environment.
Visit the links below for more information:

추가 답변 (2개)

SeasonedLeo
SeasonedLeo 2020년 12월 17일
편집: SeasonedLeo 2020년 12월 17일

Mehrdad Moradi
Mehrdad Moradi 2019년 12월 18일
You need to use the Python API in Carla and Matlab. Then you run the simulation step by step and exchange the data between Carla and Matlab.

카테고리

Help CenterFile Exchange에서 Publishers and Subscribers에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by