Skip to content

Commit

Permalink
Initial commit R2024a
Browse files Browse the repository at this point in the history
  • Loading branch information
smiller01985 committed Aug 18, 2024
1 parent 3752743 commit 7254c43
Show file tree
Hide file tree
Showing 681 changed files with 667 additions and 667 deletions.
10 changes: 5 additions & 5 deletions Models/Bouncing_Ball/Overview/html/sm_contact_ball.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
To make changes, update the MATLAB code and republish this document.
-->
<title>Bouncing Ball With Zero Crossings</title>
<meta name="generator" content="MATLAB 23.2">
<meta name="generator" content="MATLAB 24.1">
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
<meta name="DC.date" content="2023-09-15">
<meta name="DC.date" content="2024-03-22">
<meta name="DC.source" content="sm_contact_ball.m">
<style type="text/css">
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outine:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
Expand Down Expand Up @@ -109,8 +109,8 @@ <h2 id="1">Model</h2>
<p>This plot shows the height of the ball with time if the test is conducted with a thin floor. If the step size is too large, the ball can pass through the floor between simulation steps. Enabling zero-crossings can help but may not guarantee the event of the ball hitting the floor will always be captured.</p>
<img vspace="5" hspace="5" src="sm_contact_ball_04.png" alt=""> <h2 id="8">Simulation Results from Simscape Logging: Thin Floor, Maximum Step Size</h2>
<p>This plot shows the height of the ball with time if the test is conducted with a thin floor. If the step size is too large, the ball can pass through the floor between simulation steps. Limiting the maximum step size is a better way to ensure the event will be captured.</p>
<img vspace="5" hspace="5" src="sm_contact_ball_05.png" alt=""> <p class="footer">Copyright 2019-2023 The MathWorks, Inc.<br>
<a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2023b</a>
<img vspace="5" hspace="5" src="sm_contact_ball_05.png" alt=""> <p class="footer">Copyright 2019-2024 The MathWorks, Inc.<br>
<a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2024a</a>
<br>
</p>
</div>
Expand All @@ -123,7 +123,7 @@ <h2 id="1">Model</h2>
% zero crossings and the effect of solver settings on the simulation
% results.
%
% Copyright 2019-2023 The MathWorks, Inc.
% Copyright 2019-2024 The MathWorks, Inc.
Expand Down
Binary file modified Models/Bouncing_Ball/Overview/html/sm_contact_ball.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Models/Bouncing_Ball/Overview/html/sm_contact_ball_01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Models/Bouncing_Ball/Overview/html/sm_contact_ball_02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Models/Bouncing_Ball/Overview/html/sm_contact_ball_03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Models/Bouncing_Ball/Overview/html/sm_contact_ball_04.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Models/Bouncing_Ball/Overview/html/sm_contact_ball_05.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Models/Bouncing_Ball/Overview/sm_contact_ball.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
% zero crossings and the effect of solver settings on the simulation
% results.
%
% Copyright 2019-2023 The MathWorks, Inc.
% Copyright 2019-2024 The MathWorks, Inc.



Expand Down
Binary file modified Models/Bouncing_Ball/sm_contact_ball.slx
Binary file not shown.
2 changes: 1 addition & 1 deletion Models/Bouncing_Ball/sm_contact_ball_plot1time.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%
% This script plots the height of the ball over time.
%
% Copyright 2019-2023 The MathWorks, Inc.
% Copyright 2019-2024 The MathWorks, Inc.

% Reuse figure if it exists, else create new figure
if ~exist('h1_sm_contact_ball', 'var') || ...
Expand Down
2 changes: 1 addition & 1 deletion Models/Bouncing_Ball/sm_contact_ball_plot2comparezcs.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%
% <enter plot description here if desired>
%
% Copyright 2016-2023 The MathWorks, Inc.
% Copyright 2016-2024 The MathWorks, Inc.

