필터 지우기
필터 지우기

How to run path planning simulink model on Arduino due

조회 수: 2 (최근 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 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