Skip to content

Commit

Permalink
Fix timeout in docstrings build
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti committed Nov 15, 2024
1 parent 4ed9510 commit 0574569
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions examples/jaxsim_for_robot_controllers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,17 @@
"[sdformat_github]: https://github.com/gazebosim/sdformat"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"\n",
"os.path.abspath(\"\")"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -98,18 +109,12 @@
},
"outputs": [],
"source": [
"# @title Download the URDF model\n",
"\n",
"import requests\n",
"\n",
"url = \"https://raw.githubusercontent.com/ami-iit/jaxsim/main/examples/assets/cartpole.urdf\"\n",
"\n",
"response = requests.get(url)\n",
"# @title Load the URDF model\n",
"import pathlib\n",
"\n",
"if response.status_code == 200:\n",
" model_urdf_string = response.text\n",
"else:\n",
" raise RuntimeError(\"Failed to fetch data.\")"
"model_urdf_string = pathlib.Path(\n",
" os.path.abspath(\"\") + \"/assets/cartpole.urdf\"\n",
").read_text()"
]
},
{
Expand Down

0 comments on commit 0574569

Please sign in to comment.