Avoid internal warnings with GTSAM_ALLOW_DEPRECATED_SINCE_V42 ON

release/4.3a0
Frank Dellaert 2022-01-04 10:44:31 -05:00
parent 40e3b0ff0d
commit 7f87a4c722
1 changed files with 2 additions and 2 deletions

View File

@ -142,10 +142,10 @@ public:
return q - (*this);
}
Vector6 GTSAM_DEPRECATED localCoordinates(const ConstantBias& q) {
return between(q).vector();
return (q - (*this)).vector();
}
ConstantBias GTSAM_DEPRECATED retract(const Vector6& v) {
return compose(ConstantBias(v));
return (*this) + ConstantBias(v);
}
static Vector6 GTSAM_DEPRECATED Logmap(const ConstantBias& p) {
return p.vector();