Body CS in SimMechanics
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Is it possible to have CS coordinates in a Body block of SimMechanics 1st generation, that depends from a parameter?
For example
CS1 = [L*sin(teta) L*cos(teta) 0]
Thanks for your time and help.
2 Kommentare
Ryan G
am 10 Jun. 2013
Would you want that to be an input parameter or would it be fixed from the start of simulation?
Antworten (2)
Ryan G
am 11 Jun. 2013
Well if you change at the very start of simulation a parameter should work, where you define it in your workspace. So CS1 would be a variable, x, and CS2 would be a variable y. Where x and y are defined in your workspace.
If that doesn't work, what is the error you're seeing?
2 Kommentare
Ryan G
am 12 Jun. 2013
You could try using a point curve constraint. This would allow you to define a trajectory that the other connected body is allowed to follow. There are similar blocks that may be more applicable in the constraints and drivers sublibrary.
Can you elaborate on what your design challenge is here? The current way you are trying to do this is not possible (changing CS points while simulating) but that doesn't mean there isn't a way to do it.
Marco De Simone
am 12 Jun. 2013
1 Kommentar
Ryan G
am 12 Jun. 2013
Have you considered the gear constraint where the radius of the base would be the radius of the earth? You can also model a rolling wheel with simulink and connect the forces from rolling to the simmechanics model. If you wanted to model the actual forces of the wheel (braking/accelerating like in a car) then you would would need to model the contact friction curve as well.
Siehe auch
Kategorien
Mehr zu Brakes and Detents 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!