Skip to content

Commit

Permalink
Merge pull request RainerKuemmerle#327 from felixendres/patch-2
Browse files Browse the repository at this point in the history
Fix bug, that sets the 2nd offset to the 1st
  • Loading branch information
RainerKuemmerle authored Dec 8, 2018
2 parents e48bf30 + 184e809 commit 9527c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion g2o/types/slam3d/edge_se3_offset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ namespace g2o {
ParameterVector pv(2);
pv[0]=_offsetFrom;
resolveCache(_cacheFrom, (OptimizableGraph::Vertex*)_vertices[0],"CACHE_SE3_OFFSET",pv);
pv[1]=_offsetTo;
pv[0]=_offsetTo;
resolveCache(_cacheTo, (OptimizableGraph::Vertex*)_vertices[1],"CACHE_SE3_OFFSET",pv);
return (_cacheFrom && _cacheTo);
}
Expand Down

0 comments on commit 9527c07

Please sign in to comment.