# Pkg.checkout("RigidBodyDynamics")
# Pkg.clone("https://github.com/tkoolen/ValkyrieRobot.jl.git")
using RigidBodyDynamics
using RigidBodyTreeInspector
using ValkyrieRobot
val = Valkyrie()
mechanism = val.mechanism;
DrakeVisualizer.any_open_windows() || DrakeVisualizer.new_window(); sleep(1)
vis = Visualizer()[:valkyrie]
setgeometry!(vis, mechanism, parse_urdf(ValkyrieRobot.urdfpath(), mechanism; package_path = [ValkyrieRobot.packagepath()]))
remove_fixed_tree_joints!(mechanism)
state = MechanismState{Float64}(mechanism)
settransform!(vis, state)
This is due to the remove_fixed_tree_joints! call. This used to work. Other mechanism modifications (like rerooting) result in similar issues. I'll take a look at this soon, but just wanted to report it for now.
Code to reproduce:
This is due to the
remove_fixed_tree_joints!
call. This used to work. Other mechanism modifications (like rerooting) result in similar issues. I'll take a look at this soon, but just wanted to report it for now.