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