From 243957f8105889ec26d9c3fa85fc5311b9015127 Mon Sep 17 00:00:00 2001 From: David PAGNON Date: Wed, 18 Oct 2023 19:07:21 +0200 Subject: [PATCH] Update csv_from_mot_osim.py --- Pose2Sim/Utilities/csv_from_mot_osim.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Pose2Sim/Utilities/csv_from_mot_osim.py b/Pose2Sim/Utilities/csv_from_mot_osim.py index b757a8d..e5a084f 100644 --- a/Pose2Sim/Utilities/csv_from_mot_osim.py +++ b/Pose2Sim/Utilities/csv_from_mot_osim.py @@ -72,8 +72,8 @@ def csv_from_mot_osim_func(*args): # Read model and motion files - model = osim.Model(input_osim_file) - motion_data = osim.TimeSeriesTable(input_mot_file) + model = osim.Model(osim_path) + motion_data = osim.TimeSeriesTable(motion_path) # Model: get model coordinates and bodies model_coordSet = model.getCoordinateSet() @@ -145,4 +145,4 @@ if __name__ == '__main__': parser.add_argument('-c', '--csv_output_file', required=False, help='csv output file') args = vars(parser.parse_args()) - csv_from_mot_osim_func(args) \ No newline at end of file + csv_from_mot_osim_func(args)