% Reuse figure if it exists, else create new figure
if ~exist('h1_sm_contact_ball', 'var') || ...
Expand Down
Binary file modified Models/Contact_Pairs/sm_contact_pairs.slx
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
To make changes, update the MATLAB code and republish this document.
-->
<title>Multibody Rolling Disk, Custom Force Law</title>
<meta name="generator" content="MATLAB 23.2">
<meta name="generator" content="MATLAB 24.1">
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
<meta name="DC.date" content="2023-09-15">
<meta name="DC.date" content="2024-03-22">
<meta name="DC.source" content="sm_disk_floor_custom_friction.m">
<style type="text/css">
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outine:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
Expand Down Expand Up @@ -109,8 +109,8 @@ <h2 id="1">Model</h2>
</div>
<img vspace="5" hspace="5" src="sm_disk_floor_custom_friction_02.png" alt=""> <h2 id="3">Simulation Results from Simscape Logging</h2>
<p>The plot below compares the rotational speed of the disks and their position along the global x-axis. When the disks hit the patch of ice, only the disk with the custom force law has its friction force affected.</p>
<img vspace="5" hspace="5" src="sm_disk_floor_custom_friction_03.png" alt=""> <p class="footer">Copyright 2022-2023 The MathWorks, Inc.<br>
<a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2023b</a>
<img vspace="5" hspace="5" src="sm_disk_floor_custom_friction_03.png" alt=""> <p class="footer">Copyright 2022-2024 The MathWorks, Inc.<br>
<a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2024a</a>
<br>
</p>
</div>
Expand All @@ -130,7 +130,7 @@ <h2 id="1">Model</h2>
% and trajectories of the disks differ, showing the effect of the custom
% force law.
%
% Copyright 2022-2023 The MathWorks, Inc.
% Copyright 2022-2024 The MathWorks, Inc.
%% Model
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
% and trajectories of the disks differ, showing the effect of the custom
% force law.
%
% Copyright 2022-2023 The MathWorks, Inc.
% Copyright 2022-2024 The MathWorks, Inc.


%% Model
Expand Down
Binary file modified Models/Custom_Force_Law/sm_disk_floor_custom_friction.slx
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%sm_disk_floor_custom_friction_param

% Copyright 2022-2023 The MathWorks, Inc.
% Copyright 2022-2024 The MathWorks, Inc.

% Cylinder dimensions
cyl.rad = 5;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
% The plot below compares the vertical and horizontal speed of the
% cylinders as they roll down the ramp.
%
% Copyright 2022-2023 The MathWorks, Inc.
% Copyright 2022-2024 The MathWorks, Inc.

% Generate simulation results if they don't exist
if ~exist('simlog_sm_disk_floor_custom_friction', 'var')
Expand Down
10 changes: 5 additions & 5 deletions Models/Disk_Basic/Overview/html/sm_disk_cyl_on_floor.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
To make changes, update the MATLAB code and republish this document.
-->
<title>Multibody Disk Contact, Cylinder on Floor</title>
<meta name="generator" content="MATLAB 23.2">
<meta name="generator" content="MATLAB 24.1">
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
<meta name="DC.date" content="2023-09-15">
<meta name="DC.date" content="2024-03-22">
<meta name="DC.source" content="sm_disk_cyl_on_floor.m">
<style type="text/css">
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outine:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
Expand Down Expand Up @@ -94,8 +94,8 @@ <h2>Contents</h2>
<h2 id="1">Model</h2>
<img vspace="5" hspace="5" src="sm_disk_cyl_on_floor_01.png" alt=""> <h2 id="2">Simulation Results from Simscape Logging</h2>
<p>The plot below compares the rotational speed of the lateral axis for each contact modeling method. The simulations are run separately to obtain an independent measure of the number of steps required to complete the simulation, which is shown in the lower plot. It is clear that as the contact point for solid-to-solid contact moves along the contact line, the cylinder rotates very slightly about the lateral axis which requires additional simulation steps.</p>
<img vspace="5" hspace="5" src="sm_disk_cyl_on_floor_02.png" alt=""> <p class="footer">Copyright 2022-2023 The MathWorks, Inc.<br>
<a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2023b</a>
<img vspace="5" hspace="5" src="sm_disk_cyl_on_floor_02.png" alt=""> <p class="footer">Copyright 2022-2024 The MathWorks, Inc.<br>
<a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2024a</a>
<br>
</p>
</div>
Expand All @@ -112,7 +112,7 @@ <h2 id="1">Model</h2>
% point cloud and the disk contact proxies show the cylinder resting on the
% floor with no oscillations about the lateral axis.
%
% Copyright 2022-2023 The MathWorks, Inc.
% Copyright 2022-2024 The MathWorks, Inc.
%% Model
Expand Down
Binary file modified Models/Disk_Basic/Overview/html/sm_disk_cyl_on_floor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Models/Disk_Basic/Overview/html/sm_disk_cyl_on_floor_01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Models/Disk_Basic/Overview/html/sm_disk_cyl_on_floor_02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Models/Disk_Basic/Overview/sm_disk_cyl_on_floor.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
% point cloud and the disk contact proxies show the cylinder resting on the
% floor with no oscillations about the lateral axis.
%
% Copyright 2022-2023 The MathWorks, Inc.
% Copyright 2022-2024 The MathWorks, Inc.


%% Model
Expand Down
Binary file modified Models/Disk_Basic/sm_disk_cyl_on_floor.slx
Binary file not shown.
2 changes: 1 addition & 1 deletion Models/Disk_Basic/sm_disk_cyl_on_floor_param.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
% addition to this estimate, placed at the same points/area
% as on the cylinder circumference
%
% Copyright 2022-2023 The MathWorks, Inc.
% Copyright 2022-2024 The MathWorks, Inc.

% Cylinder dimensions
cyl.rad = 5;
Expand Down
10 changes: 5 additions & 5 deletions Models/Mesh_Grid/Overview/html/sm_membrane_ball.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
To make changes, update the MATLAB code and republish this document.
-->
<title>Ball on Grid Surface</title>
<meta name="generator" content="MATLAB 23.2">
<meta name="generator" content="MATLAB 24.1">
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
<meta name="DC.date" content="2023-09-15">
<meta name="DC.date" content="2024-03-22">
<meta name="DC.source" content="sm_membrane_ball.m">
<style type="text/css">
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outine:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
Expand Down Expand Up @@ -111,8 +111,8 @@ <h2 id="3">Simulation Results from Simscape Logging: Membrane (1), 100 points</h
<p>Plot ball velocities as the ball falls on the first eigenfunction of the L-shaped membrane. 100 points are used for the point cloud.</p>
<img vspace="5" hspace="5" src="sm_membrane_ball_04.png" alt=""> <h2 id="6">Simulation Results from Simscape Logging: Membrane (6), 200 points, Short Stem</h2>
<p>Plot ball velocities as the ball falls on the first eigenfunction of the L-shaped membrane. 100 points are used for the point cloud.</p>
<img vspace="5" hspace="5" src="sm_membrane_ball_05.png" alt=""> <p class="footer">Copyright 2021-2023 The MathWorks, Inc.<br>
<a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2023b</a>
<img vspace="5" hspace="5" src="sm_membrane_ball_05.png" alt=""> <p class="footer">Copyright 2021-2024 The MathWorks, Inc.<br>
<a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2024a</a>
<br>
</p>
</div>
Expand All @@ -124,7 +124,7 @@ <h2 id="3">Simulation Results from Simscape Logging: Membrane (1), 100 points</h
% geometry of the sphere is modeled as a point cloud and the surface is
% modeled using the Grid Surface block.
%
% Copyright 2021-2023 The MathWorks, Inc.
% Copyright 2021-2024 The MathWorks, Inc.
Expand Down
Binary file modified Models/Mesh_Grid/Overview/html/sm_membrane_ball.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Models/Mesh_Grid/Overview/html/sm_membrane_ball_01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Models/Mesh_Grid/Overview/html/sm_membrane_ball_02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Models/Mesh_Grid/Overview/html/sm_membrane_ball_03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Models/Mesh_Grid/Overview/html/sm_membrane_ball_04.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Models/Mesh_Grid/Overview/html/sm_membrane_ball_05.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Models/Mesh_Grid/Overview/sm_membrane_ball.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
% geometry of the sphere is modeled as a point cloud and the surface is
% modeled using the Grid Surface block.
%
% Copyright 2021-2023 The MathWorks, Inc.
% Copyright 2021-2024 The MathWorks, Inc.



Expand Down
2 changes: 1 addition & 1 deletion Models/Mesh_Grid/membrane_grid_params.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function [grid_x, grid_y, grid_h] = membrane_grid_params(K,scale_xyz,varargin)
% Generate grid surface points from L-shaped membrane eigenfunctions.
%
% Copyright 2021-2023 The MathWorks, Inc.
% Copyright 2021-2024 The MathWorks, Inc.

% Default data to show diagram
if (nargin == 0)
Expand Down
Binary file modified Models/Mesh_Grid/sm_membrane_ball.slx
Binary file not shown.
2 changes: 1 addition & 1 deletion Models/Mesh_Grid/sm_membrane_ball_params.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
% Load parameters for sm_membrane_ball
% Copyright 2021-2023 The MathWorks, Inc.
% Copyright 2021-2024 The MathWorks, Inc.

% Contact parameters
sph_mem_k = 2e4;
Expand Down
2 changes: 1 addition & 1 deletion Models/Mesh_Grid/sm_membrane_ball_plot1ballvel.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
% Plot ball velocities as the ball falls on the first eigenfunction of the
% L-shaped membrane. 100 points are used for the point cloud.
%
% Copyright 2021-2023 The MathWorks, Inc.
% Copyright 2021-2024 The MathWorks, Inc.

% Generate simulation results if they don't exist
if ~exist('simlog_sm_membrane_ball', 'var')
Expand Down
2 changes: 1 addition & 1 deletion Models/Mesh_Grid/stem_params.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
%
% Point cloud data will be centered at [0,0,0]
%
% Copyright 2021-2023 The MathWorks, Inc.
% Copyright 2021-2024 The MathWorks, Inc.

% Parameters for stem
if (nargin == 0)
Expand Down
10 changes: 5 additions & 5 deletions Models/Point_Cloud_Basic/Overview/html/sm_ptcld_cyl_on_ramp.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
To make changes, update the MATLAB code and republish this document.
-->
<title>Multibody Point Cloud Contact Cylinder on Ramp</title>
<meta name="generator" content="MATLAB 23.2">
<meta name="generator" content="MATLAB 24.1">
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
<meta name="DC.date" content="2023-09-15">
<meta name="DC.date" content="2024-03-22">
<meta name="DC.source" content="sm_ptcld_cyl_on_ramp.m">
<style type="text/css">
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outine:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
Expand Down Expand Up @@ -103,8 +103,8 @@ <h2 id="1">Model</h2>
<p>The plot below compares the vertical and horizontal speed of the cylinders as they roll down the ramp. The penetration into the ramp is quite similar for the two solids, and with an increased number of points the rotational speeds of the cylinder with the point cloud has less variation.</p>
<img vspace="5" hspace="5" src="sm_ptcld_cyl_on_ramp_04.png" alt=""> <p>
<img vspace="5" hspace="5" src="sm_ptcld_cyl_on_ramp_anim_manyPts.png" alt=""> </p>
<img vspace="5" hspace="5" src="sm_ptcld_cyl_on_ramp_05.png" alt=""> <p class="footer">Copyright 2022-2023 The MathWorks, Inc.<br>
<a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2023b</a>
<img vspace="5" hspace="5" src="sm_ptcld_cyl_on_ramp_05.png" alt=""> <p class="footer">Copyright 2022-2024 The MathWorks, Inc.<br>
<a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2024a</a>
<br>
</p>
</div>
Expand All @@ -119,7 +119,7 @@ <h2 id="1">Model</h2>
% scaled with the number of points. Fewer points, however, results in more
% speed variation as the cylinder rolls down the ramp.
%
% Copyright 2022-2023 The MathWorks, Inc.
% Copyright 2022-2024 The MathWorks, Inc.
%% Model
Expand Down
Binary file modified Models/Point_Cloud_Basic/Overview/html/sm_ptcld_cyl_on_ramp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Models/Point_Cloud_Basic/Overview/html/sm_ptcld_cyl_on_ramp_01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Models/Point_Cloud_Basic/Overview/sm_ptcld_cyl_on_ramp.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
% scaled with the number of points. Fewer points, however, results in more
% speed variation as the cylinder rolls down the ramp.
%
% Copyright 2022-2023 The MathWorks, Inc.
% Copyright 2022-2024 The MathWorks, Inc.


