You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by thomas_ha on 2011-04-19 18:37 UTC
The function "step" is supposed to return an array for the time:
T, yout = step(sys, T, X0)
T: array
Instead, a matrix is returned. To convert it to a time array, currently the following step is required (which should not be required):
t2 = array(T)[0,:]
Commented by eike on 2011-06-10 14:48 UTC
I had the same problem, and I therefore created my own branch of the library. In this branch I fixed this bug, and I also implemented the simulation of MIMO systems.
The easiest way to get the library is with the version control system "Mercurial". You open a terminal window and type:
hg clone https://eike_welk@bitbucket.org/eike_welk/python-control #download the code
cd python-control/
hg update 193 #This is optional - move to revision 193 - I usually check in working code
su #get administrative privileges - depends on your operating system
python setup.py install
rm -r build dist #clean up
exit
I would be glad if you tried my version of Python Control. If the instructions are too complicated for you, Ill think of a way, how you can get a regular package.
Commented by eike on 2011-06-10 14:56 UTC
The bug tracker garbled my instructions to downloa and install the library, so here are they again:
hg clone https://eike_welk@bitbucket.org/eike_welk/python-control
cd python-control/
hg update 193
su #depends on your operating system
python setup.py install
rm -r build dist
exit
Commented by murrayrm on 2011-06-22 18:28 UTC
This is resolved in version 0.4d (current trunk). All time response functions now return arrays instead of matrices. Will close when 0.4d is released.
Commented by sf-robot on 2011-07-06 19:20 UTC
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Activity
murrayrm commentedon Aug 9, 2014
Commented by eike on 2011-06-10 14:48 UTC
I had the same problem, and I therefore created my own branch of the library. In this branch I fixed this bug, and I also implemented the simulation of MIMO systems.
Look at:
https://bitbucket.org/eike_welk/python-control/
The current revision (193) works IMHO well.
The easiest way to get the library is with the version control system "Mercurial". You open a terminal window and type:
hg clone https://eike_welk@bitbucket.org/eike_welk/python-control #download the code
cd python-control/
hg update 193 #This is optional - move to revision 193 - I usually check in working code
su #get administrative privileges - depends on your operating system
python setup.py install
rm -r build dist #clean up
exit
I would be glad if you tried my version of Python Control. If the instructions are too complicated for you, Ill think of a way, how you can get a regular package.
[-]return type of "step" function[/-][+]return type of "step" function [sf#1][/+]murrayrm commentedon Aug 9, 2014
Commented by eike on 2011-06-10 14:56 UTC
The bug tracker garbled my instructions to downloa and install the library, so here are they again:
hg clone https://eike_welk@bitbucket.org/eike_welk/python-control
cd python-control/
hg update 193
su #depends on your operating system
python setup.py install
rm -r build dist
exit
murrayrm commentedon Aug 9, 2014
Commented by murrayrm on 2011-06-22 18:28 UTC
This is resolved in version 0.4d (current trunk). All time response functions now return arrays instead of matrices. Will close when 0.4d is released.
murrayrm commentedon Aug 9, 2014
Commented by sf-robot on 2011-07-06 19:20 UTC
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Merge pull request python-control#2 from kdavies4/master
Small update to trigger Readthedocs, attempt #2
Merge pull request #2 from murrayrm/lkies-streamplot
Attempt python-control#2 at 397efab, based on linter recommendation
Disk margin calculations (#1146)