Browse Source

在启动hector mapping之前启动lidar

corvin 5 years ago
parent
commit
dfb74374fe
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/robot_navigation/launch/hector_mapping.launch

+ 1 - 0
src/robot_navigation/launch/hector_mapping.launch

@@ -15,6 +15,7 @@
   <arg name="map_topic"  default="/hector_map" />
   <arg name="map_size"   default="512" />
 
+  <include file="$(find ydlidar)/launch/lidar.launch">
 
   <node pkg="hector_mapping" type="hector_mapping" name="stdr_hector_mapping" output="screen">
     <remap from="map"  to="$(arg map_topic)"  />