Simulation of a rolling disk on a flat surface
6 views (last 30 days)
Show older comments
I want to implement a simulation of a rolling disk on a flat surface using Simscape-Multibodies. If there is a way to assign the set of Euler angles and the center-of-mass position vector to the disk model in order to generate animation of that? Most of the simulation I saw assign forces to the object to create simulation but I want to plot the object position.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1318050/image.jpeg)
I already calculated Euler angles and the center-of-mass position vector for each time step and I created a disk model using this tutorial. But I cannot find the way to plug Euler angles and position vector into the model.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1320035/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1320040/image.jpeg)
0 Comments
Answers (1)
Nikhil Sapre
on 9 Mar 2023
What code have you tried? Can you post it here? We can answer specific questions about your code.
See Also
Categories
Find more on Simulation and Analysis 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!