Mohan-Zhang-u / mpc-tools-casadi

a fork of https://bitbucket.org/rawlings-group/mpc-tools-casadi/src/master/
GNU General Public License v3.0
5 stars 2 forks source link

About the problem that there is no getCasadiFunc function when calling MPCTools #1

Open W0WSS opened 1 year ago

W0WSS commented 1 year ago

Dear author, after I installed MPCTools, the following error occurred when I used it, how should I solve it?

File "/home/articulated_ws/src/articulated_tractor_trailer_paper/articulated_tractor_trailer_trajectory/src/export_articulated_tractor_model.py", line 59, in export_articulated_tractor_model ode_casadi = mpc.getCasadiFunc(ode_control_tractor_front, [Nx, Nu], ["x", "u"], funcname="f") AttributeError: module 'mpctools' has no attribute 'getCasadiFunc'

Myth1218 commented 7 months ago

download and insatll package from this site:https://github.com/cknoll/mpctools_casadi