フィルターのクリア

Model walking body in Simulink

44 ビュー (過去 30 日間)
Nick
Nick 2015 年 9 月 20 日
コメント済み: Mohamed Elshami 2018 年 12 月 26 日
I'm trying to create a simple model of a body which will then be later controlled. However, I am running into trouble when I'm connecting both legs to the body.
What I have done is that I have built the model starting with the left foot, attached to the world frame, and then up to the torso. I ended up duplicating one of the legs and attached it again the the world frame and the torso, effectively closing the "loop". However, I get the following error message when trying to run the simulation.
'untitled/Right Leg/Hip/Revolute Joint' has a degenerate mass distribution on its follower side.
I have a feeling this has to do with the fact that both legs are attached to the torso and to the world frame.
Here is an overview:
What would be the correct way to model this so that I can later actuate the joints?

回答 (2 件)

Sebastian Castro
Sebastian Castro 2015 年 9 月 21 日
The error you included usually occurs when you establish a rigid link (between two joints) with no mass. You can check that for yourself -- see if you're missing any Solid blocks, or maybe they're connected on the wrong side of the joint.
From the top-level, the model looks fine. We'd have to look inside the other subsystems, especially since the error is pointing to untitled/Right Leg/Hip/Revolute Joint.
- Sebastian
  2 件のコメント
Nick
Nick 2015 年 9 月 21 日
I have uploaded my model. First run the parameters then the simulation. The way it works now is that the legs hang from the body. I want the legs to stand on the "ground" and actually have the torso be supported by the legs. The joints are not actuated so the system should collapse (or not if i aligned everything correctly).
Mohamed Elshami
Mohamed Elshami 2018 年 12 月 26 日
I have another problem in the same model
I am just began to learn your demonstration few hours ago
and I want to define the transform of both the top and the bottom of the lower_leg_length
I did as you expalined except that I defined Length and Radius directly within the model
but I got different results
like the attached Picture no.1
However, for example the bottom cordinate is the first transform and the top cordinate as the second transform:
If I considersed the second transform with respect to the first one and changed TRANSLATION and ROTATION values with respect to it I finally got the correct representation

サインインしてコメントする。


sudhansu tripathy
sudhansu tripathy 2018 年 8 月 20 日
hi Nick were you able to find the solution for the error message

カテゴリ

Help Center および File ExchangeMultibody Modeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by