Finding trajectory in SimMechanics
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Maxim Sluchak
am 10 Jul. 2015
Beantwortet: Sebastian Castro
am 10 Jul. 2015
Is it possible to find trajectory of the center of mass of some solid in the form of some 3-d line plot.
I have an idea to use transformations of coordinates, but I dont know how to get it from the Rigid Transform Block.
How can I get this transformations or how can I get correct trajectory without transformations?
0 Kommentare
Akzeptierte Antwort
Sebastian Castro
am 10 Jul. 2015
You should connect a Transform Sensor block to the center of mass of the object you want to track. This is typically the "S" port of a Solid block. You can either connect it between two frames in SimMechanics to get relative motion, or you can hook the "B" port to the World Frame to get absolute motion.
The outputs of the Transform Sensor blocks are physical signals, which can then be converted to Simulink with PS-Simulink Converter blocks. Then, it's up to you if you want to display those positions on a Simulink scope or export the data to MATLAB.
- Sebastian
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Assembly finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!