From f0b50531b73c251a71bb6246a6e037df628bab6d Mon Sep 17 00:00:00 2001 From: Vladyslav Usenko Date: Fri, 6 Dec 2019 16:39:39 +0000 Subject: [PATCH] Update basalt_capture_mocap.py --- scripts/basalt_capture_mocap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()