How to design reference block from driving scenario designer app in MPC model design?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
浩 郭
le 21 Août 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.
Réponses (0)
Voir également
Catégories
En savoir plus sur Controller Creation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!