Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add not implemented test/fix for continuous MPC
  • Loading branch information
murrayrm committed Mar 30, 2022
commit 4c197caa9e3c5347aef6807fa64b3b908f966c8e
2 changes: 1 addition & 1 deletion control/optimal.py
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ def create_mpc_iosystem(self):
"""Create an I/O system implementing an MPC controller"""
# Check to make sure we are in discrete time
if self.system.dt == 0:
raise ControlNotImplemented(
raise ct.ControlNotImplemented(
"MPC for continuous time systems not implemented")

def _update(t, x, u, params={}):
Expand Down