-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error in running the available examples #1
Comments
The SNOPT matlab interface has changed. The call to snopt should be: Optragen doesn't have the xmul,xstate and F,Fmul,Fstate inputs. Add these input arrays and it should work. Arrays of zero will be fine, as long as the x* vectors and the F* vectors are the same lengths). (I'll look into modifying the SNOPT interface to accept a call with empty vectors as input for the *mul and *state vectors -- but I can't remove them completely.) |
Thanks Elizabeth. Raktim BhattacharyaAssociate Professor Email: mailto:raktim@aero.tamu.edu raktim@tamu.edumailto:raktim@aero.tamu.edu On Nov 14, 2016, at 2:07 PM, Elizabeth Wong <notifications@github.heygears.commailto:notifications@github.com> wrote: The SNOPT matlab interface has changed. The call to snopt should be: Optragen doesn't have the xmul,xstate and F,Fmul,Fstate inputs. Add these input arrays and it should work. Arrays of zero will be fine, as long as the x* vectors and the F* vectors are the same lengths). (I'll look into modifying the SNOPT interface to accept a call with empty vectors as input for the *mul and *state vectors -- but I can't remove them completely.) — |
Hello,
I downloaded the available optragen toolbox, then I obtained the available snopt files with a student precompiled license.
why i try to run one of the available examples, bang bang control for example,
i get the following errors
Error using snopt (line 141)
Not enough input arguments.
Error in BangBangControl (line 76)
[x,F,inform] =
snopt(init',xlow,xupp,[0;nlp.LinCon.lb;nlp.nlb],[Inf;nlp.LinCon.ub;nlp.nub],'ocp2nlp_cost_and_constraint');
however when i check if matlab can actually find snopt by typing
exist('snopt','file')
ans =
any idea how to resolve the not enough input arguments issue ? the results i get are attached in a picture
I am using your toolbox for motion planning of an autonomous underwater vehicle
Thank you
The text was updated successfully, but these errors were encountered: