Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keep_organized parameter makes no difference in pcl/CropBox nodelet #216

Closed
vbschettino opened this issue Oct 22, 2018 · 4 comments
Closed

Comments

@vbschettino
Copy link

Hi,

I think the title is self-explanatory; when using the pcl/CropBox nodelet, the keep_organized parameter seems to make no difference and the output cloud is always unorganized. Following is the launch file I used to see this:

<launch>
    <node pkg="nodelet" type="nodelet" name="pcl_manager" args="manager" output="screen" />

    <node pkg="nodelet" type="nodelet" name="crop_box" args="load pcl/CropBox pcl_manager" output="screen">
        <remap from="~input" to="/camera/depth_registered/points"/>
        <rosparam>
              keep_organized: true
        </rosparam>
    </node>
</launch>
@SteveMacenski
Copy link
Member

@vbschettino are you sure your pointcloud was organized to begin with?

// Check the current value for keep_organized

This logic looks pretty solid to me. What's your distribution / version?

@mvieth
Copy link
Contributor

mvieth commented Nov 16, 2019

I agree with @SteveMacenski that the keep_organized parameter is definitely passed on to the filter. I tested it (with an organized cloud) and found the same problem as @vbschettino. To me it seems that there is a bug in pcl itself, so I created an issue there.

@SteveMacenski
Copy link
Member

Awesome! Thanks for hunting that down!

Closing this ticket and I’ll look at your new one

@peci1
Copy link

peci1 commented Jan 9, 2022

Just to explain the current status: Melodic is affected and won't be fixed. Noetic is already fixed.

If anyone needs a working cropbox filter in Melodic, you can take inspiration here: https://github.com/tpet/nav_utils/blob/99b017599ba48e708d80b2391370f2d74169c227/src/nav_utils/crop_box_nodelet.cpp .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants