Advertisement
Guest User

launchfile

a guest
Nov 14th, 2018
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.40 KB | None | 0 0
  1. <?xml version="1.0"?>
  2.  
  3. <launch>
  4.  
  5.   <node pkg="tf" type="static_transform_publisher" name="lidar_broadcaster" args="0.11 0 0.08 3.14 0 0 base_footprint laser 100" />
  6.   <node pkg="tf" type="static_transform_publisher" name="odom_to_base_link" args="0 0 0 0 0 0 odom base_footprint 100" />
  7.  
  8.   <node name="rplidarNode" pkg="rplidar_ros" type="rplidarNode">
  9.     <param name="serial_port" value="/dev/lidar" type="str"/>
  10.     <param name="serial_baudrate" value="115200" type="int"/>
  11.     <param name="frame_id" value="laser" type="str"/>
  12.     <param name="inverted" value="false" type="bool"/>
  13.     <param name="angle_compensate" value="true" type="bool"/>
  14.   </node>
  15.  
  16.   <arg name="config" default="$(find ca_driver)/config/default.yaml"/>
  17.  
  18.   <node name="ca_driverNode" pkg="ca_driver" type="ca_driver">
  19.     <rosparam command="load" file="$(arg config)"/>
  20.     <param name="robot_model" value="CREATE_2"/>
  21.   </node>
  22.  
  23.   <node pkg="create_tf" type="lidar_tf_broadcaster.py" name="lidar_tf_broadcaster" respawn="false" />
  24.  
  25.  
  26.   <node pkg="rviz" type="rviz" name="rviz"/>
  27.  
  28.   <node pkg="gmapping" type="slam_gmapping" name="gmapping">
  29.     <param name="use_sim_time" value="false"/>
  30.     <param name="base_frame" value="base_footprint"/>
  31.     <param name="odom_frame" value="odom" />
  32.     <remap from="scan" to="rplidar_scan" />
  33.     <param name="map_update_interval" value="2.0"/>
  34.     <param name="iterations" value="3"/>
  35.     <param name="maxUrange" value="10.0"/>
  36.     <param name="temporalUpdate" value="2"/>
  37.     <param name="map_frame" value="map"/>
  38.     <param name="delta" value="0.05" />
  39.   </node>
  40.  
  41. <node pkg="move_base" type="move_base" respawn="false" name="create2_move_base">
  42.     <rosparam file="$(find move_nav)/config_navStack/costmap_common.yaml" command="load" ns="global_costmap"/>
  43.     <rosparam file="$(find move_nav)/config_navStack/costmap_common.yaml" command="load" ns="local_costmap"/>
  44.     <rosparam file="$(find move_nav)/config_navStack/costmap_global.yaml" command="load"/>
  45.     <rosparam file="$(find move_nav)/config_navStack/costmap_local.yaml" command="load"/>
  46.  
  47.     <rosparam file="$(find move_nav)/config_navStack/local_planner_param.yaml" command="load"/>
  48.     <param name="base_global_planner" type="string" value="carrot_planner/CarrotPlanner"/>
  49.     <param name="controller_frequency" type="double" value="20.0"/>
  50.     <param name="planner_frequency" type="double" value="10.0"/>
  51. </node>
  52.  
  53. </launch>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement