How to track the location of center of gravity of a moving body in simmechanics?

1 view (last 30 days)
Working on a quad copter stabilization system that keeps the center of gravity close to its same place by shifting counterweights around. Is it possible for me to track the center of gravity's location on a sim-mechanics model and how would I do that? If not is it possible to track how much it deviates from its original position and possibly graph it as the counterweights move around?
Thanks in Advance

Answers (1)

Sam Hunt
Sam Hunt on 9 Feb 2021
The Inertia Sensor block, introduced in R2019b, allows sensing the center of mass of a body, and a mechanism during simulation.

Categories

Find more on Applications in Help Center and File Exchange

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!