How to run path planning simulink model on Arduino due

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

回答(1 个)

Harshendra Shah
Harshendra Shah 2020-4-9
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 个评论
Maxwell Birley
Maxwell Birley 2020-4-9
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by