Closed grotli closed 3 years ago
Yes, I'm currently working on the fix for this. The new release should be out in the next couple days.
I am also experiencing this error while running the Cartpole.ipynb example. I guess it is a version issue.
Any update on this since February? Also experiencing this issue
This has been fixed in the most recent releases of the packages: Altro 0.4.0, TrajectoryOptimization 0.5.0.
Thank you for the fix! The update has not appeared in the Julia package manager Pkg. Are the packages no longer registered, or is a specific version of Julia required? I am using v1.5.3, and the current versions are Altro v0.3.0 and TrajectoryOptimization c0.4.2
When try to precompile Altro (that is run "using Altro") I get the error message below. Do you have any suggestion on what I should do?
┌ Info: Precompiling Altro [5dcf52e5-e2fb-48e0-b826-96f46d2e3e73] └ @ Base loading.jl:1278 ERROR: LoadError: UndefVarError: QuadraticObjective not defined Stacktrace: [1] include(::Function, ::Module, ::String) at .\Base.jl:380 [2] include(::Module, ::String) at .\Base.jl:368 [3] top-level scope at none:2 [4] eval at .\boot.jl:331 [inlined] [5] eval(::Expr) at .\client.jl:467 [6] top-level scope at .\none:3 in expression starting at C:\Users\esteng.julia\packages\Altro\ZbP1c\src\Altro.jl:29 Failed to precompile Altro [5dcf52e5-e2fb-48e0-b826-96f46d2e3e73] to C:\Users\esteng.julia\compiled\v1.5\Altro\GnnwV_2aMzp.ji.
Stacktrace: [1] error(::String) at .\error.jl:33 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305 [3] _require(::Base.PkgId) at .\loading.jl:1030 [4] require(::Base.PkgId) at .\loading.jl:928 [5] require(::Module, ::Symbol) at .\loading.jl:923 [6] include_string(::Function, ::Module, ::String, ::String) at .\loading.jl:1091