How to interface Demo lane keeping assist in MaTLAB/Simulink with IPG Carmaker?

4 ビュー (過去 30 日間)
Rahul Briston
Rahul Briston 2022 年 11 月 30 日
回答済み: Aditya 2023 年 9 月 8 日
I want to interface IPG Carmaker and the demo lane keeping assist in Matlab and control the steering and lane keeping in IPG using this matlab controller. I need help with interfacing the signals for this please. So that the vehicle in IPG carmaker is controlled by MATLAB controller.
  1 件のコメント
Leandrin Lebel
Leandrin Lebel 2022 年 12 月 20 日
Hey, Did you find a solution to your problem. I am currently in the same situation.

サインインしてコメントする。

回答 (1 件)

Aditya
Aditya 2023 年 9 月 8 日
Hi Rahul,
To interface IPG Carmaker with MATLAB and control the steering and lane keeping using a MATLAB controller, you can follow these general steps:
  1. Connect MATLAB with IPG Carmaker: To establish a connection between MATLAB and IPG Carmaker, you can utilize the 'tcpclient' function. This function allows you to establish a TCP/IP connection.
  2. Send Control Signals from MATLAB to IPG Carmaker: Once the connection is established, you can use the 'write' function to send control signals from MATLAB to IPG Carmaker. 
  3. Receive feedback from IPG Carmaker in MATLAB: To receive feedback signals from IPG Carmaker in MATLAB, you can utilize the 'read' function.
For more information on how to use this functions please refer to the MathWorks documentation:
Furthermore, IPG Automotive has provided a document titled "Automate CarMaker from Matlab," which you may find useful in resolving the issue. You can access it here:
Hope this helps!

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by