File Exchange

image thumbnail

Simscape Multibody Mini Golf Library

version 3.9 (6.63 MB) by

Components for modeling a mini golf course. Contact forces are demonstrated on a 9-hole course.

11 Downloads

Updated

View License

This library contains components for modeling a mini golf course. It includes fixed walls, moving walls, posts, spinning obstacles, putting head, and the hole. A nine-hole course is provided, showing how you can easily build up a set of components and reuse them in different designs. A control system helps you guide the putter to the right position and shoots the ball towards the hole. This example uses the Simscape Multibody Contact Forces Library.

Please read the README.txt file to get started.

See how to defining bodies in Simscape Multibody by watching this video (5 min):
https://www.mathworks.com/videos/defining-rigid-bodies-68845.html

Learn more about multibody simulation with Simscape Multibody by watching this webinar
https://www.mathworks.com/videos/multibody-simulation-with-simmechanics-81877.html

Find other Simscape examples by searching posts for the keyword "physical modeling"
https://www.mathworks.com/matlabcentral/fileexchange/?term=%22physical+modeling%22

Learn more about MathWorks Simscape Products:
https://www.mathworks.com/physical-modeling/

You may reuse this content, with or without modification, in your work.
Please follow the conditions of the license file and use the following citation:
[1] Miller, Steve (2017), Simscape Multibody Mini Golf Library (https://www.mathworks.com/matlabcentral/fileexchange/36541) MATLAB Central File Exchange. Retrieved on <date you downloaded submission>

Comments and Ratings (7)

Mikhail

Mikhail (view profile)

Steve Miller

Steve Miller (view profile)

Thanks Matthew! I've submitted an update with the README.txt and fixes the "Run All" issue. It will be live later today. --Steve

Matthew

Looks like an awesome add-on library.
Issues:
1) No readme.txt file is included (one is included with separate Contact Force Library submission)
2) Certain functions are not available for loading (e.g., under play all).

3 star rating will be reviewed.

Wang Ya

Arielle

Steve Miller

Steve Miller (view profile)

Aditya -- no low pass filter is required, so no I'm not using one. Some form of delay would be required if the formulation I used created an algebraic loop in Simulink, but the way I modeled it no loop is created.

Aditya

Aditya (view profile)

Hi Steve,
Great model.
In the contact force model it does not seem like you are using the low pass filter? Is that the case.

Aditya

Updates

3.9

Updating contact force library only, no changes to mini golf example.

3.8

Added R2017b version.

3.6

Added R2017a version and text for citing submission in other works.

3.5.2

Updated with Contact Force Library v3.5

3.5.1

Updated for R2016b

3.5.0.1

Updated license

3.5

Fixed broken link in submission description.

3.5

Updated to use Simscape Multibody Contact Force Library 3.3

3.4

Updated to use Simscape Multibody Contact Force Library 3.2.

3.3

Updated for R2016a

3.2

Updated for R2015b

3.1

Added README.txt; Fixed "Run All" by adjusting Mini_Golf_Run_Course.m and settings in libraries.

3.0

Updated to use SimMechanics Contact Forces Library v3.0 which is included in this submission.

1.8

Updated to use SimMechanics Contact Forces Library v2.0 which is included in this submission.

1.6

Updated to use new SimMechanics Contact Forces Library.

1.4

Fixed webinar link.

1.3

Updated link to "Defining Rigid Bodies" video. No changes to files in the submission.

1.2

Added an updated version for R2012b and beyond.

MATLAB Release
MATLAB 9.3 (R2017b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

SM_Mini_Golf_Lib/Images/

SM_Mini_Golf_Lib/Libraries/

SM_Mini_Golf_Lib/Libraries/CFL_Libs/Libraries/

SM_Mini_Golf_Lib/