This commit is contained in:
davidpagnon 2023-10-18 20:05:32 +02:00
commit f5046a9af4

View File

@ -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)
csv_from_mot_osim_func(args)