Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 120

How to map with hector_mapping and just a Lidar

$
0
0
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: ![image description](/upfiles/15391553846601528.png) Please, anyone knows how to solve this? ========================================================= After changing the all_nodes.launch file: ![image description](/upfiles/15391589771077997.jpg)

Viewing all articles
Browse latest Browse all 120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>