mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Tango: fixed build
This commit is contained in:
@@ -208,10 +208,6 @@ RTABMapApp::~RTABMapApp() {
|
|||||||
{
|
{
|
||||||
delete logHandler_;
|
delete logHandler_;
|
||||||
}
|
}
|
||||||
if(optRefPose_)
|
|
||||||
{
|
|
||||||
delete optRefPose_;
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
boost::mutex::scoped_lock lock(rtabmapMutex_);
|
boost::mutex::scoped_lock lock(rtabmapMutex_);
|
||||||
if(rtabmapEvents_.size())
|
if(rtabmapEvents_.size())
|
||||||
@@ -2940,10 +2936,9 @@ bool RTABMapApp::writeExportedMesh(const std::string & directory, const std::str
|
|||||||
std::vector<std::vector<Eigen::Vector2f> > texCoords;
|
std::vector<std::vector<Eigen::Vector2f> > texCoords;
|
||||||
#endif
|
#endif
|
||||||
cv::Mat textures;
|
cv::Mat textures;
|
||||||
std::map<int, rtabmap::Transform> optPoses;
|
|
||||||
if(rtabmap_ && rtabmap_->getMemory())
|
if(rtabmap_ && rtabmap_->getMemory())
|
||||||
{
|
{
|
||||||
cloudMat = rtabmap_->getMemory()->loadOptimizedMesh(&optPoses, &polygons, &texCoords, &textures);
|
cloudMat = rtabmap_->getMemory()->loadOptimizedMesh(&polygons, &texCoords, &textures);
|
||||||
if(!cloudMat.empty())
|
if(!cloudMat.empty())
|
||||||
{
|
{
|
||||||
LOGI("writeExportedMesh: Found optimized mesh!");
|
LOGI("writeExportedMesh: Found optimized mesh!");
|
||||||
|
|||||||
Reference in New Issue
Block a user