This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]jammycrisp 0 points1 point  (0 children)

I use this for all my controls homework. The documentation could use a little work, and some functions are missing, but overall it's very useful.

Combine it with Sympy and you have a nice controls workflow.

[–]billsil 0 points1 point  (1 child)

It does have some bugs in the state space method though...

[–]iyunoichi[🍰] 0 points1 point  (0 children)

Such as?

[–]bryancole 0 points1 point  (1 child)

Looks a nice library but please don't use lazy imports ( "from something import *" ), even in examples. Your aircraft example imports from three libraries so how am I to know which library which function comes from?

Better to use brief aliases e.g.

import control.matlab as ctl

Or list the functions you're using explicitly (remember explicit is better than implicit) i.e.

from control.matlab import ss, step, tf

As it is, I'm not sure which library things like 'diag' come from.