Path following controller block with throttle and brake output

7 次查看(过去 30 天)
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