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

Is rplidar enough to use gmapping?

$
0
0
Hello, I am new to ROS. Excuse me if this question sounds trivial. I am using rplidar A1 to create a map of the environment using gmapping. I have recorded the laserscan in /scan topic into a bag file using the rplidar_ros package. The required topics for gmapping are mentioned as /scan and /tf. I have also created the tf tree using the static_transform_publisher. The tf tree follows this order. odom->base_footprint->base_link->base_laser. I have nothing set up with the rplidar. I know that the map->odom transform is created by the slam_gmapping node itself. I can also view the laser points in rviz when i run the command roslaunch rplidar_ros view_rplidar.launch Here is my launch file that i am using to generate the transforms. My odometry_publisher node publishes no data for now as i dont have wheel encoders but it has a transform broadcaster for odom->base_footprint. Could someone please tell me if need any other data such as odometry or imu messages for gmapping to work or if i am missing something from the steps that i did. Thank you.

Viewing all articles
Browse latest Browse all 601

Trending Articles



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