Update csv_from_mot_osim.py

This commit is contained in:
David PAGNON 2023-10-18 19:07:21 +02:00 committed by GitHub
parent d027d16e3f
commit 243957f810
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)