Skip to content

Commit

Permalink
more interesting initial condition
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Jul 30, 2024
1 parent 05a59c0 commit 4a22d8b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/src/examples/swing.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,10 @@ ssys = structural_simplify(IRSystem(model))
d = 10
dj = 0.01
prob = ODEProblem(ssys, [
collect(model.body.r_0) .=> [0, -2, 0.0];
collect(model.body_right.body.r_0) .=> [0, -2, 0.5];
# collect(model.body_left.body.r_0) .=> [0, -2, -0.5];
collect(model.body_right.body.v_0) .=> 0;
collect(model.body_left.body.r_0) .=> [0, -2, -0.5];
collect(model.body.v_0) .=> [0, 0, 5];
model.damper.d => 1;
model.rope1.damper.d => d;
model.rope2.damper.d => d;
Expand Down

0 comments on commit 4a22d8b

Please sign in to comment.