How can I plug inverse kinematics to a Simscape multibody?

6 views (last 30 days)
Hello,
This is my Simulink model of a delta robot using Simscape multibody. I have an inverse kinematics matlab code. How can I plug it into the Simulink model?

Answers (1)

Juan Sagarduy
Juan Sagarduy on 26 Apr 2021
Hello there
You need to set the joint in kinematic mode (Actuation >> Motion - Prescribed / Torque - automatically calculated) See below.. Then feed the joints with a time-dependent trace matching the duty cycle you expect the mechanism to execute. See that a little arrow pops up so that the signal can be connected.
Best of Luck / Juan
  1 Comment
Hwajin Choi
Hwajin Choi on 26 Apr 2021
Rather than setting the motion manually, I want to make the robot moves corresponding to the inverse kinematics I coded. The inverse kinematics calculates revolute joint angles with given cartesian position of an end effector x,y, and z.

Sign in to comment.

Categories

Find more on Simulation and Analysis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!