Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running the quickstart example #50

Open
vsandinh opened this issue Feb 23, 2021 · 0 comments
Open

Error when running the quickstart example #50

vsandinh opened this issue Feb 23, 2021 · 0 comments

Comments

@vsandinh
Copy link

I tried to run the quickstart.jl example. However, I ran into the problem that no method matching QuadraticCost(::Int64, ::Int64, ::Int64)

ERROR: LoadError: MethodError: no method matching QuadraticCost(::Int64, ::Int64, ::Int64)
Closest candidates are:
QuadraticCost(::TQ, ::TR, ::TH, ::Tq, ::Tr, ::Real; checks, terminal, kwargs...) where {TQ, TR, TH, Tq, Tr, QC<:QuadraticCost} at /home/san/.julia/packages/TrajectoryOptimization/MxdKM/src/costfunctions.jl:330
Stacktrace:
[1] Altro.iLQRSolver(::Problem{RK3,Float64}, ::SolverOptions{Float64}, ::SolverStats{Float64}; kwarg_opts::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /home/san/.julia/packages/Altro/ZbP1c/src/ilqr/ilqr.jl:71
[2] Altro.iLQRSolver(::Problem{RK3,Float64}, ::SolverOptions{Float64}, ::SolverStats{Float64}) at /home/san/.julia/packages/Altro/ZbP1c/src/ilqr/ilqr.jl:52
[3] Altro.AugmentedLagrangianSolver(::Problem{RK3,Float64}, ::SolverOptions{Float64}, ::SolverStats{Float64}; solver_uncon::Type{T} where T, kwarg_opts::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /home/san/.julia/packages/Altro/ZbP1c/src/augmented_lagrangian/al_solver.jl:52
[4] ALTROSolver(::Problem{RK3,Float64}, ::SolverOptions{Float64}; infeasible::Bool, R_inf::Float64, solver_uncon::Type{T} where T, kwarg_opts::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /home/san/.julia/packages/Altro/ZbP1c/src/altro/altro_solver.jl:35
[5] ALTROSolver(::Problem{RK3,Float64}, ::SolverOptions{Float64}) at /home/san/.julia/packages/Altro/ZbP1c/src/altro/altro_solver.jl:23 (repeats 2 times)
[6] top-level scope at /home/san/Documents/QC-Code/TrajectoryOptimization.jl/examples/quickstart.jl:41
[7] include(::String) at ./client.jl:457
[8] top-level scope at none:1
in expression starting at /home/san/Documents/QC-Code/TrajectoryOptimization.jl/examples/quickstart.jl:41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant