What type of joint should I use and with what configuration should it be?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Egay Pérez Díaz
il 22 Ago 2020
Modificato: Egay Pérez Díaz
il 28 Ago 2020
I am working with a Ball & Plate, when using the 6 DOF joint, the ball moves in the Y axis infinitely. What type of joint should I use and with what configuration should it be? to make the ball roll over the plate as it moves and sense its movement.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/349895/Picture.png)
0 Commenti
Risposta accettata
Vasco Lenzi
il 24 Ago 2020
can you share the mechanics configuration ? It seems you may have the gravity on the Y axis, and the ball simply fall along the y axis because of gravity.
In order to have the ball rolling over the plate you may need to implement a contact force. For older release this is available with file exchange entry:
https://www.mathworks.com/matlabcentral/fileexchange/47417-simscape-multibody-contact-forces-library
I would strongly recommend to use the latest release (2020a) where we implemented contact forces natively and take a look at following example. Use a 6 DoF between ball and world, but create a contact force relationship between plate and ball:
9 Commenti
Vasco Lenzi
il 28 Ago 2020
I'm still not sure I understand.
What you can do is apply force to the ball periodically: imagine your fingers hitting the ball every x seconds to see how the system reacts. But the trajectory is then going to be the results of physics and how your controller behave. It would not make sense to define a trajcetory: the controller would be useless
You can apply a periodic "hit" using such blocks. Play around with the force value to stimulate more or less:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/352880/image.png)
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Assembly in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!