Skip to content
This repository has been archived by the owner on Nov 13, 2017. It is now read-only.

Commit

Permalink
fix cloud offset
Browse files Browse the repository at this point in the history
  • Loading branch information
YoheiKakiuchi committed Nov 18, 2013
1 parent 92ef03b commit 7690c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perception/point_containment_filter/src/shape_mask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ void point_containment_filter::ShapeMask::maskContainment(const pcl::PointCloud<
for (int i = 0 ; i < (int)np ; ++i)
{
Eigen::Vector3d pt = Eigen::Vector3d(data_in.points[i].x, data_in.points[i].y, data_in.points[i].z);
double d = (sensor_origin - pt).norm();
double d = pt.norm();
int out = OUTSIDE;
if (d < min_sensor_dist || d > max_sensor_dist)
out = CLIP;
Expand Down

0 comments on commit 7690c05

Please sign in to comment.