-
Notifications
You must be signed in to change notification settings - Fork 96
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
disabling hardware depth registration leads to error #67
Comments
Comment by bit-pirate Maybe @piyushk knows what's going wrong. |
Comment by piyushk @bit-pirate I don't have anything other than a kinect at hand at the moment, so I can't test this directly. Can you try and locate which nodelet is generating this error? |
Comment by bit-pirate It's the registration nodelet (PointCloudXyzrgbNodelet) complaining:
Looks to me like the driver is outputting images or point clouds with different reference frames, when not using hardware registration. |
Comment by piyushk I suspect the s/w registration pipeline is broken somehow. Once s/w On Mon, Sep 23, 2013 at 11:15 PM, Marcus Liebhardt <[email protected]
|
Comment by mikeferguson @bit-pirate you mention "disable via rqt" -- does software registration work correctly if you start up in that mode? |
Comment by liborw I have the same problem when started without the hardware registration (not using the dynamic reconfigure). |
Comment by liborw The problem is, that one must also set |
Comment by mikeferguson @liborw if you leave both pipelines running, do you get a massive number of errors? If so, I think we can fix that, around here https://github.com/ros-drivers/openni2_camera/blob/hydro-devel/src/openni2_driver.cpp#L451 by moving the publishers into the if/else block. Since pub_depth_ is being remapped to depth_registered right now by device.launch.xml, and pub_depth_raw_ is used by the sw pipeline which apparently includes a convert metric nodelet. |
Comment by liborw @mikeferguson I get some errors same are mentioned above when the |
Comment by mikeferguson I've merged #12 as a temporary fix, I'm pretty certain that with a few updates to the drivers we can leave both sw and hw registration running, as only one of depth/image_raw or depth_registered/image_raw will be published. I should be able to find a few minutes to crank that out when I get to the office and have sensors to test with. |
Comment by achim-k I think we need an extra publisher to if (depth_registration_)
{
// Publish on registered topic: depth_registered/image_raw
image->header.frame_id = color_frame_id_;
// ...
} else {
// Publish on non-registered depth topic: depth/image[_raw]
image->header.frame_id = depth_frame_id_;
// ...
} The remapping in openni2_launch/launch/includes/device.launch.xml would then also not be necessary. <remap from="$(arg depth)/image" to="$(arg depth_registered)/image_raw" /> At least that worked for me locally. Am I missing something? |
Issue by bit-pirate
Monday Sep 23, 2013 at 02:59 GMT
Originally opened as ros-drivers/openni2_launch#9
When I deactivated depth registration via rqt_reconfigure, I get the following error:
Can anyone confirm this? What's different to the old version (openni1)?
The text was updated successfully, but these errors were encountered: