紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
请教一下大家,有人用过mpc-tools-casadi吗?
-
我从github上面下载了一个程序,按照readme安装了MPCTools,然后运行之后出现说mpctools里面没有'getCasadiFunc'这个函数,我按mpctools安装要求重新装了也不行,想请教一下大家怎么解决.
Traceback (most recent call last): File "/home/github/articulated_ws/src/articulated_tractor_trailer_paper/articulated_tractor_trailer_trajectory/src/articulated_tractor_trailer_trajectory.py", line 247, in <module> start() File "/home/github/articulated_ws/src/articulated_tractor_trailer_paper/articulated_tractor_trailer_trajectory/src/articulated_tractor_trailer_trajectory.py", line 127, in start (controller, Nt, Delta) = export_articulated_tractor_trailer_model() File "/home/github/articulated_ws/src/articulated_tractor_trailer_paper/articulated_tractor_trailer_trajectory/src/export_articulated_tractor_trailer_model.py", line 59, in export_articulated_tractor_trailer_model ode_casadi = mpc.getCasadiFunc(ode_control_trailer, [Nx, Nu], ["x", "u"], funcname="f") AttributeError: module 'mpctools' has no attribute 'getCasadiFunc'
[articulated_tractor_trailer_trajectory-5] process has died [pid 11460, exit code 1, cmd /home/github/articulated_ws/src/articulated_tractor_trailer_paper/articulated_tractor_trailer_trajectory/src/articulated_tractor_trailer_trajectory.py __name:=articulated_tractor_trailer_trajectory __log:=/home/.ros/log/3108ace8-6d2a-11ed-8666-d4548b799fd2/articulated_tractor_trailer_trajectory-5.log]. log file: /home/.ros/log/3108ace8-6d2a-11ed-8666-d4548b799fd2/articulated_tractor_trailer_trajectory-5*.log
-
请问您的问题解决了吗,我这几天遇到了跟您同样的问题,不知道如何解决
-
此回复已被删除! -
你电脑上面有 CasADi (Version >=3.0; download here) 吗?
-
你好,请问以下你问题解决了麻,我也碰到了同样的问题?
-
@杜守钰 你好,我通过pip install casadi 安装了casadi,但是在mpctools里面依然没有getCasadiFunc这个函数
-
-