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!