merged master to imu_feature

This commit is contained in:
matlabbe
2019-05-31 15:39:49 -04:00
5 changed files with 22 additions and 18 deletions
+1 -1
View File
@@ -4263,7 +4263,7 @@ void Rtabmap::get3DMap(
signatures.at(*iter).setWords(words);
signatures.at(*iter).setWords3(words3);
signatures.at(*iter).setWordsDescriptors(wordsDescriptors);
if(!velocity.empty())
if(velocity.size()==6)
{
signatures.at(*iter).setVelocity(velocity[0], velocity[1], velocity[2], velocity[3], velocity[4], velocity[5]);
}