From f3b48edf2b44fd20019b59d019d1bddfac1e4ea5 Mon Sep 17 00:00:00 2001 From: Alexis Date: Fri, 2 Feb 2024 18:26:32 -0400 Subject: [PATCH] fix metadata and update mj_forward link --- python/tutorial.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tutorial.ipynb b/python/tutorial.ipynb index cdc50566..c12aadeb 100644 --- a/python/tutorial.ipynb +++ b/python/tutorial.ipynb @@ -466,7 +466,7 @@ "source": [ "Hmmm, why the black pixels?\n", "\n", - "**Answer:** For the same reason as above, we first need to propagate the values in `mjData`. This time we'll call [`mj_forward`](https://mujoco.readthedocs.io/en/latest/APIreference.html#mj-forward), which invokes the entire pipeline up to the computation of accelerations i.e., it computes $\\dot x = f(x)$, where $x$ is the state. This function does more than we actually need, but unless we care about saving computation time, it's good practice to call `mj_forward` since then we know we are not missing anything.\n", + "**Answer:** For the same reason as above, we first need to propagate the values in `mjData`. This time we'll call [`mj_forward`](https://mujoco.readthedocs.io/en/latest/APIreference/APIfunctions.html#mj-forward), which invokes the entire pipeline up to the computation of accelerations i.e., it computes $\\dot x = f(x)$, where $x$ is the state. This function does more than we actually need, but unless we care about saving computation time, it's good practice to call `mj_forward` since then we know we are not missing anything.\n", "\n", "We also need to update the `mjvScene` which is an object held by the renderer describing the visual scene. We'll later see that the scene can include visual objects which are not part of the physical model." ]