Require help mapping using TurtleBot 2 and an RP-LiDAR A2
Hello,
I am currently working on my first project with ROS. I have a TurtleBot 2 as well as an RP-LiDAR A2, and would like to start mapping with the LiDAR using gmapping (though I plan to switch to Google Cartographer later on). However, I am having some trouble accomplishing that.
The RP-LiDAR and the ROS driver (https://github.com/robopeak/rplidar_ros/) seem to be working and posting sensor data to the "/scan" topic. When I attempt to start mapping, however, rviz shows the error (Fixed Frame [laser] does not exist
). I read that I have to modify the robots urdf-file, however I have no idea how to even begin to attempt this, even after reading the ROS tutorial on URDF files and how to add a Hokuyo laser to the TurtleBot, but neither have really helped me understand what I need to do enough to allow me to fix this problem on my on.
I am quite new to ROS, and am in dire need of any hints/tips that might help me.
I am using ROS Kinetic on Ubuntu 16.04 LTS. If you require any additional information, please comment below and I will try my best to add it.
Thank you,
-Quentin Oschatz