-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 python: camera parameters #1086
Comments
Hello, Any update / workaround for this? Thanks, |
@mmaceira Could you please check if http://wiki.ros.org/ROS/Tutorials/WritingPublisherSubscriber%28python%29 on how to write a publisher and subscriber node in python helps you? Looking forward to your update. Thanks! |
@mmaceira Any other questions about this? Thanks! |
I have the publisher and subscriber node in python working properly. My problem is how to access the realsense camera from ros. I run this example from your repo without problems: However, I want to access the camera parameters to access the 3D position from the depth. I was looking for examples on reading the topics /camera/color/camera_info generated with the realsense. Thanks for your time! |
@mmaceira Sorry that there's no such example in current SDK. Is this still problem for you? Looking forward to your update. Thanks! |
Yes, we are still blocked with it. It limits us since we don't know how (or if) it is possible to use the realsense and all the data it generates with ROS in a clean way. |
@mmaceira Have submitted your requirement to our engineering team. Any update will let you know. Thanks! |
Thanks! |
Hi @mmaceira , Sorry for the extremely late response. |
Thanks for the update! I am working in a different project now, but a colleague is looking into it! I'll come back to you when we have checked it! Thanks! |
@mmaceira Any update from your side? Looking forward to your reply. Thanks! |
Thanks for your confirmation. I think this issue can now be closed. |
@acivit Thanks for your feedback! Close this issue accordingly. |
Hello!
I've been working on a project where I detect objects in a RGB image. Now I project the detections to 3D with rs2_deproject_pixel_to_point as shown in:
IntelRealSense/librealsense#1413
I have it working opening the camera with the realsense python wrapper ( example taken from https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/opencv_viewer_example.py ).
Since I need the camera information for additional detections, I am planning to use ROS. I would like to read color and depth data with ROS. I run the following code to check the ROS installation:
https://github.com/IntelRealSense/realsense-ros/blob/development/realsense2_camera/scripts/show_center_depth.py
However, I'm not seeing any example on how to read the camera topic /camera/color/camera_info nor how to set up the pyrealsense2 from it.
Alternatively, I thought of using the point cloud (with roslaunch realsense2_camera rs_camera.launch align_depth:=true enable_pointcloud:=true ), but if the point cloud is unorganized (#851) I won't be able to get the 3D position from them.
There is some resource online that I'm missing? It would be very helpful some example showing how to obtain the 3D position of objects using the realsense-ros interface.
Thanks,
Marc
The text was updated successfully, but these errors were encountered: