Path following controller block with throttle and brake output

조회 수: 7 (최근 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 CenterFile Exchange에서 Vehicle Scenarios에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by