Fixed covariance bug
parent
b1e3b5495c
commit
4f28a0b88d
|
@ -880,7 +880,7 @@ static BinaryMeasurement<Rot3> convert(const BinaryMeasurement<Pose3> &p) {
|
|||
const Matrix6 M = gaussian->covariance();
|
||||
return BinaryMeasurement<Rot3>(
|
||||
p.key1(), p.key2(), p.measured().rotation(),
|
||||
noiseModel::Gaussian::Covariance(M.block<3, 3>(3, 3), true));
|
||||
noiseModel::Gaussian::Covariance(M.block<3, 3>(0, 0), true));
|
||||
}
|
||||
|
||||
template <>
|
||||
|
|
Loading…
Reference in New Issue