How do I turn up my simscape model?
1 view (last 30 days)
Show older comments
I have added this drone model into simscape: https://drive.google.com/drive/folders/1kB_7mB-6O3j2uFvDQUX_QHTGjmgs_g6z
However the model when I load it is upside down. How do I fix this?
Also what should I do to this model so I can start create a control archetecture. I have control of a robot in simscape but not a drone. I tried to send a force to the plane and a torque to the motors but nothing happened and it didnt flie.
0 Comments
Answers (1)
Leepakshi
on 2 May 2025
Hi Hamza,
If the drone model appears upside down in Simscape, it’s likely due to a mismatch between the model’s original coordinate system and Simscape’s, which expects the Z-axis to point upward. To correct this, insert a Rigid Transform block and set it to rotate the model 180 degrees around the appropriate axis until it is upright.
Refer to below documentation for more information:
To begin creating a control architecture, ensure your drone is connected to the World Frame with a 6-DOF Joint so it can move freely, and use External Force and Torque blocks to apply forces and torques to the body frame. If the drone doesn’t respond, check for fixed joints or incorrect mass and inertia settings.
Hope this helps!
0 Comments
See Also
Categories
Find more on Multibody Modeling 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!