MCPcopy Create free account
hub / github.com/Simple-Robotics/Simple / rollout_single

Function rollout_single

sandbox/parallel_rollout.py:94–98  ·  view source on GitHub ↗
(sim, tau)

Source from the content-addressed store, hash-verified

92
93def simulate_tau_batch_parallel(sim_batch, q, v, tau_batch, dt):
94 def rollout_single(sim, tau):
95 q_ = q.copy()
96 v_ = v.copy()
97 sim.rollout(q_, v_, tau, dt) # rollout without GIL
98 return sim.qnew, sim.vnew
99
100 with concurrent.futures.ThreadPoolExecutor(max_workers=max_workers) as executor:
101 futures = [

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected