From 88dacf6986243415ec1b5dda40916993df3b7a02 Mon Sep 17 00:00:00 2001 From: franckgaga Date: Sun, 2 Mar 2025 15:10:04 -0500 Subject: [PATCH] debug: correct `@error` msg for MPC not solved It was the MHE message (a copy-paste mistake) --- src/controller/execute.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/execute.jl b/src/controller/execute.jl index 807586ff5..7becca12f 100644 --- a/src/controller/execute.jl +++ b/src/controller/execute.jl @@ -457,7 +457,7 @@ function optim_objective!(mpc::PredictiveController{NT}) where {NT<:Real} status = JuMP.termination_status(optim) if iserror(optim) @error( - "MPC terminated without solution: estimation in open-loop "* + "MPC terminated without solution: returning last solution shifted "* "(more info in debug log)", status )