Hector SLAM map does not update based on robot motion
Hi, I am having trouble with Hector SLAM using a car with LIDAR and no odometry frame. I started with a recorded bag file that has Velodyne LIDAR data and used rosrun pointcloud_to_laserscan pointcloud_to_laserscan_node to convert from pointcloud2 format to scan format. Now I am trying to run Hector SLAM, without using odometry frame. I am following the information on this page http://wiki.ros.org/hector_slam/Tutor... , part 2, “Use without odom frame.”
I am able to generate a map, but the map just expands radially from the center. My car is definitely driving, but the map looks like the car is sitting in the same spot.
I suspect that there is something wrong with the transformations between the car and the earth. I tried using tf_echo to look at the transform between the robot and the earth, but the values there don’t seem to make sense and the transform seems to always be the same, because the car isn’t always driving at a constant speed.
Here is the launch file: https://drive.google.com/file/d/19eka...
Here is the bag file: https://drive.google.com/file/d/1RInf...
Here is a picture of the tf tree: https://drive.google.com/file/d/1nZma...
Here is the corresponding camera image video: https://drive.google.com/file/d/1e89P...
Here is the current map in rviz: https://drive.google.com/file/d/1zbHZ...
I am using ROS Kinetic with Ubuntu 16.04 dual-booted on a Dell Inspiron computer.
What am I doing wrong that makes the map appear to not move?