Advertisement
jakb2403

turtlebot3_burger_d435_gazebo_only.launch

Jul 27th, 2021 (edited)
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.31 KB | None | 0 0
  1. <launch>
  2.   <!-- roslaunch turtlebot3_description turtlebot3_burger_d435_urdf_visualize.launch model:='$(find turtlebot3_description)/urdf/turtlebot3_burger_d435.urdf.xacro' -->
  3.   <!-- arguments for the urdf xacro file, rviz visualization and namespace -->
  4.   <arg name="model" default="$(find turtlebot3_description)/urdf/turtlebot3_burger_d435.urdf.xacro"/>
  5.   <param name="robot_description" command="$(find xacro)/xacro --inorder $(arg model) use_nominal_extrinsics:=true add_plug:=true" />
  6.   <node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher">
  7.     <param name="use_gui" value="TRUE"/>
  8.   </node>
  9.    
  10.     <node pkg="robot_state_publisher" type="robot_state_publisher"  name="robot_state_publisher">
  11.       <param name="publish_frequency" type="double" value="30.0" />
  12.     </node>
  13.  
  14.     <!-- this will include the launch file for gazebo given the model -->  
  15.     <include file="$(find turtlebot3_description)/launch/gazebo.launch">
  16.       <arg name="model" value="$(arg model)" />
  17.       <arg name="x" value="0.0" />
  18.       <arg name="y" value="0.0" />
  19.       <arg name="z" value="0.2" />
  20.     </include>
  21.  
  22.     <!-- this will include the launch file for gazebo given the model -->  
  23.     <arg name="gui" default="True" />
  24.     <param name="use_gui" value="$(arg gui)" />
  25. </launch>
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement