Error while adding UR5 manipulator on Husky and ROS Kinetic, using "husky_manipulation" package [SOLVED]
[SOLVED]
I'm trying to add a UR5 manipulator on Husky, which is supported only in Indigo, and I'm using Kinetic. But, I found the package "husky_manipulation" on Github ([https://github.com/husky/husky_manipu...]) which apparently make possible to run UR5 on Kinetic. So, I'm following the tutorial in this link, and after modifying the URDF file and starting the simulation, I'm getting this error:
felipe@felipe-dq77pro:~/husky_ws$ roslaunch husky_gazebo husky_playpen_mod.launch ... logging to /home/felipe/.ros/log/4a02330c-afe3-11e9-b776-a0f3c186ea4a/roslaunch-felipe-dq77pro-12050.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
resource not found: ur_description
ROS path [0]=/opt/ros/kinetic/share/ros
ROS path [1]=/home/felipe/husky_ws/src
ROS path [2]=/opt/ros/kinetic/share None
when processing file: /home/felipe/husky_ws/src/husky_manipulation/husky_ur_description/urdf/husky_ur5_description.urdf.xacro
included from: /home/felipe/husky_ws/src/husky/husky_description/urdf/husky.urdf.xacro
while processing /home/felipe/husky_ws/src/husky/husky_gazebo/launch/spawn_husky.launch:
while processing /home/felipe/husky_ws/src/husky/husky_control/launch/control.launch:
while processing /home/felipe/husky_ws/src/husky/husky_description/launch/description.launch:
Invalid <param> tag: Cannot load command parameter [robot_description]: command [/opt/ros/kinetic/lib/xacro/xacro '/home/felipe/husky_ws/src/husky/husky_description/urdf/husky.urdf.xacro' --inorder robot_namespace:=/ laser_enabled:=false kinect_enabled:=true urdf_extras:=/home/felipe/husky_ws/src/husky/husky_description/urdf/husky.urdf.xacro ] returned with code [2].
Param xml is <param command="$(find xacro)/xacro '$(find husky_description)/urdf/husky.urdf.xacro' --inorder robot_namespace:=$(arg robot_namespace) laser_enabled:=$(arg laser_enabled) kinect_enabled:=$(arg kinect_enabled) urdf_extras:=$(arg urdf_extras) " name="robot_description"/>
The traceback for the exception was written to the log file
And my husky.urdf.xacro file after inluding the UR5 description is:
<?xml version="1.0"?>
<robot name="husky" xmlns:xacro="http://ros.org/wiki/xacro">
<xacro:arg name="laser_enabled" default="false" />
<xacro:arg name="laser_xyz" default="$(optenv HUSKY_LMS1XX_XYZ 0.2206 0.0 0.00635)" />
<xacro:arg name="laser_rpy" default="$(optenv HUSKY_LMS1XX_RPY 0.0 0.0 0.0)" />
<xacro:arg name="kinect_enabled" default="false" />
<xacro:arg name="kinect_xyz" default="$(optenv HUSKY_KINECT_XYZ 0 0 0)" />
<xacro:arg name="kinect_rpy" default="$(optenv HUSKY_KINECT_RPY 0 0.18 3.14)" />
<xacro:property name="husky_bumper_extend" value="$(optenv HUSKY_FORWARD_BUMPER_EXTEND 0)" />
<xacro:arg name="robot_namespace" default="/" />
<xacro:arg name="urdf_extras" default="empty.urdf" />
<!-- Included URDF/XACRO Files -->
<xacro:include filename="$(find husky_description)/urdf/decorations.urdf.xacro" />
<xacro:include filename="$(find husky_description)/urdf/wheel.urdf.xacro" />
<xacro:include filename="$(find husky_description)/urdf/accessories/kinect_camera.urdf.xacro"/>
<xacro:include filename="$(find husky_description)/urdf/accessories/sick_lms1xx_mount.urdf.xacro"/>
<xacro:include filename="$(find husky_description)/urdf/accessories/sensor_arch.urdf.xacro"/>
<xacro:include filename="$(find husky_ur_description)/urdf/husky_ur5_description.urdf.xacro" />
<xacro:property name="M_PI" value="3.14159"/>
<!-- Base Size -->
<xacro:property name="base_x_size" value="0.98740000" />
<xacro:property name="base_y_size" value="0.57090000" />
<xacro:property name="base_z_size" value="0 ...
Just so you know, you don't have to write
in your question or title. Having an answer marked as "correct" (with the check mark) shows that it has been solved.