Skip to content

Commit

Permalink
Make Dojo compile
Browse files Browse the repository at this point in the history
  • Loading branch information
janbruedigam committed Jun 26, 2023
1 parent a97f113 commit 1bb91c4
Show file tree
Hide file tree
Showing 4 changed files with 399 additions and 36 deletions.
2 changes: 1 addition & 1 deletion contact_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ joint4 = JointConstraint(Floating(origin, body4))
joints = [joint1;joint2;joint3;joint4]
dojo_contacts = ContactConstraint(ImpactContact(bodies))

mech = Mechanism(origin, bodies, joints, dojo_contacts; timestep=h, gravity=0)
mech = Mechanism(origin, bodies, joints, dojo_contacts; timestep=h)

# create the indexing named tuple
N_bodies = length(bodies)
Expand Down
Loading

0 comments on commit 1bb91c4

Please sign in to comment.