Template Function voxblox::io::SaveLayer

Function Documentation

template <typename VoxelType>
bool voxblox::io::SaveLayer(const Layer<VoxelType> &layer, const std::string &file_path, bool clear_file = true)

By default, clears (truncates) the output file.

Set clear_file to false in case writing the second (or subsequent) layer into the same file.