MatthewPeterKelly / OptimTraj

A trajectory optimization library for Matlab
MIT License
598 stars 207 forks source link

when run MAIN_forceSquared.m ,it shows err use dynamics ,the output parameters is too much ,ERR: MAIN_forceSquared>@(t,x,u)(dynamics(x,u)) #51

Open dbdxnuliba opened 2 years ago

dbdxnuliba commented 2 years ago

错误使用 dynamics 输出参数太多。

出错 MAIN_forceSquared>@(t,x,u)(dynamics(x,u))

出错 directCollocation>myCstGrad (line 627) [f, fGradRaw] = dynFun(t,x,u);

dbdxnuliba commented 2 years ago

OK,I see, I faultly add too much demo folder to path, it will run successfully when only add one demo folder to the path!