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

Revision history [back]

click to hide/show revision 1
initial version

(edit)

Actually just delete the line from your xacro, as far as I can tell it is a launch parameter for Gazebo. So it shouldn't be in your robot description at all.


In mybot.xacro change the line

<xacro:arg name="gui" value="true"/>

to

<xacro:arg name="gui" default="true"/>

It is somewhat explained in the ros wiki for xacros in point 6:

http://wiki.ros.org/xacro?distro=kinetic#Rospack_commands

(edit)

Actually just delete the line from your xacro, as line:

<xacro:arg name="gui" value="true"/>

As far as I can tell it is a launch parameter for Gazebo. So it shouldn't be in your robot description at all.


In mybot.xacro change the line

<xacro:arg name="gui" value="true"/>

to

<xacro:arg name="gui" default="true"/>

It is somewhat explained in the ros wiki for xacros in point 6:

http://wiki.ros.org/xacro?distro=kinetic#Rospack_commands

(edit)

Actually just delete the line:

<xacro:arg name="gui" value="true"/>

As far as I can tell it is a launch parameter for Gazebo. So it shouldn't be in your robot description at all.


(original answer)

In mybot.xacro change the line

<xacro:arg name="gui" value="true"/>

to

<xacro:arg name="gui" default="true"/>

It is somewhat explained in the ros wiki for xacros in point 6:

http://wiki.ros.org/xacro?distro=kinetic#Rospack_commands