dojo-sim / Dojo.jl

A differentiable physics engine for robotics
MIT License
297 stars 26 forks source link

quadruped_min example still broken #32

Closed GlenHenshaw closed 2 years ago

GlenHenshaw commented 2 years ago
    julia> include("quadruped_min.jl")
      Activating project at `~/.julia/packages/Dojo/tpwPK/examples`
    ┌ Info: MeshCat server started. You can open the visualizer by visiting the following URL in your browser:
    └ http://127.0.0.1:8721
    typeof(Z) = Vector{Float64}
    ERROR: LoadError: UndefVarError: gravity_compensation not defined
    Stacktrace:
     [1] top-level scope
       @ ~/.julia/packages/Dojo/tpwPK/examples/trajectory_optimization/quadruped_min.jl:64
     [2] include(fname::String)
       @ Base.MainInclude ./client.jl:451
     [3] top-level scope
       @ REPL[8]:1
    in expression starting at /Users/glenhenshaw/.julia/packages/Dojo/tpwPK/examples/trajectory_optimization/quadruped_min.jl:64
thowell commented 2 years ago

I recommend adding Dojo#main. This will download the latest version of Dojo where we have fixed this issue.

GlenHenshaw commented 2 years ago

Done. That fixed this particular problem, thanks.