Skip to content

Issues with Melodic ROS/Gazebo #4

@randomCoderz

Description

@randomCoderz

I get the following error when using this project with ROS Melodic

Deprecated: xacro tag 'sick_lms1xx_mount' w/o 'xacro:' xml namespace prefix (will be forbidden in Noetic)
when processing file: /opt/ros/melodic/share/husky_description/urdf/husky.urdf.xacro
Use the following command to fix incorrect tag usage:
find . -iname "*.xacro" | xargs sed -i 's#<([/]?)(if|unless|include|arg|property|macro|insert_block)#<\1xacro:\2#g'

Maximum recursion depth exceeded
when processing file: /opt/ros/melodic/share/husky_description/urdf/decorations.urdf.xacro
included from: /opt/ros/melodic/share/husky_description/urdf/husky.urdf.xacro

RLException: while processing /opt/ros/melodic/share/husky_gazebo/launch/spawn_husky.launch:
while processing /opt/ros/melodic/share/husky_control/launch/control.launch:
while processing /opt/ros/melodic/share/husky_description/launch/description.launch:
Invalid tag: Cannot load command parameter [robot_description]: command [['/opt/ros/melodic/lib/xacro/xacro', '/opt/ros/melodic/share/husky_description/urdf/husky.urdf.xacro', 'robot_namespace:=/', 'laser_enabled:=true', 'realsense_enabled:=false', 'urdf_extras:=/home//ros/src/CATE-ROS-Project/husky_customization/husky_custom_description/urdf/custom_description.urdf.xacro']] returned with code [2].

I solved this issue removing these two lines from the following file:
custom_description.urdf.xacro

<xacro:include filename="$(find husky_description)/urdf/husky.urdf.xacro" /> <xacro:husky_robot />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions