-
Notifications
You must be signed in to change notification settings - Fork 93
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
Getting RGB information from Pepper depth camera #90
Comments
Hi, |
@suryaambrose thank for your answer, if RGB is impossible to obtained from Pepper depth camera, is there anyway to combine RGB image from Pepper front camera with depth camera? |
What do you mean by "combine" ? |
If you mean "have a RGBD image" yes it is possible (RViz does it) but I don't really know how and it won't be as pretty as if both images were coming from the same camera. |
thank @suryaambrose , I need RGB+D image because I need RGB image for my processing and Depth information (corresponding to each pixel in RGB image) for getting depth imformation |
Hello, Once installed, try to get/visualize in RviZ this topic: /pepper_robot/camera/depth_registered/points In case if you cannot visualize this topic, then uncomment lines 197 and 198 https://github.com/ros-naoqi/naoqi_driver/blob/master/src/converters/camera_info_definitions.hpp#L197 then compile the naoqi_driver and source it Natalia |
Hello Natalia, |
Hello, @nlyubova , I have one more question, after getting the color point cloud, I had separate it into RGB and depth image. However, it turns out that the position of RGB pixels and Depth (x,y,z) pixels were not associated to each other I guest that because the color point cloud produced by the combination of RGB image (possibly from front camera) and Depth image (from 3D camera). However,its locations (cameras) are different, that why the its pixels are not associated to each other, is there anyway to calibrate it? Hope to receive your feedback |
Hello, In case if "../depth_registered/.." are not ok, then you can do two things:
Natalia |
@TuyenNguyenTanViet did you manage to make it working? can I close the issue? |
Hi @suryaambrose , thank you very much, actually I still have some problems which are not fixed yet. That why I came up with tentative solution by manually calibrate color and depth camera. |
@nlyubova Hi, I tried visualizing the point cloud, but can't see anything, also followed the uncommenting steps, no luck. |
Working now. Thanks. |
Ok, then Can we close this issue? |
@metalaman What did you do to get it working eventually? |
@Robert16296 Try changing the frame to Base Link in rviz. |
@metalaman Hi Aman, I have tried changing frame in rviz but I am still not able to view the points. |
Does anyone have a concrete answer on why the point cloud topic is not publishing and how to get it fixed |
Anyone has been lucky to make this work? is it me or this don't work for ros melodic? This is the issue I'm having. |
Hi @dac31415, I checked your topic on ros answers, regarding that comment:
I would advise you to check out that comment. Not sure that it will solve your problems but it might help |
Hi @mbusy, I will check that. Thank you. I tried to check the cameras individually and it appears that for some reason are named the same. I used rosrun image_view image_view and then the topic. First, I run the normal camera, which topic is /camera/image_raw and then tried to open the depth with the following topic /pepper_robot/camera/depth/camera/image_raw and the following warning appears in the first terminal: Does this means that is just connecting one at a time in the same node? Also,m I'm working on a virtual machine VMware. Does that might be affecting to not connect properly to the robot? |
You're welcome. I would probably try and use rqt_image_view to visualize the images instead, switching between 2 different image topics might be more convenient. I absolutely don't know if VMware has a role to play in the obtention of the warning you mentioned. Regarding the connection to a robot, I'm guessing that it should work. One thing I'm sure of is that creating a new node having the same exact name than an already running node will result in that kind of error. If you want to simultaneously view the RGB and depth images, RViz might be more adapted |
Hi @dac31415 , Did you solve this issue? |
It was clear that we easily can get depth information from Pepper Xtion camera , in addtion to depth information, I also need RGB information for my further process, is it possible to get RGB inforation as well?some thing like this picture
The text was updated successfully, but these errors were encountered: