RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.24k stars 1.25k forks source link

"Error reloading VRML file" when constructing RBM Visualizer #61

Closed anirudhamajumdar closed 10 years ago

anirudhamajumdar commented 10 years ago

Had a email conversation with Russ about this. It could be that I'm not using the weldJoint function properly. But, I keep getting an error when I try to fix certain joints in a urdf and then construct a visualizer like this:

% Set up system % p = RigidBodyManipulator('SimpleHumanoid.urdf'); p = RigidBodyManipulator('AtlasModel.urdf'); v = p.constructVisualizer; p = p.weldJoint(7); p = p.compile(); v = p.constructVisualizer; p = p.weldJoint(7); p = p.compile(); v = p.constructVisualizer;

Warning: Error reloading VRML file.

In RigidBodyManipulator.RigidBodyManipulator>RigidBodyManipulator.constructVisualizer at 811 In runAtlasBalance at 26

RussTedrake commented 10 years ago

To be clear, I suspect we are not updating the wrl geometry correctly when we weld the joints. (Most of us use the botvis visualizer, not wrl).

But it's on my list to look at.

On Mar 17, 2014, at 4:55 PM, anirudhamajumdar notifications@github.com wrote:

Had a email conversation with Russ about this. It could be that I'm not using the weldJoint function properly. But, I keep getting an error when I try to fix certain joints in a urdf and then construct a visualizer like this:

% Set up system % p = RigidBodyManipulator('SimpleHumanoid.urdf'); p = RigidBodyManipulator('AtlasModel.urdf'); v = p.constructVisualizer; p = p.weldJoint(7); p = p.compile(); v = p.constructVisualizer; p = p.weldJoint(7); p = p.compile(); v = p.constructVisualizer;

Warning: Error reloading VRML file.

In RigidBodyManipulator.RigidBodyManipulator>RigidBodyManipulator.constructVisualizer at 811 In runAtlasBalance at 26

— Reply to this email directly or view it on GitHub.

RussTedrake commented 10 years ago

i believe that this is resolved now in trunk. please test it and reopen this if I'm wrong.

anirudhamajumdar commented 10 years ago

Seems to be working fine on my example.