Skip to content

Commit

Permalink
build based on 8d4ad7e
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Aug 15, 2024
1 parent e9182bc commit 41adffc
Show file tree
Hide file tree
Showing 45 changed files with 1,737 additions and 1,739 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-08-15T12:27:28","documenter_version":"1.5.0"}}
{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-08-15T12:52:29","documenter_version":"1.5.0"}}
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.
6 changes: 3 additions & 3 deletions dev/examples/free_motion/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

# Plot analytical solution
tvec = 0:0.1:sol.t[end]
plot!(tvec, -9.81/2 .* tvec .^ 2, lab=&quot;Analytical solution&quot;)</code></pre><img src="63f45890.svg" alt="Example block output"/><p>The figure indicates that the body is falling freely, experiencing a constant acceleration of -9.81 m/s² in the <span>$y$</span> direction, corresponding to the gravity parameters of the <code>world</code>:</p><pre class="documenter-example-output"><code class="nohighlight hljs ansi">Model world with 12 (18) equations
plot!(tvec, -9.81/2 .* tvec .^ 2, lab=&quot;Analytical solution&quot;)</code></pre><img src="c28449f0.svg" alt="Example block output"/><p>The figure indicates that the body is falling freely, experiencing a constant acceleration of -9.81 m/s² in the <span>$y$</span> direction, corresponding to the gravity parameters of the <code>world</code>:</p><pre class="documenter-example-output"><code class="nohighlight hljs ansi">Model world with 12 (18) equations
Unknowns (9):
(frame_b₊r_0(t))[1] [defaults to 0.0]: Position vector directed from the origin of the world frame to the connector frame origin, resolved in world frame
(frame_b₊r_0(t))[2] [defaults to 0.0]: Position vector directed from the origin of the world frame to the connector frame origin, resolved in world frame
Expand Down Expand Up @@ -84,5 +84,5 @@
@assert SciMLBase.successful_retcode(sol)

plot(sol, idxs = [body.r_0...])
# plot(sol, idxs = [body.body.Q...])</code></pre><img src="26b4dce8.svg" alt="Example block output"/><pre><code class="language-julia hljs">import GLMakie
Multibody.render(model, sol, filename = &quot;free_body.gif&quot;)</code></pre><p><img src="../free_body.gif" alt="free_body"/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../gearbox/">« Gearbox</a><a class="docs-footer-nextpage" href="../kinematic_loops/">Kinematic loops »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.5.0 on <span class="colophon-date" title="Thursday 15 August 2024 12:27">Thursday 15 August 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
# plot(sol, idxs = [body.body.Q...])</code></pre><img src="af3d7b9e.svg" alt="Example block output"/><pre><code class="language-julia hljs">import GLMakie
Multibody.render(model, sol, filename = &quot;free_body.gif&quot;)</code></pre><p><img src="../free_body.gif" alt="free_body"/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../gearbox/">« Gearbox</a><a class="docs-footer-nextpage" href="../kinematic_loops/">Kinematic loops »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.5.0 on <span class="colophon-date" title="Thursday 15 August 2024 12:52">Thursday 15 August 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
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 dev/examples/gearbox/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@
gearConstraint.actuatedRevolute_a.phi
gearConstraint.phi_b
inertia1.phi / inertia2.phi # One can plot arbitrary expressions of variables! In this case, we plot the ratio between the two angles.
], layout=3, sp=[1 2 1 2 3], framestyle=:zerolines)</code></pre><img src="2f2513ae.svg" alt="Example block output"/><p>The plot indicates that the ratio between the angles of inertia 1 and 2 is 10, as expected, and that the same ratio holds between the two sides of the 3D gear constraint.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../spherical_pendulum/">« Spherical pendulum</a><a class="docs-footer-nextpage" href="../free_motion/">Free motions »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.5.0 on <span class="colophon-date" title="Thursday 15 August 2024 12:27">Thursday 15 August 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
], layout=3, sp=[1 2 1 2 3], framestyle=:zerolines)</code></pre><img src="ae582e04.svg" alt="Example block output"/><p>The plot indicates that the ratio between the angles of inertia 1 and 2 is 10, as expected, and that the same ratio holds between the two sides of the 3D gear constraint.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../spherical_pendulum/">« Spherical pendulum</a><a class="docs-footer-nextpage" href="../free_motion/">Free motions »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.5.0 on <span class="colophon-date" title="Thursday 15 August 2024 12:52">Thursday 15 August 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/examples/gyroscopic_effects/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
@assert SciMLBase.successful_retcode(sol)

import GLMakie
Multibody.render(model, sol; x=1, z=1, filename = &quot;gyro.gif&quot;) # Use &quot;gyro.mp4&quot; for a video file</code></pre><p><img src="../gyro.gif" alt="animation"/></p><p>Try setting <code>model.revolute.w =&gt; 0</code> and plot this variable using <code>plot(sol, idxs=model.revolute.w)</code> and you will notice that the swinging of the pendulum induces a rotation around this joint, even if it has no rotational velocity from the start.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../space/">« Bodies in space</a><a class="docs-footer-nextpage" href="../wheel/">Wheels »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.5.0 on <span class="colophon-date" title="Thursday 15 August 2024 12:27">Thursday 15 August 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Multibody.render(model, sol; x=1, z=1, filename = &quot;gyro.gif&quot;) # Use &quot;gyro.mp4&quot; for a video file</code></pre><p><img src="../gyro.gif" alt="animation"/></p><p>Try setting <code>model.revolute.w =&gt; 0</code> and plot this variable using <code>plot(sol, idxs=model.revolute.w)</code> and you will notice that the swinging of the pendulum induces a rotation around this joint, even if it has no rotational velocity from the start.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../space/">« Bodies in space</a><a class="docs-footer-nextpage" href="../wheel/">Wheels »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.5.0 on <span class="colophon-date" title="Thursday 15 August 2024 12:52">Thursday 15 August 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
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

0 comments on commit 41adffc

Please sign in to comment.