Problem Description: When using rtabmap for mapping, the map produced greatly differs from the map in Gazebo.
Environment: ROS Noetic
Model: PX4 iris_with_depth_camera
Purpose: I hope to perform vSLAM.
What I did?
I used the keyboard to control the drone to fly around the map in Gazebo.
Then, I used the command rosrun map_server map_saver -f warehouse_map_4.yaml map:=/rtabmap/octomap_grid to save the map that was created.
I have tried several times. The maps created by rtabmap are always like this.
Problem Description: When using rtabmap for mapping, the map produced greatly differs from the map in Gazebo. Environment: ROS Noetic Model: PX4 iris_with_depth_camera Purpose: I hope to perform vSLAM.
What I did? I used the keyboard to control the drone to fly around the map in Gazebo. Then, I used the command
rosrun map_server map_saver -f warehouse_map_4.yaml map:=/rtabmap/octomap_grid
to save the map that was created.I have tried several times. The maps created by rtabmap are always like this.
Here is my rtabmap_mapping.launch file