Skip to content
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

Problems with Point Cloud on Raspberry Pi 4 #2131

Closed
sergioar3143 opened this issue Oct 22, 2021 · 9 comments
Closed

Problems with Point Cloud on Raspberry Pi 4 #2131

sergioar3143 opened this issue Oct 22, 2021 · 9 comments
Labels

Comments

@sergioar3143
Copy link

Hello I followed the steps of this link for use D345i in my Raspberry Pi 4 https://ramith.fyi/setting-up-raspberry-pi-4-with-ubuntu-20-04-ros-intel-realsense/?fbclid=IwAR2j2hmCBUYakO6sHXwMt-UcD6ncNKpC-soZJI5rAcrEA1nwVNoNyXBuwlw
When I try to start the node with the command roslaunch realsense2_camera rs_camera.launch filters:=pointcloud, I can't see the Point Cloud. How can I resolve that problem?

@sergioar3143 sergioar3143 changed the title Problems with Point Cloud Problems with Point Cloud on Raspberry Pi 4 Oct 22, 2021
@MartyG-RealSense
Copy link
Collaborator

Hi @sergioar3143 To visually view camera data of the ROS topics published by the RealSense ROS wrapper, you should launch RViz by using the command rosrun rviz rviz in the ROS terminal after rs_camera.launch has completed. Have you run RViz, please?

@sergioar3143
Copy link
Author

Yes, I used the command rosrun rviz rviz and when I added the pointcloud to Rviz, the terminal printed [ WARN] [1635002350.492095265]: No stream match for pointcloud chosen texture Process - Color
pointcloud

@MartyG-RealSense
Copy link
Collaborator

Is Fixed Frame set to camera_link like in the ROS wrapper documentation's point cloud example for rs_camera.launch please?

https://github.com/IntelRealSense/realsense-ros#point-cloud

@sergioar3143
Copy link
Author

Yes, I have configured Rviz like the example
pointcloud

@MartyG-RealSense
Copy link
Collaborator

Are you able to get a color image if you use the Add button in the RViz side-panel to add the RealSense camera topic /camera/color/image_raw

@sergioar3143
Copy link
Author

sergioar3143 commented Oct 23, 2021

I can't see a color image when I use the command roslaunch realsense2_camera rs_camera.launch filters:=pointcloud, but I can see a color imagen when I use the command roslaunch realsense2_camera rs_camera.launch

@MartyG-RealSense
Copy link
Collaborator

Raspberry Pi users in #1324 experienced the same problem with no pointcloud when using the pointcloud filter but receiving images when not using it. One of the Pi users in that case was able to receive a pointcloud if they set a custom FPS speed of 6. Please try the example roslaunch instruction below, which uses the D435i's stream defaults of 848x480 depth and 1280x720 color but sets the FPS to 6 instead of 30.

roslaunch realsense2_camera rs_camera.launch filters:=pointcloud depth_width:=848 depth_height:=480 depth_fps:=6 color_width:=1280 color_height:=720 color_fps:=6

If that does not work, please also try setting both streams to 640x480 resolution at 6 FPS:

roslaunch realsense2_camera rs_camera.launch filters:=pointcloud depth_width:=640 depth_height:=480 depth_fps:=6 color_width:=640 color_height:=480 color_fps:=6

@sergioar3143
Copy link
Author

The second one works well, thank you.

@MartyG-RealSense
Copy link
Collaborator

@sergioar3143 That's excellent news that you were able to obtain a pointcloud - thanks very much for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants