Skip to content

Commit

Permalink
fixing the type problem in insertPointCloud function (facontidavide#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidCapek authored Sep 27, 2023
1 parent 417915c commit b66c472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bonxai_map/include/bonxai_map/probabilistic_map.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ inline void ProbabilisticMap::insertPointCloud(const std::vector<PointT, Alloc>&
if (squared_norm >= max_range_sqr)
{
// The new point will have distance == max_range from origin
const Vector3D new_point = origin + ((vect / std::sqrt(squared_norm)) * max_range);
const Vector3D new_point = from + ((vect / std::sqrt(squared_norm)) * max_range);
addMissPoint(new_point);
}
else {
Expand Down

0 comments on commit b66c472

Please sign in to comment.