ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
<node name="spawn_husky_model" pkg="gazebo_ros" type="spawn_model" args="$(optenv ROBOT_INITIAL_POSE) -unpause -urdf -param robot_description -model mobile_base -robot_namespace husky_ns "/>
2 | No.2 Revision |
I solve it. For pkg = gazebo in the argument we add -gazebo_namespace while in pkg=gazebo_ros we write -robot_namespace as follows:
<node name="spawn_husky_model" pkg="gazebo_ros" type="spawn_model" args="$(optenv ROBOT_INITIAL_POSE) -unpause -urdf -param robot_description -model mobile_base -robot_namespace husky_ns "/>
3 | No.3 Revision |
I solve it. For pkg =
gazebo gazebo in the argument we add -gazebo_namespace -gazebo_namespace
while in pkg=gazebo_ros pkg=gazebo_ros
we write -robot_namespace -robot_namespace
as follows:
<node name="spawn_husky_model" pkg="gazebo_ros" type="spawn_model" args="$(optenv ROBOT_INITIAL_POSE) -unpause -urdf -param robot_description -model mobile_base -robot_namespace husky_ns