CCNYRoboticsLab / ccny_rgbd_tools

ccny_rgbd_tools
GNU Lesser General Public License v3.0
125 stars 76 forks source link

Keyframe_mapper: dont build point clouds unless needed, to save memory #9

Closed ccny-ros-pkg closed 11 years ago

ccny-ros-pkg commented 11 years ago

Done. The mapper now stores images in memory only. This should reduce memory requirements considerably. The tradeoff is that whenever a cloud is required (for publishing to rviz, or for building a global map) it needs to be constructed on the fly. Constructing a point cloud is a relatively fast operation so it should be an acceptable tradeoff.

Also disabled saving pointclouds to disk when you request saving keyframes. Only images are saved.