Rigid Transform to Get Rotation About X-axis

4 ビュー (過去 30 日間)
Jonathan
Jonathan 2016 年 3 月 25 日
回答済み: Steve Miller 2021 年 11 月 24 日
Consider the figure below:
As you can see, the world reference frame and the quadcopter reference frame are coincident with one another. I am trying to connect the quadcopter to the world frame via a "Revolute Joint" block so that the quadcopter can only rotate freely about the x-axis. I know that I must transform the reference frame of the revolute joint with respect to the quadcopter body, but I am having difficulty getting this to work. I have tried to use a transformation that aligns the revolute joint Z-axis with the quadcopter X-axis, but that didn't work like I expected it to. Could someone explain this a little further? Any help would be much appreciated!
I have attached my model here for reference.

回答 (1 件)

Steve Miller
Steve Miller 2021 年 11 月 24 日
You will need two rigid transforms to create frames for the base and follower sides of the Revolute Joint that have the desired orientation. You can see by looking at your image that the transforms need to rotate the existing frames by 90 degrees about the +y axis.
This image shows the connections and settings. Pay attention to the Base and Follower connections.
--Steve

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by