-
Notifications
You must be signed in to change notification settings - Fork 438
Small fixes based on Caltech CDS 112 course #849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small fixes based on Caltech CDS 112 course #849
Conversation
type : 'linear' or 'nonlinear', optional | ||
controller_type : 'linear' or 'nonlinear', optional |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's an API change. The milestone should be 0.10.0 (or 1.0.0) then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put in code to handle legacy calls, so type
will still work. See line 732.
10bcd65
to
ed03726
Compare
ed03726
to
91c0260
Compare
Rebased onto current main, in order to resolve conflicts due to #857 |
67ea154
to
8e40c90
Compare
49756c4
to
574cf69
Compare
This PR contains some small fixes that I discovered while teaching CDS 112 at Caltech in Winter 2023:
create_statefbk_iosystem
that didn't proper handle 1D gain schedules.flatsys.point_to_point
generates an error if you specify a cost or constraint with less than 3 time points.LinearIOSystem
returns aLinearIOSystem
(before it returned aStateSpace
system).add_unused
keyword parameter tointerconnect
that allows unused inputs or outputs to be added as inputs or outputs of the interconnected system (useful for doing a "partial" interconnection).create_mpc_iosystem
now allows system and signal names to be specified via appropriate keywords.type
keyword forcreate_statefbk_iosystem
tocontroller_type
(linear or nonlinear). Usingtype
generates a deprecation warning.control_indices
andstate_indices
tocreate_statefbk_iosystem
to allow partial interconnection (eg, for inner/outer loop construction).