-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
50 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
spires_cpp/include/spires_cpp/octomap/get_occ_free_from_bt.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#include <chrono> | ||
#include <fstream> | ||
#include <iostream> | ||
#include <octomap/OcTree.h> | ||
#include <octomap/octomap.h> | ||
#include <pcl/io/pcd_io.h> | ||
#include <pcl/point_types.h> | ||
|
||
#include "progress_bar.h" | ||
|
||
void convertOctreeToPointCloud(const std::string bt_file_path, const std::string free_pcd_path, | ||
const std::string occupied_pcd_path); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
from __future__ import annotations | ||
|
||
from ._core import OcTree, __doc__, __version__, processPCDFolder, removeUnknownPoints | ||
from ._core import ( | ||
OcTree, | ||
__doc__, | ||
__version__, | ||
convertOctreeToPointCloud, | ||
processPCDFolder, | ||
removeUnknownPoints, | ||
) | ||
|
||
__all__ = [ | ||
"__doc__", | ||
"__version__", | ||
"processPCDFolder", | ||
"removeUnknownPoints", | ||
"OcTree", | ||
"convertOctreeToPointCloud", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters