MCPcopy Create free account
hub / github.com/TeleHuman/TextOp / main

Function main

TextOpDeploy/src/textop_ctrl/scripts/make_zero_npz.py:96–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94
95
96def main():
97 parser = argparse.ArgumentParser(
98 description=
99 'Create zero motion NPZ file using robotmdar get_zero_feature')
100 parser.add_argument('--out',
101 default="zero_motion.npz",
102 help='Output NPZ file path')
103 parser.add_argument('--timesteps',
104 '-t',
105 type=int,
106 default=100,
107 help='Number of time steps (default: 100)')
108 parser.add_argument('--fps',
109 type=int,
110 default=50,
111 help='Frames per second (default: 50)')
112
113 args = parser.parse_args()
114
115 create_zero_motion_npz_simple(out=args.out,
116 num_timesteps=args.timesteps,
117 fps=args.fps)
118
119
120if __name__ == '__main__':

Callers 1

make_zero_npz.pyFile · 0.70

Calls 1

Tested by

no test coverage detected