ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Mesh not being seen by RViz

asked 2022-07-25 15:52:02 -0500

ProSerb gravatar image

Hi everyone,

I'm trying to import a simple car wheel 'dae' file although when I launch it, nothing appears on RViz, and in my terminal I get the FileNotFoundException error. I'm following this convention "package://packagename/path," which I found from http://wiki.ros.org/urdf/XML/link. Not sure what file path I should put down for it to find it.

I get the following error when I run this:

Any suggestions would be much appreciated!

<?xml version="1.0"?>
<robot name="agile_bot" xmlns:xacro="http://ros.org/wiki/xacro">
  <link name="base_link">
    <visual>
      <geometry>
        <mesh filename="package://agile_bot/meshes/Sport_tire_245_40.dae" scale="1 1 1"/>
      </geometry>
    </visual>
  </link>
</robot>
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-12-04 15:02:44 -0500

Andromeda gravatar image

Probably, you forgot to edit the setup.py file in order to install the mesh files in the install directory of the package. If you use package for finding the mesh file, then ROS look inside the install directory and not in the source (src) directory, where you store your code.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-07-25 15:50:15 -0500

Seen: 369 times

Last updated: Dec 04 '22