How to solve inverse kinematic problem in real-time?

조회 수: 23 (최근 30일)
Ehsan Amirpour
Ehsan Amirpour 2021년 4월 5일
댓글: Ehsan Amirpour 2021년 4월 10일
I want to make a real-time end-effector position control simulation of a 6 DOF robotic arm in simscape multi-body. In the simulation I want to make a matlab GUI like sliders to change the posiotion and the robotic arm starts to move in real-time. To do so, I should solve the inverse kinematic problem and the best way is to use matlab robotic toolbox. The problem is even with using this toolbox, robot cannot move in real-time and it should be done offline. Can anyone help me with that or suggest me a solution?
As I know, industrial robots like KUKA or ABB can solve the inverse kinematic problem in real-time or may be they use lookup table for moving in their workspace.

채택된 답변

Yiping Liu
Yiping Liu 2021년 4월 8일
In 21a, RST introduced a new IK solver called analyticalInverseKinematics which allows you generate a closed-form IK function for a particular 6-DoF serial-link manipulator arm. Give it a try. AIK currently doesn't cover all the 6 DoF variations, but it covers a lot of them. the function will tell you if your robot is compatible.
It seems that your use case is for fast interaction with a manipulator end-effector in a GUI. So in this case, the "real time" feel depends on how fast you intend to move the manipulator end-effector. For a 6-DoF, even if you use the numeric iterative solver provided through inverseKinematics, you can still solve the IK reasonably fast with the LM solver with a small upper bound on number of iterations, assuming you are moving the end-effector smoothly (no sudden change in the desired EE pose) and you are passing the previously solved result to the IK as initial guess every time.
Also keep in mind that for grahpical interaction, the rendering of the robot in figure can actually take a lot of time if you don't use the correct way to draw. Check 'FastUpdate' — Fast updates to existing plot option on rigidBodyTree.show method.
  댓글 수: 5
Yiping Liu
Yiping Liu 2021년 4월 10일
For a 7-DOF robot arm with good initial guess, It's possible to get close to a couple of hundred Hz update rate with genreated code.
Ehsan Amirpour
Ehsan Amirpour 2021년 4월 10일
Ok. Thanks for your help

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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