From cbd1a3333074be3e63a8a67e40c47af643c3ad59 Mon Sep 17 00:00:00 2001 From: Luca Modenese Date: Thu, 25 Jul 2024 12:12:34 +0200 Subject: [PATCH] Update realizeMatStructKinematics.m upd to work on OpenSim 4.5 --- MATLAB/private/realizeMatStructKinematics.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MATLAB/private/realizeMatStructKinematics.m b/MATLAB/private/realizeMatStructKinematics.m index 0e9b3be..c04689f 100644 --- a/MATLAB/private/realizeMatStructKinematics.m +++ b/MATLAB/private/realizeMatStructKinematics.m @@ -69,7 +69,7 @@ cur_coordValue = kin_state_angles(n_modelCoords+1); % assigning the coordinates depending on their motion type - switch char(coordsModel.get(n_modelCoords).get_motion_type()) + switch char(coordsModel.get(n_modelCoords).getMotionType()) case 'rotational' % transform to radiant for angles coordsModel.get(n_modelCoords).setValue(state,cur_coordValue*pi/180); @@ -83,4 +83,4 @@ end end -end \ No newline at end of file +end