Skip to content

Commit 60337be

Browse files
authored
Avoid use of deprecated API (#23625)
1 parent 4f73cbe commit 60337be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/hydroelastic_contact_basics.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@
507507
" # W = the world's frame\n",
508508
" # C = frame at the center of the compliant box\n",
509509
" X_WC = RigidTransform(p=[0, 0, 1])\n",
510-
" plant.SetDefaultFreeBodyPose(plant.GetBodyByName(\"compliant_box\"), X_WC)\n",
510+
" plant.SetDefaultFloatingBaseBodyPose(plant.GetBodyByName(\"compliant_box\"), X_WC)\n",
511511
"\n",
512512
" return builder, plant"
513513
]

0 commit comments

Comments
 (0)