Skip to content

Commit

Permalink
build based on 58bc962
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Jun 20, 2024
1 parent 21d3faa commit 5ed8bfa
Show file tree
Hide file tree
Showing 43 changed files with 1,561 additions and 1,552 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-06-20T06:54:59","documenter_version":"1.4.1"}}
{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-06-20T08:00:00","documenter_version":"1.4.1"}}
Binary file modified dev/examples/free_body.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions dev/examples/free_motion/36eeddee.svg
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.
48 changes: 0 additions & 48 deletions dev/examples/free_motion/ddb70f70.svg

This file was deleted.

16 changes: 9 additions & 7 deletions dev/examples/free_motion/index.html

Large diffs are not rendered by default.

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="562275d7.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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.4.1 on <span class="colophon-date" title="Thursday 20 June 2024 06:54">Thursday 20 June 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="0355038f.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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.4.1 on <span class="colophon-date" title="Thursday 20 June 2024 08:00">Thursday 20 June 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.
6 changes: 3 additions & 3 deletions dev/examples/kinematic_loops/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
prob = ODEProblem(m, [], (0.0, 30.0))
sol = solve(prob, Rodas4(autodiff=false))

plot(sol, idxs = [j1.phi, j2.phi, j3.phi])</code></pre><img src="6f76cc1f.svg" alt="Example block output"/><pre><code class="language-julia hljs">using Test
plot(sol, idxs = [j1.phi, j2.phi, j3.phi])</code></pre><img src="0fb8e5fc.svg" alt="Example block output"/><pre><code class="language-julia hljs">using Test
@test SciMLBase.successful_retcode(sol)
@test sol(sol.t[end], idxs=j3.phi) % 2pi ≈ π/2 atol=0.3 # Test the the &quot;pendulum&quot; is hanging almost straight down after sufficient time has passed
@test sol(sol.t[end], idxs=j2.phi) % 2pi ≈ -π/2 atol=0.3</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi"><span class="sgr32"><span class="sgr1">Test Passed</span></span></code></pre><h3 id="3D-animation"><a class="docs-heading-anchor" href="#3D-animation">3D animation</a><a id="3D-animation-1"></a><a class="docs-heading-anchor-permalink" href="#3D-animation" title="Permalink"></a></h3><p>Multibody.jl supports automatic 3D rendering of mechanisms, we use this feature to illustrate the result of the simulation below:</p><pre><code class="language-julia hljs">import CairoMakie
Expand Down Expand Up @@ -93,5 +93,5 @@

sol = solve(prob, Rodas4(autodiff=true))
@test SciMLBase.successful_retcode(sol)
plot(sol, idxs=[j2.s]) # Plot the joint coordinate of the prismatic joint (green in the animation below)</code></pre><img src="5761621f.svg" alt="Example block output"/><pre><code class="language-julia hljs">import CairoMakie
Multibody.render(fourbar2, sol; x=-2, y = 2, z = 3, filename = &quot;fourbar2.gif&quot;) # Use &quot;fourbar2.mp4&quot; for a video file</code></pre><p><img src="../fourbar2.gif" alt="animation"/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../free_motion/">« Free motions</a><a class="docs-footer-nextpage" href="../robot/">Industrial robot »</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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.4.1 on <span class="colophon-date" title="Thursday 20 June 2024 06:54">Thursday 20 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
plot(sol, idxs=[j2.s]) # Plot the joint coordinate of the prismatic joint (green in the animation below)</code></pre><img src="8a4ee9ad.svg" alt="Example block output"/><pre><code class="language-julia hljs">import CairoMakie
Multibody.render(fourbar2, sol; x=-2, y = 2, z = 3, filename = &quot;fourbar2.gif&quot;) # Use &quot;fourbar2.mp4&quot; for a video file</code></pre><p><img src="../fourbar2.gif" alt="animation"/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../free_motion/">« Free motions</a><a class="docs-footer-nextpage" href="../robot/">Industrial robot »</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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.4.1 on <span class="colophon-date" title="Thursday 20 June 2024 08:00">Thursday 20 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
284 changes: 142 additions & 142 deletions dev/examples/pendulum/37e36eef.svg → dev/examples/pendulum/20097287.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 0 additions & 46 deletions dev/examples/pendulum/2f62ba4d.svg

This file was deleted.

46 changes: 46 additions & 0 deletions dev/examples/pendulum/4f284193.svg
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.
48 changes: 0 additions & 48 deletions dev/examples/pendulum/bba06b98.svg

This file was deleted.

Loading

0 comments on commit 5ed8bfa

Please sign in to comment.