#mjx Make Data.time strongly typed.
PiperOrigin-RevId: 641774798 Change-Id: I5e13e3cefeb7942083f623f29757a459656062dd
This commit is contained in:
committed by
Copybara-Service
parent
7a06bcfdaf
commit
238736393b
@@ -174,7 +174,7 @@ def make_data(m: Union[types.Model, mujoco.MjModel]) -> types.Data:
|
||||
nefc=nefc,
|
||||
ncon=ncon,
|
||||
solver_niter=jp.array(0, dtype=int),
|
||||
time=jp.array(0.0),
|
||||
time=jp.array(0.0, dtype=float),
|
||||
qpos=jp.array(m.qpos0),
|
||||
qvel=zero_nv,
|
||||
act=zero_na,
|
||||
|
||||
Reference in New Issue
Block a user