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

The following package was not found in...

asked 2021-08-12 03:11:06 -0500

shanry gravatar image

updated 2021-08-13 02:47:57 -0500

gvdhoorn gravatar image

plain dump of the error message:

 yan@yan:~/catkin_ws/src$ roslaunch dashgo_description dashgo_description.launch
... logging to /home/yan/.ros/log/4727ce58-fb40-11eb-8546-2f5a26d182fd/roslaunch-yan-48800.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

Resource not found: The following package was not found in <arg name="urdf_file" default="$(find xacro)/xacro.py $(find dashgo_description)/urdf/dashgobase/dashgobase.xacro"/>: xacro
ROS path [0]=/opt/ros/noetic/share/ros
ROS path [1]=/home/yan/dashgo_ws/src
ROS path [2]=/home/yan/catkin_ws/src
ROS path [3]=/opt/ros/noetic/share
The traceback for the exception was written to the log file
edit retag flag offensive close merge delete

Comments

  1. Can you please! confirm that you have dashgo_description/urdf/dashgobase/dashgobase.xacro following file at this path.
  2. Did you build and source it before running the program?
Ranjit Kathiriya gravatar image Ranjit Kathiriya  ( 2021-08-12 10:23:49 -0500 )edit

Are you sure you have the ros package that is for noetic? You may run into many weird issues if this package is actually intended for an earlier version of ros.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-08-12 16:18:03 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-08-12 16:05:24 -0500

Mike Scheutzow gravatar image

I think the problem may be the $(find xacro)/xacro.py, because xacro.py has changed to just xacro in noetic. You need to edit your launch file to remove the .py filename extension from that line.

edit flag offensive delete link more

Comments

It's likely xacro itself isn't installed. I'm also not sure default will run xacro. But it would depend on what the rest of the .launch file does.


Edit: this can work.

gvdhoorn gravatar image gvdhoorn  ( 2021-08-13 02:48:33 -0500 )edit

Question Tools

Stats

Asked: 2021-08-12 03:11:06 -0500

Seen: 1,143 times

Last updated: Aug 13 '21