Dojo.jl icon indicating copy to clipboard operation
Dojo.jl copied to clipboard

hopper_min and hopper_max still broken...

Open GlenHenshaw opened this issue 2 years ago • 1 comments

Next error up is:

    julia> include("hopper_max.jl")
      Activating project at `~/.julia/packages/Dojo/6iIp0/examples`
    ┌ Info: MeshCat server started. You can open the visualizer by visiting the following URL in your browser:
    └ http://127.0.0.1:8718
    ERROR: LoadError: MethodError: no method matching build_robot(::Visualizer, ::Mechanism{Float64, 6, 2, 2, 2}; name=:robot)
    Stacktrace:
     [1] visualize(env::Environment{Dojo.RaibertHopper, Float64, Mechanism{Float64, 6, 2, 2, 2}, BoxSpace{Float64, 3}, BoxSpace{Float64, 26}, Nothing}, traj::Vector{Vector{Float64}}; name::Symbol, axes::Bool, grid::Bool)
       @ Dojo ~/.julia/packages/Dojo/tpwPK/environments/raiberthopper/methods/env.jl:121
     [2] visualize(env::Environment{Dojo.RaibertHopper, Float64, Mechanism{Float64, 6, 2, 2, 2}, BoxSpace{Float64, 3}, BoxSpace{Float64, 26}, Nothing}, traj::Vector{Vector{Float64}})
       @ Dojo ~/.julia/packages/Dojo/tpwPK/environments/raiberthopper/methods/env.jl:110
     [3] top-level scope
       @ ~/.julia/packages/Dojo/6iIp0/examples/trajectory_optimization/hopper_max.jl:46
     [4] include(fname::String)
       @ Base.MainInclude ./client.jl:451
     [5] top-level scope
       @ REPL[6]:1
    in expression starting at /Users/glenhenshaw/.julia/packages/Dojo/6iIp0/examples/trajectory_optimization/hopper_max.jl:46

GlenHenshaw avatar Mar 23 '22 19:03 GlenHenshaw

These examples should now run on main. The hopper_min example needs to be updated since we have modified the joint friction model, but it will still run.

thowell avatar Mar 23 '22 20:03 thowell

The examples were removed, but the mechanism still exists for people to build their own controlled version.

janbruedigam avatar Apr 12 '23 07:04 janbruedigam