Using Hector SLAM without odometry data on a ROS system with the RPLidar A1.
source /devel/setup.bash
chmod 666 /dev/ttyUSB0
or the serial path to your lidarroslaunch rplidar_ros rplidar.launch
roslaunch hector_slam_launch tutorial.launch
RPLidar
Hector_SLAM
Fixing launch files (only needed if you are using the original hector slam repository)
catkin_ws/src/rplidar_hector_slam/hector_slam/hector_mapping/launch/mapping_default.launch
<node pkg="tf" type="static_transform_publisher" name="base_to_laser_broadcaster" args="0 0 0 0 0 0 base_link laser 100" />
<arg name="base_frame" default="base_link"/>
<arg name="odom_frame" default="base_link"/>
catkin_ws/src/rplidar_hector_slam/hector_slam/hector_slam_launch/launch/tutorial.launch
<param name="/use_sim_time" value="false"/>