ipa320 / softkinetic

This repository holds a ROS driver package for an interactive gesture camera (softkinetic).
23 stars 40 forks source link

use kinect-like frame settings #63

Open k-okada opened 8 years ago

k-okada commented 8 years ago

There are several atttempt to support 'kinect-like' settings, https://github.com/ipa320/softkinetic/pull/44, https://github.com/ipa320/softkinetic/pull/58

I think the definition of kinect-like consists of

Here is the examples from openni2.launch

screenshot from 2016-06-09 14 21 18 screenshot from 2016-06-09 14 20 54 screenshot from 2016-06-09 14 21 08

https://github.com/ipa320/softkinetic/pull/63/commits/159419179d0312b40dba932c9bb3cd9d4963f7ad includes

 +  <node pkg="tf" type="static_transform_publisher" name="softkinect_rgb_frame_tf"
 +        args="0 0.00090 0  0 0 0 /softkinetic_camera_link /softkinetic_camera_rgb_frame 40" />
 +  <node pkg="tf" type="static_transform_publisher" name="softkinect_depth_frame_tf"
 +        args="0 -0.0090 0.005 0 0 0 /softkinetic_camera_link /softkinetic_camera_depth_frame 40" />

which indicates the translation between rgb and depth frames is '0.00180 0 0.005' which may differ from the urdf settings (0.0250 displacement), I'm not sure if this parameter is general one, but at least for my camera, it improve the depth-camera registration

0.0250 displacement (see left bottom camera iamge which overay point cloud into camera image) screenshot from 2016-06-09 14 38 06

0.00180 0 0.005 displacement screenshot from 2016-06-09 14 36 52

gavanderhoorn commented 8 years ago

Is this related / a duplicate of #58?

k-okada commented 8 years ago

Yes, this is fixed version of #58, I updated the first comment with rviz images, any comments are welcome.

gavanderhoorn commented 8 years ago

Ah, ok.

You probably want to check that kinetic_dev doesn't already contain these changes.

k-okada commented 8 years ago

this PR conflicts with https://github.com/ipa320/softkinetic/commits/kinetic_dev which includes #58, I think #58 did not support following two points, which I think definition of 'kinect-like' style

knorth55 commented 8 years ago

@k-okada is the camera frame of soft kinetic converted to third one? is this kinect-like?

k-okada commented 8 years ago

As far as I understand , point cloud should have

knorth55 commented 8 years ago

ok, thank you.

knorth55 commented 8 years ago

:+1: I'm for this PR. Sorry for my misunderstanding about kinect-like camera frame.