ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

problem with hector_slam

asked 2016-01-28 13:23:54 -0600

David John gravatar image

updated 2016-02-16 04:06:45 -0600

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>

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-02-14 12:58:52 -0600

duck-development gravatar image
edit flag offensive delete link more

Comments

i did it like that........stilll getting the same error.......edited question adding my launch file.

David John gravatar image David John  ( 2016-02-16 03:10:09 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2016-01-28 13:23:54 -0600

Seen: 246 times

Last updated: Feb 16 '16