From: Gustavo G. <gor...@mi...> - 2011-11-25 20:21:28
|
Hey list, I'd like to try use some discrete-time in python-control. Specifically, I want MATLAB's c2d and dlqr. I'm aware of the discussion here [1] and code here [2]. yottalab.py has a all the functionality I want (thanks!) but I'm not sure which branch of python-control it is assuming. Specifically in c2d, line line 173, there is a call to construct a statespace object which takes 5 arguments A,B,C,D,Ts, but no such constructor seems to exist in python-control. From the rest of the code (i.e. d2c), I infer that all it seems to do is add a field called "Tsamp" to the statespace object. If the statespace object can represent both continuous and discrete-time systems, what then should the semantics be? It looks like Tsamp=0 for continuous time systems. It also looks like there is a repository here [3]. Is it going to be merged with the sourceforge repository eventually, or other way around? Thanks! Gustavo [1] http://mail.scipy.org/pipermail/scipy-dev/2010-August/015468.html and [2] www.dti.supsi.ch/~bucher/wp-content/uploads/2011/03/yottalab.py [3] https://bitbucket.org/eike_welk/python-control |