Code with the simulator open
- Object poses, bounds and the scene's state can be read at any time.
- Resets and replays are unlimited within the three hours.
- The agent submits one trajectory, replayed open-loop in a fresh process and graded.
from rcb_topogym import Session s = Session("cast_keyhole", instance="/app/instance.json") s.reset() # back to the frozen start, any time s.object_pose("keyhole_silver") # one object's pose s.record_start() s.step(action) # joints + grippers, one 1/40 s step actions = s.record_stop() s.replay(actions) # self-check, as the grader will s.save_trajectory(actions, "/app/output/trajectory.npz")


