xacro problem: Invalid <param> tag: Cannot load command parameter [robot_description]

asked 2020-07-02 09:39:01 -0600

impaidk gravatar image

updated 2020-08-03 08:41:40 -0600

when I try to launch the roslaunch rbkairos_sim_bringup rbkairos_complete.launch` file, it gives me this error.

resource not found: ur_description
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/home/impaidk/work_ws/src/abb_experimental/abb_experimental
ROS path [2]=/home/impaidk/work_ws/src/abb_experimental/abb_irb1200_5_90_moveit_config
ROS path [3]=/home/impaidk/work_ws/src/abb_experimental/abb_irb1200_7_70_moveit_config
...
ROS path [149]=/home/impaidk/catkin_ws/src/mavros/test_mavros
ROS path [150]=/opt/ros/melodic/share
when processing file: /home/impaidk/work_ws/src/rbkairos_common/rbkairos_description/robots/versions/rbkairos_ur5_egh.urdf.xacro
RLException: while processing /home/impaidk/work_ws/src/rbkairos_sim/rbkairos_gazebo/launch/rbkairos_gazebo.launch:
while processing /home/impaidk/work_ws/src/rbkairos_sim/rbkairos_gazebo/launch/rbkairos_one_robot.launch:
Invalid <param> tag: Cannot load command parameter [robot_description]: command [/opt/ros/melodic/share/xacro/xacro.py '/home/impaidk/work_ws/src/rbkairos_common/rbkairos_description/robots/versions/rbkairos_ur5_egh.urdf.xacro' prefix:=robot_ ros_planar_move_plugin:=true load_kinematics_file:=false ] returned with code [2]. 

Param xml is <param command="$(find xacro)/xacro.py '$(find rbkairos_description)/robots/$(arg xacro_robot)' prefix:=$(arg prefix) ros_planar_move_plugin:=$(arg ros_planar_move_plugin) load_kinematics_file:=$(arg load_arm_kinematics_file) " name="robot_description"/>
The traceback for the exception was written to the log file

According to another similar question raised by a user https://answers.ros.org/question/1220...

I tried this command rosrun xacro xacro.py /home/impaidk/catkin_ws/src/rbkairos_common/rbkairos_description/robots/versions/rbkairos_ur5_egh.urdf.xacro to check if there are any problem in the xacro but i get this result.

resource not found: ur_description ROS path [0]=/opt/ros/melodic/share/ros ROS path [1]=/home/impaidk/catkin_ws/src/abb_experimental/abb_experimental ROS path [2]=/home/impaidk/catkin_ws/src/abb_experimental/abb_irb1200_5_90_moveit_config ROS path [3]=/home/impaidk/catkin_ws/src/abb_experimental/abb_irb1200_7_70_moveit_config ROS path [4]=/home/impaidk/catkin_ws/src/abb_experimental/abb_irb1200_gazebo ROS path [5]=/home/impaidk/catkin_ws/src/abb_experimental/abb_irb1200_support ROS path [6]=/home/impaidk/catkin_ws/src/abb_experimental/abb_irb120_gazebo ROS path [7]=/home/impaidk/catkin_ws/src/abb_experimental/abb_irb120_moveit_config ROS path [8]=/home/impaidk/catkin_ws/src/abb_experimental/abb_irb120_support ROS path [9]=/home/impaidk/catkin_ws/src/abb_experimental/abb_irb120t_moveit_config ROS path [10]=/home/impaidk/catkin_ws/src/abb_experimental/abb_irb1600_6_12_moveit_config ROS path [11]=/home/impaidk/catkin_ws/src/abb_experimental/abb_irb1600_support ROS path [12]=/home/impaidk/catkin_ws/src/abb_experimental/abb_irb2600_support ROS path [13]=/home/impaidk/catkin_ws/src/abb_experimental/abb_irb4600_support ROS path [14]=/home/impaidk/catkin_ws/src/abb_experimental/abb_irb52_support ROS path [15]=/home/impaidk/catkin_ws/src/abb_experimental/abb_irb6650s_support ROS path [16]=/home/impaidk/catkin_ws/src/abb_experimental/abb_irb6700_support ROS path [17]=/home/impaidk/catkin_ws/src/abb_experimental/abb_irb7600_support ROS path [18]=/home/impaidk/catkin_ws/src/geometry2/geometry2 ROS path [19]=/home/impaidk/catkin_ws/src/goethe_backyard ROS path [20]=/home/impaidk/catkin_ws/src/hector_localization/hector_localization ROS path [21]=/home/impaidk/catkin_ws/src/hector_localization/hector_pose_estimation_core ROS path [22]=/home/impaidk/catkin_ws/src/hector_localization/hector_pose_estimation ROS path [23]=/home/impaidk/catkin_ws/src/hector_quadrotor/hector_quadrotor ROS path [24]=/home/impaidk/catkin_ws/src/hector_quadrotor/hector_quadrotor_demo ROS path [25]=/home/impaidk/catkin_ws/src/hector_quadrotor/hector_quadrotor_description ROS path [26]=/home/impaidk/catkin_ws/src/hector_quadrotor/hector_uav_msgs ROS path [27]=/home/impaidk/catkin_ws/src/hector_quadrotor/hector_quadrotor_model ROS path [28]=/home/impaidk/catkin_ws/src/hector_quadrotor/hector_quadrotor_gazebo_plugins ROS path [29]=/home/impaidk/catkin_ws ... (more)

edit retag flag offensive close merge delete

Comments

What is your question exactly?

From your description it appears you did not follow the regular procedure for building and using packages you cloned from repositories (such as #q252478).

The readme in RobotnikAutomation/rbkairos_sim (this one) seems to contain the correct instructions.

gvdhoorn gravatar image gvdhoorn  ( 2020-07-02 09:57:05 -0600 )edit

I actually wasn't sure if I had followed the regular procedure, so cloned the packages again and build it again according to the regular procedure. I still get the same error.

https://github.com/RobotnikAutomation... I want to run the bringup as mentioned on this page

impaidk gravatar image impaidk  ( 2020-07-28 03:24:29 -0600 )edit

If you've followed the readme from the RobotnikAutomation repository, I would suggest to ask them.

gvdhoorn gravatar image gvdhoorn  ( 2020-07-28 03:26:22 -0600 )edit

ok i'll try asking them

impaidk gravatar image impaidk  ( 2020-07-29 03:22:38 -0600 )edit