Bowling Game
Versione 1.0.0 (1,27 MB) da
Flavio Luiz Puhl Jr
This is an example of use of simscape multibody with spatial contacts force block.
This example demonstrate the use of spatial contact force block on the simscape multibody environment.
When running the *prj file, it will populate the workspace with the necessary values. You can play with ball variables by changing the paramenters below on the file "BowlingParameters.m"
ball_initial_speed = 8; % in m/s, initial ball speed
ball_height_init = 50; % in cm, height the ball is dropped.
% 0 means ball in contact with the lane
ball_Y_pos = 0; % in cm, lateral displacement where the ball is shooted.
% 0 mean the middle of the lane. Range -100 to 100
ball_init_pos = 500; %in cm, its the initial position on the lane.
Several improvements can be made like change the pins design for a more representative one, improve colouring, but the point of this example is to show how to use the spatial contact force block.
Cita come
Flavio Luiz Puhl Jr (2026). Bowling Game (https://it.mathworks.com/matlabcentral/fileexchange/175673-bowling-game), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2024b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0 |
