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