%% Model
Expand Down
Binary file modified Models/Point_Cloud_Basic/sm_ptcld_cyl_on_ramp.slx
Binary file not shown.
2 changes: 1 addition & 1 deletion Models/Point_Cloud_Basic/sm_ptcld_cyl_on_ramp_param.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
% addition to this estimate, placed at the same points/area
% as on the cylinder circumference
%
% Copyright 2022-2023 The MathWorks, Inc.
% Copyright 2022-2024 The MathWorks, Inc.

% Cylinder dimensions
cyl.rad = 5;
Expand Down
2 changes: 1 addition & 1 deletion Models/Point_Cloud_Basic/sm_ptcld_cyl_on_ramp_plot1vel.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
% The plot below compares the vertical and horizontal speed of the
% cylinders as they roll down the ramp.
%
% Copyright 2022-2023 The MathWorks, Inc.
% Copyright 2022-2024 The MathWorks, Inc.

% Generate simulation results if they don't exist
if ~exist('simlog_sm_ptcld_cyl_on_ramp', 'var')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
To make changes, update the MATLAB code and republish this document.
-->
<title>Multibody Point Cloud Contact Steering Wheel</title>
<meta name="generator" content="MATLAB 23.2">
<meta name="generator" content="MATLAB 24.1">
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
<meta name="DC.date" content="2023-09-15">
<meta name="DC.date" content="2024-03-22">
<meta name="DC.source" content="sm_point_cloud_steering_wheel.m">
<style type="text/css">
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outine:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
Expand Down Expand Up @@ -100,8 +100,8 @@ <h2 id="1">Model</h2>
<p>The Spatial Contact Force block uses a convex hull to detect contact between the steering wheel geometry and other objects (ball, floor). This plot shows what that convex hull would look like.</p>
<img vspace="5" hspace="5" src="sm_point_cloud_steering_wheel_02.png" alt=""> <h2 id="3">Simulation Results from Simscape Logging</h2>
<p>This script plots the paths of the balls and the final position of the steering wheel. The ball that models contact with the STL file directly encounters the convex hull and does not pass through the hole. The ball that models contact with the point cloud passes through the hole in the steering wheel.</p>
<img vspace="5" hspace="5" src="sm_point_cloud_steering_wheel_03.png" alt=""> <p class="footer">Copyright 2021-2023 The MathWorks, Inc.<br>
<a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2023b</a>
<img vspace="5" hspace="5" src="sm_point_cloud_steering_wheel_03.png" alt=""> <p class="footer">Copyright 2021-2024 The MathWorks, Inc.<br>
<a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2024a</a>
<br>
</p>
</div>
Expand All @@ -119,7 +119,7 @@ <h2 id="1">Model</h2>
% geometry. The sphere colliding with the point cloud passes through the
% hole in the steering wheel.
%
% Copyright 2021-2023 The MathWorks, Inc.
% Copyright 2021-2024 The MathWorks, Inc.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
% geometry. The sphere colliding with the point cloud passes through the
% hole in the steering wheel.
%
% Copyright 2021-2023 The MathWorks, Inc.
% Copyright 2021-2024 The MathWorks, Inc.



Expand Down
Binary file modified Models/Point_Cloud_StrWhl/sm_point_cloud_steering_wheel.slx
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% Read in Steering Wheel STL file
% Copyright 2021-2023 The MathWorks, Inc.
% Copyright 2021-2024 The MathWorks, Inc.
steering_wheel_ptCloud = stlread('steering_wheel_orig.STL');

%% Move Steering wheel to center of solid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
% that models contact with the point cloud passes through the hole in the
% steering wheel.
%
% Copyright 2019-2023 The MathWorks, Inc.
% Copyright 2019-2024 The MathWorks, Inc.

% Reuse figure if it exists, else create new figure
if ~exist('h1_sm_point_cloud_steering_wheel', 'var') || ...
Expand Down
Binary file modified Models/Ratchet_Pawl/Libraries/sm_ratchet_pawl_lib.slx
Binary file not shown.
Loading

0 comments on commit 7254c43

Please sign in to comment.