Robotic arm control, how can I implement a path planner block in Simulink?

조회 수: 2 (최근 30일)
Marco
Marco 2014년 7월 21일
답변: Abdallah Bader 2018년 4월 28일
Hello everybody,
I am using the ctraj function of the Corke's library ( http://www.petercorke.com/RTB/r9/html/ctraj.html ) to generate a cartesian trajectory in order to drive a robotic arm built in simmechanics. In the picture is depicted the control I would implement in Simulink: I implemented the Inverse Kinematics with a Matlab Function block that receives in inputs a 6x1 time-dependent array, and here is the problem. How can I implement the Path Planner block in order to pass data to the kinematics block every t millisecond, i.e. I would have a Path Planner block that computes the pose every t millisecond and send it to the Inverse Kinematics block in real-time, how can I do it ?

답변 (1개)

Abdallah Bader
Abdallah Bader 2018년 4월 28일
In order to answer your question, please notice that such a trajectory can be generated even before starting the simulation, that of course only if you have a prescribed path. Now for you to apply such a generated trajectory within Simulink, you can define your trajectory as a timeseries within MATLAB environment, and use fromworkspace block to get the trajectory from workspace to Simulink.

카테고리

Help CenterFile Exchange에서 Robotics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by