Skip to content

Commit

Permalink
tweak test params
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Jun 14, 2024
1 parent cfca4d6 commit 460cbad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

julia_version = "1.10.4"
manifest_format = "2.0"
project_hash = "73eed5db0c7b181f606e63adf5124204d72a3d45"
project_hash = "01a86afcbc8adb6e5ba61dc34569c070c3146575"

[[deps.ADTypes]]
git-tree-sha1 = "fc02d55798c1af91123d07915a990fbb9a10d146"
Expand Down
6 changes: 3 additions & 3 deletions docs/src/examples/kinematic_loops.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ plot(sol, idxs = [j1.phi, j2.phi, j3.phi])
```@example kinloop
using Test
@test SciMLBase.successful_retcode(sol)
@test sol(sol.t[end], idxs=j3.phi) % 2pi ≈ π/2 atol=0.1 # Test the the "pendulum" is hanging almost straight down after sufficient time has passed
@test sol(sol.t[end], idxs=j2.phi) % 2pi ≈ -π/2 atol=0.1
@test sol(sol.t[end], idxs=j3.phi) % 2pi ≈ π/2 atol=0.3 # Test the the "pendulum" is hanging almost straight down after sufficient time has passed
@test sol(sol.t[end], idxs=j2.phi) % 2pi ≈ -π/2 atol=0.3
```

Expand All @@ -81,7 +81,7 @@ Multibody.jl supports automatic 3D rendering of mechanisms, we use this feature

```@example kinloop
import CairoMakie
Multibody.render(fourbar, sol, 0:0.033:10; y=-1, lookat=[0, -1, 0], filename = "fourbar.gif") # Use "fourbar.mp4" for a video file
Multibody.render(fourbar, sol, 0:0.033:10; x=4, y=-1, z=4, lookat=[0, -1, 0], filename = "fourbar.gif") # Use "fourbar.mp4" for a video file
nothing # hide
```

Expand Down

0 comments on commit 460cbad

Please sign in to comment.