How to design reference block from driving scenario designer app in MPC model design?

3 次查看(过去 30 天)
I am working on Path tracking control of autonomous driving based on Model predictive control.In this process, I have created a MPC model in simulink. Also created a reference block (scenario reader block) from drivng scenario designer app.but, when I am going to design MPC block and 'define and linearize' the MPC structure.It shows an error massage-
"Cannot propagate bus signal from output port 1 of 'mpc_model/Subsystem1/In2' to input port 1 of 'mpc_model/Subsystem1/Demux1' because this input port requires a non-bus signal."
I am attaching the screenshots of MPC model.
Anyone please help me out.
  2 个评论
浩 郭
浩 郭 2021-8-21
Although I only used the function to successfully implement the reference trajectory setting, I know that the scenario reader block cannot record the change of the yaw angle. You need to install the camera and radar on the car model first, and then export simulink block.Hope it helps you.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Controller Creation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by