Skip to content

Commit

Permalink
chore: update urdf example joint animation
Browse files Browse the repository at this point in the history
  • Loading branch information
mwfarb committed May 3, 2024
1 parent b8cca27 commit 251bd58
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/objects/urdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def bend_joints():

offset = i * math.pi / 3
ratio = max(0, math.sin(t + offset))
print(ratio)

joints.append(f"HP{i}:{np.interp(ratio, [0, 1], [30, 0])}")
joints.append(f"KP{i}:{np.interp(ratio, [0, 1], [90, 150])}")
Expand Down

0 comments on commit 251bd58

Please # to comment.