GeezerVison is showing github.com — return type of "step" function [sf#1] · Issue #2 · python-control/python-control
return type of "step" function [sf#1] #2DescriptionReported 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,:]
Activitymurrayrm commented on 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://[email protected]/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. changed the title [-]return type of "step" function[/-] [+]return type of "step" function [sf#1][/+] on Aug 9, 2014murrayrm commented on 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://[email protected]/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 commented on 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 commented on 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).
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|