Skip to content

Commit 67ec63c

Browse files
committed
Disable flaky render tests in CI
1 parent f22b001 commit 67ec63c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/user-guide/mujoco.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ After `sim.step()` or `sim.reset()`, `mjx_synced` is set to `False`. The `sim.re
100100

101101
These run only once per render or contact call, regardless of how many dynamics steps were taken since the last sync.
102102

103-
```{ .python continuation }
103+
```{ .python notest }
104104
for i in range(10):
105105
sim.step(5) # JAX dynamics only, mjx_synced = False
106106
if i % 5 == 0:
@@ -113,15 +113,15 @@ for i in range(10):
113113

114114
This means the order of calls matters. Grouping all rendering and contact queries together after a step lets them share a single sync:
115115

116-
```{ .python continuation }
116+
```{ .python notest }
117117
sim.step(5)
118118
contacts = sim.contacts() # sync runs here
119119
sim.render(mode="rgb_array") # flag already set, no second sync
120120
```
121121

122122
Interleaving a step between them forces two syncs:
123123

124-
```{ .python continuation }
124+
```{ .python notest }
125125
contacts = sim.contacts() # sync runs here
126126
sim.step(5) # flag cleared
127127
sim.render(mode="rgb_array") # sync runs again
@@ -135,7 +135,7 @@ The solution is to **close over** `mjx_data` rather than pass it as an argument.
135135

136136
The drone racing environment in [lsy_drone_racing](https://github.com/learnsyslab/lsy_drone_racing) uses this pattern to build a contact check function:
137137

138-
```{ .python continuation }
138+
```{ .python notest }
139139
from jax import Array
140140
141141
from crazyflow.sim.sim import sync_sim2mjx

0 commit comments

Comments
 (0)