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

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