-
Notifications
You must be signed in to change notification settings - Fork 20
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
ROS topic as capture input #20
Comments
I'm trying to do so right now, in order to use my Creative Senz3D. Looks like feasible (I manage to use topics instead of the openni driver) but there are still problems to solve. I will commit my changes in a fork if it ever works, but I don't think I can find time to merge it with the main repo and create all the alternative operation modes and documentation required. |
@corot Can you please publish your changes of the source code? I would like to use topics instead of the openni driver. I could continue your work. Thank you very much |
Hi @xMutzelx, I didn't work on this for ages, as I'm not capturing nor training objects. But looking back at my local ORK workspace, I created at the time versions of the files you need to modify, renamed as xxx_ros: As you can see, are very similar to the ones using OpenNI, so you should have no problems using them. |
Based on @corot's code I have capture working with the Asus Xtion via topics. I had to change the image encoding for the depth image from mono16 to 32FC1 (it has to be the same as it is set in the rgb/image_raw messages you receive from your 3d camera). I haven't tried it on the Kinect 2 yet. I used the dot pattern for capture. Here the capture command with all the remaps: https://github.com/iki-wgt/capture/tree/topic_capture Stuff which needs to be done before this can be merged:
|
I am also trying to run ork_capture with Asus Xtion Pro (openni2), and get errors relate to opnni_wrapper (openni). I am new to ORK, and not sure how to have ork_capture modified to work with openni2, even after reading comments above. Is there any new version of ork_capture supporting openni2. Or are there any more detailed instructions for how to make it work with Asus Xtion Pro. Thanks. |
@fivef @corot Hi! thanks for your hints I had a try to use topic as input, but I failed. I'm using a realsense D435 depth camera, and I also have a Kinect v2, unfortunately both cannot be launched with But when I ran
Maybe I should modify the name/tag used in 'orb_template'? If you have any advice or thought please tell me. Thanks for your help! |
Wow,,,, I got rid of these problems ages ago by switching to a ASUX Xtion. That said, and if I remember properly, yes, I tweaked keys in the code, and I remember in particular mask_depth. I think I changed to just depth somewhere, but I won't have the code to verify it until the end of the month, sorry. |
@corot Thanks for replying so soon ! I am new to RGBD cameras like those mentioned above, I once thought whatever RGBD camera it is, it should publish similar topics (image, depth & camera_info), and if these codes can work on one, it should work on others too based on |
Hi @EmilyJrxx , unfortunately I lost my local changes. But as far as I can remember, the change was only about changing tendrils keys, as I explained before. Good luck! |
@corot Thanks for remembering this ! I already managed to launch the capture process by changing tendril keys as you suggested. As for Details:
But now I run into another problem as I presented in #33 , maybe it's about the system itself I dont know. |
Right now you can only capture from a plugged in sensor, it would be handy to be able to train from a topic (say, rosbag, running robot, whatever).
Also, the first image that comes out from my kinect/xtion is always super dark because of warming up of the device and that may be bad for the training to be done later on with the captured data.
The text was updated successfully, but these errors were encountered: