0
$\begingroup$

Rosanswers logo

launch file:

<launch>

  <arg
  name="model" 
  default="$(find kct_robot)/urdf/kct_robot.xacro"
  />

 
    <arg name="world"
         default="$(find gazebo_plugins)/test2/worlds/empty.world"/>
<include file="$(find gazebo_ros)/launch/launch/gazebo_empty_world.launch">
        
    </include>
    
<param name="robot_description" command="$(find xacro)/xacro --inorder $(arg model)" />

 <node
    name="joint_state_publisher"
    pkg="joint_state_publisher"
    type="joint_state_publisher" />
  <node
    name="robot_state_publisher"
    pkg="robot_state_publisher"
    type="state_publisher" />

  <node
    name="spawn_model"
    pkg="gazebo_ros"
    type="spawn_model"
    args="-x 1.3644922
      -y 3.0975677
      -z 0.0
      -R 0.0
      -P 0.0
       -Y -3.14
 -urdf  
    
  -param robot_description -model robot_base"
    
    output="screen" />

</launch>

Originally posted by TVJ on ROS Answers with karma: 1 on 2020-02-21

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

try:

Your File has .../launch/launch/... in it, doesnt seem normal to me.


Originally posted by Dragonslayer with karma: 574 on 2020-02-22

This answer was ACCEPTED on the original site

Post score: 0


Original comments

Comment by TVJ on 2020-02-24:
Thank you. I solved the problem

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.