diff --git a/scripts/basalt_capture_mocap.py b/scripts/basalt_capture_mocap.py index 09e269c..ab35593 100755 --- a/scripts/basalt_capture_mocap.py +++ b/scripts/basalt_capture_mocap.py @@ -48,7 +48,7 @@ if __name__ == '__main__': if not os.path.exists(dataset_path): os.makedirs(dataset_path) - out_file = open(sys.argv[1] + '/data.csv', 'w') + out_file = open(dataset_path + '/data.csv', 'w') out_file.write('#timestamp [ns], p_RS_R_x [m], p_RS_R_y [m], p_RS_R_z [m], q_RS_w [], q_RS_x [], q_RS_y [], q_RS_z []\n') listener() out_file.close()