-
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
Unable to get color texture for pointcloud2: pointcloud_texture_stream:=RS2_STREAM_COLOR has no effect #975
Comments
In RViz, in the PointCloud2 options, try changing "Color Transformer" from "Intensity" to "RGB8" |
Has no effect. Jetson Nano: [ INFO] [1590199616.245470051]: Initializing nodelet with 4 worker threads. [ INFO] [1590199617.047289005]: Device with physical ID 2-1.2-4 was found. [ INFO] [1590199623.625971293]: Device with physical ID 2-1.2-4 was found. |
When viewing pointcloud2 in rviz the point cloud looks gray, has no color texture from RGB camera. However, when using realsense-viewer with 3D cloud view enabled and RGB selected as texture source - the point cloud looks fine, with color texture applied.
$ roslaunch realsense2_camera rs_camera.launch filters:=colorizer,pointcloud align_depth:=true pointcloud_texture_stream:=RS2_STREAM_COLOR
... logging to /home/user/.ros/log/43854b7e-fb86-11e9-ae86-000c2968ac22/roslaunch-ubuntu-4508.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://ubuntu:44103/
SUMMARY
PARAMETERS
NODES
/camera/
realsense2_camera (nodelet/nodelet)
realsense2_camera_manager (nodelet/nodelet)
auto-starting new master
process[master]: started with pid [4518]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 43854b7e-fb86-11e9-ae86-000c2968ac22
process[rosout-1]: started with pid [4529]
started core service [/rosout]
process[camera/realsense2_camera_manager-2]: started with pid [4536]
process[camera/realsense2_camera-3]: started with pid [4537]
[ INFO] [1572488969.640736707]: Initializing nodelet with 4 worker threads.
[ INFO] [1572488969.728178949]: RealSense ROS v2.2.9
[ INFO] [1572488969.728244395]: Running with LibRealSense v2.29.0
[ INFO] [1572488970.160991662]:
[ INFO] [1572488970.171291815]: Device with serial number 926522072040 was found.
[ INFO] [1572488970.171348281]: Device with physical ID /sys/devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb4/4-1/4-1:1.0/video4linux/video0 was found.
[ INFO] [1572488970.171357817]: Device with name Intel RealSense D435 was found.
[ INFO] [1572488970.171586296]: Device with port number 4-1 was found.
[ INFO] [1572488970.177775116]: getParameters...
[ INFO] [1572488970.242025030]: setupDevice...
[ INFO] [1572488970.242106251]: JSON file is not provided
[ INFO] [1572488970.242151382]: ROS Node Namespace: camera
[ INFO] [1572488970.242174940]: Device Name: Intel RealSense D435
[ INFO] [1572488970.242224912]: Device Serial No: 926522072040
[ INFO] [1572488970.242303555]: Device physical port: /sys/devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb4/4-1/4-1:1.0/video4linux/video0
[ INFO] [1572488970.242326268]: Device FW version: 05.11.15.00
[ INFO] [1572488970.242354432]: Device Product ID: 0x0B07
[ INFO] [1572488970.242374063]: Enable PointCloud: On
[ INFO] [1572488970.242393422]: Align Depth: On
[ INFO] [1572488970.242433400]: Sync Mode: On
[ INFO] [1572488970.242488845]: Device Sensors:
[ INFO] [1572488970.242543597]: Stereo Module was found.
[ INFO] [1572488970.242571397]: RGB Camera was found.
[ INFO] [1572488970.242658277]: (Fisheye, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1572488970.242712210]: (Fisheye, 1) sensor isn't supported by current device! -- Skipping...
[ INFO] [1572488970.242753699]: (Fisheye, 2) sensor isn't supported by current device! -- Skipping...
[ INFO] [1572488970.242792667]: (Gyro, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1572488970.242811577]: (Accel, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1572488970.242860929]: (Pose, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1572488970.242894388]: Add Filter: colorizer
[ INFO] [1572488970.243858214]: Add Filter: pointcloud
[ INFO] [1572488970.244295188]: num_filters: 2
[ INFO] [1572488970.244352602]: Setting Dynamic reconfig parameters.
[ INFO] [1572488970.313362245]: Done Setting Dynamic reconfig parameters.
[ INFO] [1572488970.315191109]: depth stream is enabled - width: 640, height: 480, fps: 30, Format: Z16
[ INFO] [1572488970.315426919]: infra1 stream is enabled - width: 640, height: 480, fps: 30, Format: Y8
[ INFO] [1572488970.315658294]: infra2 stream is enabled - width: 640, height: 480, fps: 30, Format: Y8
30/10 19:29:30,315 WARNING [140079774693120] (backend-v4l2.cpp:1148) Pixel format 36315752-1a66-a242-9065-d01814a likely requires patch for fourcc code RW16!
[ INFO] [1572488970.317394875]: color stream is enabled - width: 640, height: 480, fps: 30, Format: RGB8
[ INFO] [1572488970.320970529]: setupPublishers...
[ INFO] [1572488970.323021752]: Expected frequency for depth = 30.00000
[ INFO] [1572488970.355847209]: Expected frequency for infra1 = 30.00000
[ INFO] [1572488970.381421345]: Expected frequency for aligned_depth_to_infra1 = 30.00000
[ INFO] [1572488970.406333614]: Expected frequency for infra2 = 30.00000
[ INFO] [1572488970.433021481]: Expected frequency for color = 30.00000
[ INFO] [1572488970.456496593]: Expected frequency for aligned_depth_to_color = 30.00000
[ INFO] [1572488970.484567756]: setupStreams...
[ INFO] [1572488970.486747864]: insert Depth to Stereo Module
[ INFO] [1572488970.486848216]: insert Color to RGB Camera
[ INFO] [1572488970.487029357]: insert Infrared to Stereo Module
[ INFO] [1572488970.487043023]: insert Infrared to Stereo Module
[ INFO] [1572488970.503902861]: SELECTED BASE:Depth, 0
[ INFO] [1572488970.565673878]: RealSense Node Is Up!
30/10 19:29:30,755 WARNING [140079441815296] (ds5-timestamp.cpp:64) UVC metadata payloads not available. Please refer to the installation chapter for details.
30/10 19:29:30,963 WARNING [140079670482688] (ds5-timestamp.cpp:64) UVC metadata payloads not available. Please refer to the installation chapter for details.
[ERROR] [1572488986.435015992]: An error has occurred during frame callback: Error occured during execution of the processing block! See the log for more info
[ERROR] [1572489025.491262531]: An error has occurred during frame callback: Error occured during execution of the processing
====================================
The text was updated successfully, but these errors were encountered: