Robot doesn't explore when used with frontier_exploration, move_base and gmapping
Hello everyone,
I am currently working on a small project to automate the motion of a robot when implementing SLAM.
Facts:
- 1. The robot platform used is Pioneer_p3dx and sensor mounted on top is Hokuyo URG 04LX UG01, in V-Rep.
- 2. The topics published are
- a.) /base_scan(sensor_msgs/LaserScan),
- b.) /tf,
- c.) /odom(nav_msgs/Odometery),
- and is subscribed to /cmd_vel.
- 3. Most of the information regarding how to use parameters of frontier_exploration, move_base I learnt from repositories on github using Husky and Turtlebot as their basis.
Problems:
- 1. When the program starts, it starts registering LaserScans and robot pose, but soon I get an error "Scan Matching error, using odometery".
- 2. After providing an exploration_boundary and an initial point, I get the visual representation of map and costmaps but robot doesn't move.
- 3. In the V-Rep terminal, I am getting an error which says "/explore_server" requires "base_scan" to have "sensor_msgs/PointCloud" data type and not "sensor_msgs/LaserScan".
I tried decreasing sim_time to 1.0 as suggested here on some other question but it doesn't work. I am guessing it is because of the limitations my laptop presents(Dual Core, 2GHz) but any help and suggestions will be appreciated. Node Graph and TF tree are attached, while screenshots of errors are attached too. Maybe someone more experienced than me that point out the possible mistakes. I will upload parameter files and launch files if need be. Thank you. link for pics: https://drive.google.com/drive/folder...
It seems like the third error message (about topic type mismatch) may be preventing the exploration node from determining obstacle positions and may therefore be preventing it from generating a plan. I don't know much else about the exploration node, so I'm not sure how to fix the issue.
Can you please add your exploration launch file and exploration costmap configuration (not move_base costmap). Also: Does your robot move when provided with a goal?
Putting errors and terminal output in screen shots makes it very difficult to get people to help you. It's much better (and actually the recommended way) to copy and paste this information into your question. http://wiki.ros.org/Support#Do