mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Tango: fixed bundle adjustment poses not used for export
This commit is contained in:
@@ -1962,9 +1962,7 @@ bool RTABMapApp::exportMesh(
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
std::map<int, rtabmap::Transform> poses;
|
std::map<int, rtabmap::Transform> poses = rtabmap_->getLocalOptimizedPoses();
|
||||||
std::multimap<int, rtabmap::Link> links;
|
|
||||||
rtabmap_->getGraph(poses, links, true, true);
|
|
||||||
|
|
||||||
int totalSteps = 0;
|
int totalSteps = 0;
|
||||||
totalSteps+=poses.size(); // assemble
|
totalSteps+=poses.size(); // assemble
|
||||||
|
|||||||
Reference in New Issue
Block a user