prob.get_val('cycle.d3.y3')[0]))print(prob.get_val('obj')[0]) 我得到了以下输出: Positivedirectionalderivative for linesearch (Exit mode 8)
Current function value: [2713.67806668Positive <em
)
Ki= Kp/Ti;
derivative= (error-previous_error1)/dt; % derivative term
u = Kp*error+Ki*integral+Kd*derivative; % actionTo rule out solver convergence as the cause of this e