env
ROS Melodic
ros-melodic-turtlebot3*
installed
run gazebo
roslaunch turtlebot3_gazebo turtlebot3_world.launch
run hector
roslaunch turtlebot3_slam turtlebot3_slam.launch slam_methods:=hector
control with teleop
roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch
Now, use keyboard control the robot.