Dojo.jl
Dojo.jl copied to clipboard
hopper_min and hopper_max still broken...
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
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.
The examples were removed, but the mechanism still exists for people to build their own controlled version.