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

3 visualizzazioni (ultimi 30 giorni)
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 Commenti
浩 郭
浩 郭 il 21 Ago 2021
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.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by