Open Tiryoh opened 1 year ago
That's exactly the same issue I mentioned in a Discord a while ago. :)
@sskorol Thanks again for sharing all the information! I have looked into it and it seems to work for both Gazebo and RViz if converted to SDF, but I don't know how far it will go with Champ. I don't think I can solve this problem right away, so I decided to create an Issue and deal with it later.
Reproduction steps
ros2 launch mini_pupper_bringup bringup.launch
on Raspberry Pi/robot_description
topicActual results
RViz2 shows "Could not load mesh resource 'file:///home/ubuntu/..." when the path to the mesh file is written as
file://$(find package_name)/meshes/base_link.stl
in URDF.Expected results
RViz2 can show RobotModel
Version
Mini Pupper
Relevant log output
RViz2 + Mesh file path written
file://$(find package_name)/meshes/base_link.stl
: OK only if bringup launch and RViz2 are launched on the same PC Gazebo + Mesh file path writtenfile://$(find package_name)/meshes/base_link.stl
: OK RViz2 + Mesh file path writtenpackage://package_name/meshes/base_link.stl
: OK Gazebo + Mesh file path writtenpackage://package_name/meshes/base_link.stl
: Errorreference
Code of Conduct