cybergalactic / MSS

The Marine Systems Simulator (MSS) is software that supplements the textbook "Handbook of Marine Craft Hydrodynamics and Motion Control," 2nd Edition, by T. I. Fossen, published in 2021 by John Wiley & Sons Ltd.
https://mss.fossen.biz
MIT License
488 stars 164 forks source link

q2euler.m: 'theta' is not assigned on some execution paths. #20

Closed sifhognadottir2 closed 2 years ago

sifhognadottir2 commented 2 years ago

Hi, The addition of the if-statement in q2euler.m to handle NaN due to round-off errors causes Simulink to give an error: "Output argument 'theta' is not assigned on some execution paths.".

Regards, Sif Högnadottir

wtllll commented 2 years ago

 您好,已收到您的邮件,谢谢!

cybergalactic commented 2 years ago

Fixed