openrr / urdf-viz

visualize URDF/XACRO file, URDF Viewer works on Windows/MacOS/Linux
Apache License 2.0
427 stars 55 forks source link

run ROS urdf example but different visualization result #256

Closed Jackiezhou233 closed 1 month ago

Jackiezhou233 commented 3 months ago

I run the following example using roslaunch urdf_tutorial display.launch model:=urdf/04-materials.urdf https://wiki.ros.org/urdf/Tutorials/Building%20a%20Visual%20Robot%20Model%20with%20URDF%20from%20Scratch#Origins the visualization is: image But when I use the same urdf file through urdf-viz, it turn out to be: image

the urdf file is : image

Why?? the tf transform problem?

taiki-e commented 1 month ago

This is due to one of the regressions introduced in urdf-rs 0.7 (https://github.com/openrr/urdf-rs/pull/64) that the default value was accidentally changed.

I confirmed that this will be fixed by https://github.com/openrr/urdf-rs/pull/107.

s
taiki-e commented 1 month ago

Fixed in 0.46.0.