Skip to content

LQR check inputs - #274

Closed
don4get wants to merge 12 commits into
python-control:masterfrom
don4get:feature/lqr-check-inputs
Closed

don4get wants to merge 12 commits into
python-control:masterfrom
don4get:feature/lqr-check-inputs

Conversation

@don4get

@don4get don4get commented Jan 8, 2019 •

Copy link
Copy Markdown
Contributor

As asked in issue #252, I added a check in LQR for the positiveness of the matrix [Q N; N' R].

So I enabled again the previous unit test and wait for a ValueError to be raised.

I also did a little bit of pep8 cleaning.

This PR needs to be merged after this one: #268

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.5%) to 77.907% when pulling 5c3e31e on don4get:feature/lqr-check-inputs into 31e6944 on python-control:master.

@coveralls

coveralls commented Jan 8, 2019 •

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.5%) to 77.811% when pulling 2afed81 on don4get:feature/lqr-check-inputs into 1254ccb on python-control:master.

don4get added 12 commits April 13, 2019 14:30
- Fix pep8 warnings
- Clean some comments
- Add module docstring
- Make place_varga protected -> _place_varga
- Make acker protected -> _acker
- place: Add optional arguments (alpha, dtime, method)
- Add fallback strategy in case scipy or slycot are not found
- Update docstrings
- Update tests and remove pass condition in case which "slycot is not installed."
- testPlace do not expect anymore a ValueError in case redundant place location is found. Instead, the algorithm fall back on the Ackermann method while printing a warning.

TODO: Complete pole placement example when PR#267 is merged.
@don4get
don4get force-pushed the feature/lqr-check-inputs branch from 5c3e31e to 2afed81 Compare April 13, 2019 12:44
@murrayrm

Copy link
Copy Markdown
Member

Hard to tell what this PR does since it builds on top of #268. Is it possible to make this PR independent of that one, so we can see what is going on?

Additional suggestions:

  • Please revert the change in names for the test files (as discussed in PR Refactor place method #268).

  • Need to integrate changes in master.

Alternatively, we can put this PR on hold until the status of PR #268 is resolved and proceed from there.

@murrayrm murrayrm added the onhold Waiting for changes or input label May 27, 2019
@murrayrm

Copy link
Copy Markdown
Member

PR has been idle for > 6 months => stale. @don4get I will close this PR in a few days unless you will have time to work on it soon. No worries if not; just re-open when you have responded to the comments above.

@murrayrm murrayrm closed this Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

onhold Waiting for changes or input

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants