resource not found: ros_robotics

asked 2022-03-16 10:33:13 -0600

kamal_nathan gravatar image

updated 2022-03-16 11:07:46 -0600

I have a ros1(Melodic) robot working well with proper URDF file. just a moment ago, i sudo apt updated my robot and now when i launch the xacro file it shows:

... logging to /home/kamal/.ros/log/b903d0ce-a53d-11ec-80a7-401c83425eaa/roslaunch-kamal-12072.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: ros_robotics
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/home/kamal/robot_ws/src
ROS path [2]=/opt/ros/melodic/share
when processing file: /home/kamal/robot_ws/src/robot-ros/urdf/robot.xacro
RLException: Invalid <param> tag: Cannot load command parameter [robot_description]: command [['/opt/ros/melodic/lib/xacro/xacro', '/home/kamal/robot_ws/src/robot-ros/urdf/robot.xacro']] returned with code [2]. 

Param xml is <param command="$(find xacro)/xacro $(find robot)/urdf/robot.xacro" name="robot_description"/>
The traceback for the exception was written to the log file
edit retag flag offensive close merge delete