parent
35a9c3d63b
commit
ffdbf1c161
|
@ -244,8 +244,10 @@ void ConstraintBuilder::ComputeConstraint(
|
||||||
if (match_full_submap) {
|
if (match_full_submap) {
|
||||||
info << " matches";
|
info << " matches";
|
||||||
} else {
|
} else {
|
||||||
const transform::Rigid3d difference = global_submap_pose.inverse() *
|
// Compute the difference between (submap i <- node j) according to loop
|
||||||
global_node_pose *
|
// closure ('constraint_transform') and according to global SLAM state.
|
||||||
|
const transform::Rigid3d difference = global_node_pose.inverse() *
|
||||||
|
global_submap_pose *
|
||||||
constraint_transform;
|
constraint_transform;
|
||||||
info << " differs by translation " << std::setprecision(2)
|
info << " differs by translation " << std::setprecision(2)
|
||||||
<< difference.translation().norm() << " rotation "
|
<< difference.translation().norm() << " rotation "
|
||||||
|
|
Loading…
Reference in New Issue