Path following controller block with throttle and brake output

4 ビュー (過去 30 日間)
Igor Kevický
Igor Kevický 2024 年 4 月 26 日
回答済み: Mike Sasena 2024 年 4 月 26 日
Hello, I inserted the FMU from the Adams Car software into Simulink (I already have a modeled vehicle there that I want to get into the simulation), but I ran into a problem with the fact that I need a steering command, throttle command and brake command to control my Adams Car vehicle.
In Simulink, I would like to use a Path following controller to control my vehicle, but it has a steering angle output (which is ok, I know how to use it) and a Longitudinal acceleration output, which I would need to somehow convert into a throttle and brake command that my FMU needs.
Has anyone done something similar? Is there a block in Simulink that can solve such a "conversion" or is there some other procedure for this?

回答 (1 件)

Mike Sasena
Mike Sasena 2024 年 4 月 26 日
Hi Igor,
You could check out this demo from Vehicle Dynamics Blockset. It has a driver subsystem that takes in waypoints and returns steering, accelerator and brake commands. Hopefully that can give you a good starting point.

カテゴリ

Help Center および File ExchangeVehicle Scenarios についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by