fix put_data function signature
This commit is contained in:
+1
-1
@@ -75,7 +75,7 @@ an ``mjx.Data``:
|
|||||||
model = mujoco.MjModel.from_xml_string("...")
|
model = mujoco.MjModel.from_xml_string("...")
|
||||||
data = mujoco.MjData(model)
|
data = mujoco.MjData(model)
|
||||||
mjx_model = mjx.put_model(model)
|
mjx_model = mjx.put_model(model)
|
||||||
mjx_data = mjx.put_data(data)
|
mjx_data = mjx.put_data(model, data)
|
||||||
|
|
||||||
These MJX variants mirror their MuJoCo counterparts but have a few key differences:
|
These MJX variants mirror their MuJoCo counterparts but have a few key differences:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user