How to run path planning simulink model on Arduino due

3 ビュー (過去 30 日間)
Maxwell Birley
Maxwell Birley 2020 年 4 月 3 日
コメント済み: Maxwell Birley 2020 年 4 月 9 日
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 Center および File ExchangeRobotics についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by