Skip to content

Commit 45e77c2

Browse files
committed
Fix tutorial Google Colab links and file downloads
1 parent 5936996 commit 45e77c2

6 files changed

+9
-7
lines changed

Bindings/Python/tutorials/Tutorial 2 - Creating and Simulating a simple arm Model.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"id": "mmmTuEI4HQJG"
6868
},
6969
"source": [
70-
"First, set up the environment by executing the following cell (See [Tutorial 1: Introduction to OpenSim](https://drive.google.com/file/d/1P_2IRJFzdodS1-ce4BsOsC9d8xWXCqXS/view?usp=sharing))."
70+
"First, set up the environment by executing the following cell (See [Tutorial 1: Introduction to OpenSim](https://colab.research.google.com/github/nickbianco/opensim-core/blob/python_examples/Bindings/Python/tutorials/Tutorial%201%20-%20Introduction%20to%20OpenSim.ipynb))."
7171
]
7272
},
7373
{

Bindings/Python/tutorials/Tutorial 3 - Loading and Modifying OpenSim Models.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"id": "mmmTuEI4HQJG"
7474
},
7575
"source": [
76-
"First, set up the environment by executing the following cell (see [Tutorial 1: Introduction to OpenSim](https://drive.google.com/file/d/1P_2IRJFzdodS1-ce4BsOsC9d8xWXCqXS/view?usp=sharing) for more details)."
76+
"First, set up the environment by executing the following cell (see [Tutorial 1: Introduction to OpenSim](https://colab.research.google.com/github/nickbianco/opensim-core/blob/python_examples/Bindings/Python/tutorials/Tutorial%201%20-%20Introduction%20to%20OpenSim.ipynb) for more details)."
7777
]
7878
},
7979
{

Bindings/Python/tutorials/Tutorial 4 - Musculoskeletal models, Motion Files and MuscleAnalysis.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"id": "mmmTuEI4HQJG"
102102
},
103103
"source": [
104-
"First, set up the environment by executing the following cell (see [Tutorial 1: Introduction to OpenSim](https://drive.google.com/file/d/1P_2IRJFzdodS1-ce4BsOsC9d8xWXCqXS/view?usp=sharing) for more information)."
104+
"First, set up the environment by executing the following cell (see [Tutorial 1: Introduction to OpenSim](https://colab.research.google.com/github/nickbianco/opensim-core/blob/python_examples/Bindings/Python/tutorials/Tutorial%201%20-%20Introduction%20to%20OpenSim.ipynb) for more information)."
105105
]
106106
},
107107
{

Bindings/Python/tutorials/Tutorial 5 - Scaling, Inverse Kinematics, and Inverse Dynamics.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"id": "mmmTuEI4HQJG"
101101
},
102102
"source": [
103-
"First, set up the environment by executing the following cell (See [Tutorial 1: Introduction to OpenSim in Colab](https://drive.google.com/file/d/1P_2IRJFzdodS1-ce4BsOsC9d8xWXCqXS/view?usp=sharing) for more information)."
103+
"First, set up the environment by executing the following cell (See [Tutorial 1: Introduction to OpenSim in Colab](https://colab.research.google.com/github/nickbianco/opensim-core/blob/python_examples/Bindings/Python/tutorials/Tutorial%201%20-%20Introduction%20to%20OpenSim.ipynb) for more information)."
104104
]
105105
},
106106
{

Bindings/Python/tutorials/Tutorial 6 - Static Optimization.ipynb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
"id": "mmmTuEI4HQJG"
127127
},
128128
"source": [
129-
"First, set up the environment by executing the following cell (See [Tutorial 1: Introduction to OpenSim](https://drive.google.com/file/d/1P_2IRJFzdodS1-ce4BsOsC9d8xWXCqXS/view?usp=sharing) for more information)."
129+
"First, set up the environment by executing the following cell (See [Tutorial 1: Introduction to OpenSim](https://colab.research.google.com/github/nickbianco/opensim-core/blob/python_examples/Bindings/Python/tutorials/Tutorial%201%20-%20Introduction%20to%20OpenSim.ipynb) for more information)."
130130
]
131131
},
132132
{
@@ -270,7 +270,9 @@
270270
"id": "bjlOR8fym2Pl"
271271
},
272272
"source": [
273-
"Load the model into OpenSim. To check that the file has been downloaded correctly, let's print its name. Notice that we are getting more information printed to the console because of the Python `LogSink` that we've added. You can also see the logs in the `opensim-log.log` file that has been created."
273+
"Load the model into OpenSim. To check that the file has been downloaded correctly, let's print its name. Notice that we are getting more information printed to the console because of the Python `LogSink` that we've added. You can also see the logs in the `opensim-log.log` file that has been created.\n",
274+
"\n",
275+
"Don't worry about logged messages similar to \"Couldn't find file 'sacrum.vtp'\"; VTP files are only used for visualization and not needed for this example."
274276
]
275277
},
276278
{

Bindings/Python/tutorials/Tutorial 8 - Creating Muscle-driven Simulations with OpenSim Moco.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
"\n",
175175
"# Define the button click event handler\n",
176176
"def on_button_click(b):\n",
177-
" url = 'https://drive.google.com/uc?export=download&id=1avX8gITGgjpQUaWCZuN2U8Fd1gXApscS'\n",
177+
" url = 'https://drive.google.com/uc?export=download&id=1xnrBNTqIHQVIIxQNQEbHUmVLLRduV5jd'\n",
178178
" if url:\n",
179179
" download_and_extract_zip(url)\n",
180180
" else:\n",

0 commit comments

Comments
 (0)