问题描述
- 使用Kinect + RTABMap进行SLAM, 但是RTAB-MAP导出的pose时间上过于稀疏
- 于是希望能够增加导出的pose在时间上的采样频率
解决
- 应该能够通过RTAB-MAP的参数设置解决,但试了好几个都不对
- 最后按照下文描述解决 (https://github.com/introlab/rtabmap_ros/issues/389#issuecomment-615473739)
- 需要同时修改两个参数
If you want to save all frames processed at the framerate of the odometry, set Rtabmap/DetectionRate to 0. Even doing so, all images will be saved to database but not all in the graph. To get them all in the graph, set RGBD/LinearUpdate to 0. If we don’t move, the graph will still be growing.
结果
- 可见密度大幅增加