miguelmoreto / labcontrole

The LabControle is a simulation software for linear control systems. It is designed to be used as an auxiliary tool for teaching classical control system theory.
http://sites.google.com/site/controlelab/
9 stars 2 forks source link

Error when trying to simulate system with a non-constant input r(t). #12

Closed eduardohenriquearnold closed 9 years ago

eduardohenriquearnold commented 9 years ago

The error was caused because the definition of 't' on 'CriaEntrada' (MySystem.py line 301) was commented.

I simply uncommented it and it seems to work fine now.

miguelmoreto commented 9 years ago

Eduardo,

thanks for pointing that out! I've done some code cleaning and forgot the meaning of that "t" variable! That piece of code is several years old! That's why it seems not used and by commenting it I ended up creating a serious bug!

Best regards,

Miguel