Rotation sequence SimMechanics 2nd Generation
3 views (last 30 days)
Show older comments
Hi All
I am trying to build an aircraft model in SimMechanics and am using the HL-20 with Landing Gear as an example. Unfortunately I cannot figure out how to use the SimMechanics 2nd generation to implement this model. I am stuck at the the very first step of building an equivalent aircraft model, where one compares the output for the SimMechanics model and a point model from the Aerospace Blockset to check that the rotation sequences are correct. It used to be simple to define the rotation sequence i.e. Z-Y-X, but I cannot see hot to do this now. The original implmentation is at the top of the picture and my attempt in the new version below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159503/image.gif)
The rotations are needed to define the z-axis for the joint, but the results are just not the same. Any help would be appreciated.
0 Comments
Answers (1)
Steve Miller
on 17 Nov 2021
The sequence of blocks and transforms looks correct to me. It is hard to tell without the settings from the models. It is possible you haven't put the initial conditions in properly, as that is different between first and second generation. You need to enter them in the Joint blocks under Joint Targets.
--Steve
0 Comments
See Also
Categories
Find more on Simscape Multibody in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!