problem with hector_slam
Hi all,I am using ROS INDIGO.I used hector_slam to build a 2D map from kinect data.Laser scan data is published on the topic /scan.I used the command roslaunch hector_slam_launch tutorial.launch
and getting "[ WARN] [1453709644.419967908]: No transform between frames /map and scanmatcher_frame available after 20.001889 seconds of waiting. This warning only". Please help me for solving this problem.
This is my launch file hector.launch
<launch>
<arg name="geotiff_map_file_path" default="$(find hector_geotiff)/maps"/>
<arg name="base_frame" default="base_link"/> <arg name="odom_frame" default="nav"/>
<node pkg="tf" type="static_transform_publisher" name="base_to_laser_broadcaster" args="0 0 0 0 0 0 base_link laser 100"/>
<node pkg="rviz" type="rviz" name="rviz" args="-d $(find hector_slam_launch)/rviz_cfg/mapping_demo.rviz"/>
<include file="$(find hector_mapping)/launch/mapping_default.launch"/>
<include file="$(find hector_geotiff)/launch/geotiff_mapper.launch"> <arg name="trajectory_source_frame_name" value="scanmatcher_frame"/> <arg name="map_file_path" value="$(arg geotiff_map_file_path)"/> </include>
</launch>