Merge branch 'main' of https://github.com/perfanalytics/pose2sim
This commit is contained in:
commit
f5046a9af4
@ -72,8 +72,8 @@ def csv_from_mot_osim_func(*args):
|
|||||||
|
|
||||||
|
|
||||||
# Read model and motion files
|
# Read model and motion files
|
||||||
model = osim.Model(input_osim_file)
|
model = osim.Model(osim_path)
|
||||||
motion_data = osim.TimeSeriesTable(input_mot_file)
|
motion_data = osim.TimeSeriesTable(motion_path)
|
||||||
|
|
||||||
# Model: get model coordinates and bodies
|
# Model: get model coordinates and bodies
|
||||||
model_coordSet = model.getCoordinateSet()
|
model_coordSet = model.getCoordinateSet()
|
||||||
@ -145,4 +145,4 @@ if __name__ == '__main__':
|
|||||||
parser.add_argument('-c', '--csv_output_file', required=False, help='csv output file')
|
parser.add_argument('-c', '--csv_output_file', required=False, help='csv output file')
|
||||||
args = vars(parser.parse_args())
|
args = vars(parser.parse_args())
|
||||||
|
|
||||||
csv_from_mot_osim_func(args)
|
csv_from_mot_osim_func(args)
|
||||||
|
Loading…
Reference in New Issue
Block a user