Deprecated getClosestTransform(), use getTransform() instead. OdometryF2M: removed patch about forcing roll/pitch from IMU (BA is already doing the job).

This commit is contained in:
matlabbe
2019-09-15 17:31:58 -04:00
parent 350d3cd85f
commit b2b1977f8b
3 changed files with 50 additions and 21 deletions

View File

@@ -150,10 +150,13 @@ public:
static Transform fromString(const std::string & string);
static bool canParseString(const std::string & string);
static Transform getClosestTransform(
static Transform getTransform(
const std::map<double, Transform> & tfBuffer,
const double & stamp);
RTABMAP_DEPRECATED(static Transform getClosestTransform(
const std::map<double, Transform> & tfBuffer,
const double & stamp,
double * stampDiff = 0);
double * stampDiff), "Use Transform::getTransform() instead to get always accurate transforms.");
private:
cv::Mat data_;