Hi, I just got a lidar (ydlidar x4), and would like to use it to map (just holding the lidar and raspberry pi myself and walk around the room without odometry)..I'm very new to ROS. I have read quite a lot posts...but still could fix the errors..
The lidar is connected to raspberry pi 3, and the scanning data is successfully shown in rviz. But as I tried with hector
_slam, I got an error:
[ INFO] [1539142958.281154496]: lookupTransform base_link to laser_frame timed out. Could not transform laser scan into base_frame.
[ WARN] [1539142958.855603123]: No transform between frames /map and /base_link available after 20.009138 seconds of waiting. This warning only prints once.
To start with hector_slam, I roslaunch the all_node.launch file (from another tutorial) below:
While for the mapping default.launch:
For your information, here's my tf tree:

Please, anyone knows how to solve this?
=========================================================
After changing the all_nodes.launch file:

↧