MATLAB Answers

Revolute Joint Definition in Multi Body Simulation

7 views (last 30 days)
Muhammad Huzaifa
Muhammad Huzaifa on 19 Jan 2015
Answered: Steve Miller on 24 Jun 2021
Hello everyone,
I am using Sim mechanics second generation blocks to define a simple structure. The structure has two rectangular bars connected with a cylinder at one of their ends. (as shown in the figure)
I have defined revolute joints at the respective connections between the bars and the cylinder.
The problem is that when i try to define initial state targets (in the form of angle of the revolute joint) for the blue bar, the blue bar stays in the same angular position and rather makes rest of the structure i.e. the other bar and the cylinder, rotate through the same angle. I know it has some thing to do with the body follower definition. But I have switched the connections of body and follower too but to no gain.
Attached are my blocks for the three main parts:
the main sim mechanics structure is==
Connector block (i.e. the cylinder) is shown in the following figure:
Kindly guide

Answers (1)

Steve Miller
Steve Miller on 24 Jun 2021
If you want the other leg to remain vertical, you will need to specify the joint targets between the 6-DOF joint for the other leg and World.
--Steve

Community Treasure Hunt

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

Start Hunting!