Odometry: changed isF2M() and isF2F() by getType() (following pull request https://github.com/introlab/rtabmap/pull/102)

This commit is contained in:
matlabbe
2016-08-01 15:26:35 -04:00
parent c0cc57d1d8
commit c25c1db3da
4 changed files with 5 additions and 6 deletions

View File

@@ -61,7 +61,7 @@ Odometry * Odometry::create(Odometry::Type & type, const ParametersMap & paramet
break;
default:
odometry = new OdometryF2M(parameters);
type = Odometry::kTypeLocalMap;
type = Odometry::kTypeF2M;
break;
}
return odometry;