MCPcopy Create free account
hub / github.com/BoosterRobotics/booster_train / main

Function main

scripts/csv_to_npz.py:311–329  ·  view source on GitHub ↗

Main function.

()

Source from the content-addressed store, hash-verified

309
310
311def main():
312 """Main function."""
313 # Load kit helper
314 sim_cfg = sim_utils.SimulationCfg(device=args_cli.device)
315 sim_cfg.dt = 1.0 / args_cli.output_fps
316 sim = SimulationContext(sim_cfg)
317 # Design scene
318 scene_cfg = ReplayMotionsSceneCfg(num_envs=1, env_spacing=2.0)
319 scene = InteractiveScene(scene_cfg)
320 # Play the simulator
321 sim.reset()
322 # Now we are ready!
323 print("[INFO]: Setup complete...")
324 # Run the simulator
325 run_simulator(
326 sim,
327 scene,
328 joint_names=JOINT_NAMES,
329 )
330
331
332if __name__ == "__main__":

Callers 1

csv_to_npz.pyFile · 0.70

Calls 3

resetMethod · 0.80
run_simulatorFunction · 0.70

Tested by

no test coverage detected