Skip to content

Commit

Permalink
Update JaxsimSimulator initialization in jaxsim_walking.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
xela-95 committed Oct 23, 2024
1 parent ea094bd commit 28c219d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions examples/jaxsim_walking.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,11 @@
"source": [
"# ==== Define JaxSim simulator and set initial position ====\n",
"\n",
"js = JaxsimSimulator()\n",
"js = JaxsimSimulator(dt=js_dt, contact_model_type=JaxsimContactModelEnum.RIGID)\n",
"js.load_model(\n",
" robot_model=robot_model_init,\n",
" contact_model_type=JaxsimContactModelEnum.RIGID,\n",
" s=s_0,\n",
" xyz_rpy=xyz_rpy_0,\n",
" dt=js_dt,\n",
" # Possible choices are \"record\", \"interactive\" or None (no visualization)\n",
" visualization_mode=\"record\",\n",
")\n",
Expand Down Expand Up @@ -575,7 +573,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "default",
"display_name": "comodo",
"language": "python",
"name": "python3"
},
Expand All @@ -589,7 +587,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.15"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 28c219d

Please sign in to comment.