How to run path planning simulink model on Arduino due

4 visualizaciones (últimos 30 días)
Maxwell Birley
Maxwell Birley el 3 de Abr. de 2020
Comentada: Maxwell Birley el 9 de Abr. de 2020
I would like to run this differential drive pure persuit simulink model on my Arduino Due robot as see exactly how good it is. I would also like to update the pose with GPS data. I tried running the code when hardware support package had been selected but this generated many error. I have not touched the model itself so that can not be the problem. I am waiting to get simulink coder from Matworks on a trial. I have had a blink working on the Arduino with Matlab and via simulink so that works.
Any pointers will be appreciated.

Respuestas (1)

Harshendra Shah
Harshendra Shah el 9 de Abr. de 2020
You can run any simulink model on Arduno Hardware by refering the following documentation page:
You can open Path Planning Simulink model using the following command then follow the steps mentioned in the above documentation page:
open_system('pathPlanningSimulinkModel.slx')
I hope this helps.
  1 comentario
Maxwell Birley
Maxwell Birley el 9 de Abr. de 2020
Hi
Thanks for your response. I followed your instructions. When I deployed the code I got 14 error messages
I have loaded very simple "blink" type programs from Simuling to the Arduino and they ran. However the pathfollowing examples are much more complex. I am trying to understand the basics of uploading a complex example that was not written for a Arduino and trying to run it. For example when you open the example you can vary so me parameters like the starting position and you can watch the output on a map.
how can this be achieved on the Arduino due ?
regards
Max

Iniciar sesión para comentar.

Categorías

Más información sobre Robotics en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by