Hi, I am having trouble with quat2eul. The default sequence 'ZYX' works and so does the ZYZ rotation but I keep getting an error when I try'XYZ'. Anyone had similar? Thanks, Jamie.
% Do quaternion->Euler conversion
euldata = zeros(length(quatdata), 3);for i = 1:length(quatdata) euldata(i,:) = quat2eul(quatdata(i,3:6),'XYZ');end%euldata = vtg_quat2eul(quatdata);
Error in quat2eul (line 35)seq = robotics.internal.validation.validateEulerSequence(varargin{:});
Best Answer