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

Nothing showing up in RVIZ with D435 #1938

Closed
KartmanCanada opened this issue Jun 18, 2021 · 41 comments
Closed

Nothing showing up in RVIZ with D435 #1938

KartmanCanada opened this issue Jun 18, 2021 · 41 comments
Labels

Comments

@KartmanCanada
Copy link

KartmanCanada commented Jun 18, 2021

I apologize in advance as my ROS install is on an Xavier NX module but I'm writing this on a different device. This will make some log sharing quite awkward. That said, my issue is likely a simple fix. In fact, my limited ROS experience (i.e., I'm learning!) is a major contributor.

RealSense ROS v2.3.0
LibRealSense v2.45.0
D435 firmware 5.12.14.50 (latest)
Platform Xavier NX
OS Ubuntu 18.04

When I run: roslaunch realsense2_camera rs_camera.launch filters:=pointcloud pointcloud_texture_stream:=RS2_STREAM_ANY

  • I can open RVIZ and get a pointcloud2 to visualize but only with AxisColor, Intensity, or FlatColor

When I run: roslaunch realsense2_camera rs_camera.launch filters:=pointcloud pointcloud_texture_stream:=RS2_STREAM_COLOR

  • I get the following: WARN: No stream match for pointcloud chosen texture process - Color
  • Opening RVIZ and trying to visualize with pointcloud2 offers nothing
  • no "Position Transformer" or "Color Transformer"

Please help me to understand what I'm missing! Thanks.

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Jun 18, 2021

Hi @KartmanCanada Does the pointcloud-enabled roslaunch instruction in the comment linked to below work for you please?

#1886 (comment)

roslaunch realsense2_camera rs_camera.launch align_depth:=true color_width:=848 color_height:=480 color_fps:=30 filters:=pointcloud

@KartmanCanada
Copy link
Author

Tired the command line above... same result. :(

Below is a log from my original command line from original issue post:
roslaunch realsense2_camera rs_camera.launch filters:=pointcloud pointcloud_texture_stream:=RS2_STREAM_COLOR
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://Xavier:36927/

SUMMARY

PARAMETERS

  • /camera/realsense2_camera/accel_fps: -1
  • /camera/realsense2_camera/accel_frame_id: camera_accel_frame
  • /camera/realsense2_camera/accel_optical_frame_id: camera_accel_opti...
  • /camera/realsense2_camera/align_depth: False
  • /camera/realsense2_camera/aligned_depth_to_color_frame_id: camera_aligned_de...
  • /camera/realsense2_camera/aligned_depth_to_fisheye1_frame_id: camera_aligned_de...
  • /camera/realsense2_camera/aligned_depth_to_fisheye2_frame_id: camera_aligned_de...
  • /camera/realsense2_camera/aligned_depth_to_fisheye_frame_id: camera_aligned_de...
  • /camera/realsense2_camera/aligned_depth_to_infra1_frame_id: camera_aligned_de...
  • /camera/realsense2_camera/aligned_depth_to_infra2_frame_id: camera_aligned_de...
  • /camera/realsense2_camera/allow_no_texture_points: False
  • /camera/realsense2_camera/base_frame_id: camera_link
  • /camera/realsense2_camera/calib_odom_file:
  • /camera/realsense2_camera/clip_distance: -2.0
  • /camera/realsense2_camera/color_fps: -1
  • /camera/realsense2_camera/color_frame_id: camera_color_frame
  • /camera/realsense2_camera/color_height: -1
  • /camera/realsense2_camera/color_optical_frame_id: camera_color_opti...
  • /camera/realsense2_camera/color_width: -1
  • /camera/realsense2_camera/confidence_fps: -1
  • /camera/realsense2_camera/confidence_height: -1
  • /camera/realsense2_camera/confidence_width: -1
  • /camera/realsense2_camera/depth_fps: -1
  • /camera/realsense2_camera/depth_frame_id: camera_depth_frame
  • /camera/realsense2_camera/depth_height: -1
  • /camera/realsense2_camera/depth_optical_frame_id: camera_depth_opti...
  • /camera/realsense2_camera/depth_width: -1
  • /camera/realsense2_camera/device_type:
  • /camera/realsense2_camera/enable_accel: False
  • /camera/realsense2_camera/enable_color: True
  • /camera/realsense2_camera/enable_confidence: True
  • /camera/realsense2_camera/enable_depth: True
  • /camera/realsense2_camera/enable_fisheye1: False
  • /camera/realsense2_camera/enable_fisheye2: False
  • /camera/realsense2_camera/enable_fisheye: False
  • /camera/realsense2_camera/enable_gyro: False
  • /camera/realsense2_camera/enable_infra1: False
  • /camera/realsense2_camera/enable_infra2: False
  • /camera/realsense2_camera/enable_infra: False
  • /camera/realsense2_camera/enable_pointcloud: False
  • /camera/realsense2_camera/enable_pose: False
  • /camera/realsense2_camera/enable_sync: False
  • /camera/realsense2_camera/filters: pointcloud
  • /camera/realsense2_camera/fisheye1_frame_id: camera_fisheye1_f...
  • /camera/realsense2_camera/fisheye1_optical_frame_id: camera_fisheye1_o...
  • /camera/realsense2_camera/fisheye2_frame_id: camera_fisheye2_f...
  • /camera/realsense2_camera/fisheye2_optical_frame_id: camera_fisheye2_o...
  • /camera/realsense2_camera/fisheye_fps: -1
  • /camera/realsense2_camera/fisheye_frame_id: camera_fisheye_frame
  • /camera/realsense2_camera/fisheye_height: -1
  • /camera/realsense2_camera/fisheye_optical_frame_id: camera_fisheye_op...
  • /camera/realsense2_camera/fisheye_width: -1
  • /camera/realsense2_camera/gyro_fps: -1
  • /camera/realsense2_camera/gyro_frame_id: camera_gyro_frame
  • /camera/realsense2_camera/gyro_optical_frame_id: camera_gyro_optic...
  • /camera/realsense2_camera/imu_optical_frame_id: camera_imu_optica...
  • /camera/realsense2_camera/infra1_frame_id: camera_infra1_frame
  • /camera/realsense2_camera/infra1_optical_frame_id: camera_infra1_opt...
  • /camera/realsense2_camera/infra2_frame_id: camera_infra2_frame
  • /camera/realsense2_camera/infra2_optical_frame_id: camera_infra2_opt...
  • /camera/realsense2_camera/infra_fps: 30
  • /camera/realsense2_camera/infra_height: 480
  • /camera/realsense2_camera/infra_rgb: False
  • /camera/realsense2_camera/infra_width: 848
  • /camera/realsense2_camera/initial_reset: False
  • /camera/realsense2_camera/json_file_path:
  • /camera/realsense2_camera/linear_accel_cov: 0.01
  • /camera/realsense2_camera/odom_frame_id: camera_odom_frame
  • /camera/realsense2_camera/ordered_pc: False
  • /camera/realsense2_camera/pointcloud_texture_index: 0
  • /camera/realsense2_camera/pointcloud_texture_stream: RS2_STREAM_COLOR
  • /camera/realsense2_camera/pose_frame_id: camera_pose_frame
  • /camera/realsense2_camera/pose_optical_frame_id: camera_pose_optic...
  • /camera/realsense2_camera/publish_odom_tf: True
  • /camera/realsense2_camera/publish_tf: True
  • /camera/realsense2_camera/rosbag_filename:
  • /camera/realsense2_camera/serial_no:
  • /camera/realsense2_camera/stereo_module/exposure/1: 7500
  • /camera/realsense2_camera/stereo_module/exposure/2: 1
  • /camera/realsense2_camera/stereo_module/gain/1: 16
  • /camera/realsense2_camera/stereo_module/gain/2: 16
  • /camera/realsense2_camera/tf_publish_rate: 0.0
  • /camera/realsense2_camera/topic_odom_in: odom_in
  • /camera/realsense2_camera/unite_imu_method:
  • /camera/realsense2_camera/usb_port_id:
  • /rosdistro: melodic
  • /rosversion: 1.14.11

NODES
/camera/
realsense2_camera (nodelet/nodelet)
realsense2_camera_manager (nodelet/nodelet)

auto-starting new master
process[master]: started with pid [25479]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to d7eb0d2a-d074-11eb-9ed0-204ef60a034f
process[rosout-1]: started with pid [25497]
started core service [/rosout]
process[camera/realsense2_camera_manager-2]: started with pid [25514]
process[camera/realsense2_camera-3]: started with pid [25515]
[ INFO] [1624048585.565546679]: Initializing nodelet with 6 worker threads.
[ INFO] [1624048585.927950968]: RealSense ROS v2.3.0
[ INFO] [1624048585.928750399]: Built with LibRealSense v2.45.0
[ INFO] [1624048585.929239171]: Running with LibRealSense v2.45.0
[ INFO] [1624048586.034225349]:
[ INFO] [1624048586.360204037]: Device with serial number 102422075142 was found.

[ INFO] [1624048586.360343078]: Device with physical ID 2-3.1-11 was found.
[ INFO] [1624048586.360409255]: Device with name Intel RealSense D435 was found.
[ INFO] [1624048586.362491319]: Device with port number 2-3.1 was found.
[ INFO] [1624048586.362599448]: Device USB type: 3.2
[ INFO] [1624048586.370409302]: getParameters...
[ INFO] [1624048586.743298986]: setupDevice...
[ INFO] [1624048586.743451916]: JSON file is not provided
[ INFO] [1624048586.743524364]: ROS Node Namespace: camera
[ INFO] [1624048586.743592141]: Device Name: Intel RealSense D435
[ INFO] [1624048586.743655597]: Device Serial No: 102422075142
[ INFO] [1624048586.743730318]: Device physical port: 2-3.1-11
[ INFO] [1624048586.743810415]: Device FW version: 05.12.10.00
[ INFO] [1624048586.743918095]: Device Product ID: 0x0B07
[ INFO] [1624048586.744017168]: Enable PointCloud: On
[ INFO] [1624048586.744110225]: Align Depth: Off
[ INFO] [1624048586.744182161]: Sync Mode: On
[ INFO] [1624048586.744341971]: Device Sensors:
[ INFO] [1624048586.780641395]: Stereo Module was found.
[ INFO] [1624048586.820656081]: RGB Camera was found.
[ INFO] [1624048586.820890131]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1624048586.821014132]: Add Filter: pointcloud
[ INFO] [1624048586.823444360]: num_filters: 1
[ INFO] [1624048586.823632617]: Setting Dynamic reconfig parameters.
[ INFO] [1624048587.443160485]: Done Setting Dynamic reconfig parameters.
[ INFO] [1624048587.445109653]: depth stream is enabled - width: 848, height: 480, fps: 30, Format: Z16
[ INFO] [1624048587.447118885]: color stream is enabled - width: 640, height: 480, fps: 30, Format: RGB8
[ INFO] [1624048587.447286086]: setupPublishers...
[ INFO] [1624048587.460377806]: Expected frequency for depth = 30.00000
[ INFO] [1624048587.614632760]: Expected frequency for color = 30.00000
[ INFO] [1624048587.736543457]: setupStreams...
[ INFO] [1624048587.761494248]: insert Depth to Stereo Module
[ INFO] [1624048587.761698217]: insert Color to RGB Camera
[ INFO] [1624048587.860937342]: SELECTED BASE:Depth, 0
[ INFO] [1624048587.918695561]: RealSense Node Is Up!
[ WARN] [1624048587.982309667]:
18/06 16:36:27,983 WARNING [546695766400] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: No data available, number: 61
18/06 16:36:28,034 WARNING [546695766400] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: No data available, number: 61
18/06 16:36:28,569 WARNING [546695766400] (messenger-libusb.cpp:42) control_transfer returned error, index: 300, error: No data available, number: 3d
18/06 16:36:28,619 WARNING [546695766400] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: No data available, number: 61
[ INFO] [1624048623.404228731]: publishing unordered pointcloud.
[ WARN] [1624048624.006987371]: No stream match for pointcloud chosen texture Process - Color

image

@MartyG-RealSense
Copy link
Collaborator

If you use this roslaunch:

roslaunch realsense2_camera rs_camera.launch filters:=colorizer,pointcloud align_depth:=true pointcloud_texture_stream:=RS2_STREAM_COLOR

Are you able to change the Color Transformer from 'Intensity' to 'RGB8'

Are you also able to change the style to points

@KartmanCanada
Copy link
Author

Did a cut/paste of your above command line....

  1. Yes - I'm able to change style to "points"
  2. No - RGB8 is not listed as a Color Transform (in fact, there are no Color or Position Transforms offered in the rviz pulldowns)

Very frustrating... if I run realsense-viewer, I can get the point cloud with RBG overlay. I also tried the realsense2_camera launch file 'rs_rgbd.launch'. This too allows visualization in rviz

@MartyG-RealSense
Copy link
Collaborator

Thanks for your patience. What is the result if you generate an ordered pointcloud by adding the command ordered_pc:=true into the roslaunch instruction.

@KartmanCanada
Copy link
Author

no change... except the console output for the wrapper now includes:

[ INFO] [1624050998.557003460]: publishing ordered pointcloud.

@MartyG-RealSense
Copy link
Collaborator

There was once a case of the No stream match for pointcloud chosen texture Process - Color warning that was found to be caused by an unstable USB connection. So please next try adding the command below to the roslaunch to perform a reset of the camera at launch to see whether that can clear a potential USB issue in the wrapper's camera connection.

initial_reset:=true

@KartmanCanada
Copy link
Author

Done. Still no change to rviz visualization (no Color or Position Transforms offered in the rviz pulldowns)

roslaunch realsense2_camera rs_camera.launch filters:=colorizer,pointcloud align_depth:=true pointcloud_texture_stream:=RS2_STREAM_COLOR ordered_pc:=true initial_reset:=true

Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://Xavier:45437/

SUMMARY

PARAMETERS

  • /camera/realsense2_camera/accel_fps: -1
  • /camera/realsense2_camera/accel_frame_id: camera_accel_frame
  • /camera/realsense2_camera/accel_optical_frame_id: camera_accel_opti...
  • /camera/realsense2_camera/align_depth: True
  • /camera/realsense2_camera/aligned_depth_to_color_frame_id: camera_aligned_de...
  • /camera/realsense2_camera/aligned_depth_to_fisheye1_frame_id: camera_aligned_de...
  • /camera/realsense2_camera/aligned_depth_to_fisheye2_frame_id: camera_aligned_de...
  • /camera/realsense2_camera/aligned_depth_to_fisheye_frame_id: camera_aligned_de...
  • /camera/realsense2_camera/aligned_depth_to_infra1_frame_id: camera_aligned_de...
  • /camera/realsense2_camera/aligned_depth_to_infra2_frame_id: camera_aligned_de...
  • /camera/realsense2_camera/allow_no_texture_points: False
  • /camera/realsense2_camera/base_frame_id: camera_link
  • /camera/realsense2_camera/calib_odom_file:
  • /camera/realsense2_camera/clip_distance: -2.0
  • /camera/realsense2_camera/color_fps: -1
  • /camera/realsense2_camera/color_frame_id: camera_color_frame
  • /camera/realsense2_camera/color_height: -1
  • /camera/realsense2_camera/color_optical_frame_id: camera_color_opti...
  • /camera/realsense2_camera/color_width: -1
  • /camera/realsense2_camera/confidence_fps: -1
  • /camera/realsense2_camera/confidence_height: -1
  • /camera/realsense2_camera/confidence_width: -1
  • /camera/realsense2_camera/depth_fps: -1
  • /camera/realsense2_camera/depth_frame_id: camera_depth_frame
  • /camera/realsense2_camera/depth_height: -1
  • /camera/realsense2_camera/depth_optical_frame_id: camera_depth_opti...
  • /camera/realsense2_camera/depth_width: -1
  • /camera/realsense2_camera/device_type:
  • /camera/realsense2_camera/enable_accel: False
  • /camera/realsense2_camera/enable_color: True
  • /camera/realsense2_camera/enable_confidence: True
  • /camera/realsense2_camera/enable_depth: True
  • /camera/realsense2_camera/enable_fisheye1: False
  • /camera/realsense2_camera/enable_fisheye2: False
  • /camera/realsense2_camera/enable_fisheye: False
  • /camera/realsense2_camera/enable_gyro: False
  • /camera/realsense2_camera/enable_infra1: False
  • /camera/realsense2_camera/enable_infra2: False
  • /camera/realsense2_camera/enable_infra: False
  • /camera/realsense2_camera/enable_pointcloud: False
  • /camera/realsense2_camera/enable_pose: False
  • /camera/realsense2_camera/enable_sync: False
  • /camera/realsense2_camera/filters: colorizer,pointcloud
  • /camera/realsense2_camera/fisheye1_frame_id: camera_fisheye1_f...
  • /camera/realsense2_camera/fisheye1_optical_frame_id: camera_fisheye1_o...
  • /camera/realsense2_camera/fisheye2_frame_id: camera_fisheye2_f...
  • /camera/realsense2_camera/fisheye2_optical_frame_id: camera_fisheye2_o...
  • /camera/realsense2_camera/fisheye_fps: -1
  • /camera/realsense2_camera/fisheye_frame_id: camera_fisheye_frame
  • /camera/realsense2_camera/fisheye_height: -1
  • /camera/realsense2_camera/fisheye_optical_frame_id: camera_fisheye_op...
  • /camera/realsense2_camera/fisheye_width: -1
  • /camera/realsense2_camera/gyro_fps: -1
  • /camera/realsense2_camera/gyro_frame_id: camera_gyro_frame
  • /camera/realsense2_camera/gyro_optical_frame_id: camera_gyro_optic...
  • /camera/realsense2_camera/imu_optical_frame_id: camera_imu_optica...
  • /camera/realsense2_camera/infra1_frame_id: camera_infra1_frame
  • /camera/realsense2_camera/infra1_optical_frame_id: camera_infra1_opt...
  • /camera/realsense2_camera/infra2_frame_id: camera_infra2_frame
  • /camera/realsense2_camera/infra2_optical_frame_id: camera_infra2_opt...
  • /camera/realsense2_camera/infra_fps: 30
  • /camera/realsense2_camera/infra_height: 480
  • /camera/realsense2_camera/infra_rgb: False
  • /camera/realsense2_camera/infra_width: 848
  • /camera/realsense2_camera/initial_reset: True
  • /camera/realsense2_camera/json_file_path:
  • /camera/realsense2_camera/linear_accel_cov: 0.01
  • /camera/realsense2_camera/odom_frame_id: camera_odom_frame
  • /camera/realsense2_camera/ordered_pc: True
  • /camera/realsense2_camera/pointcloud_texture_index: 0
  • /camera/realsense2_camera/pointcloud_texture_stream: RS2_STREAM_COLOR
  • /camera/realsense2_camera/pose_frame_id: camera_pose_frame
  • /camera/realsense2_camera/pose_optical_frame_id: camera_pose_optic...
  • /camera/realsense2_camera/publish_odom_tf: True
  • /camera/realsense2_camera/publish_tf: True
  • /camera/realsense2_camera/rosbag_filename:
  • /camera/realsense2_camera/serial_no:
  • /camera/realsense2_camera/stereo_module/exposure/1: 7500
  • /camera/realsense2_camera/stereo_module/exposure/2: 1
  • /camera/realsense2_camera/stereo_module/gain/1: 16
  • /camera/realsense2_camera/stereo_module/gain/2: 16
  • /camera/realsense2_camera/tf_publish_rate: 0.0
  • /camera/realsense2_camera/topic_odom_in: odom_in
  • /camera/realsense2_camera/unite_imu_method:
  • /camera/realsense2_camera/usb_port_id:
  • /rosdistro: melodic
  • /rosversion: 1.14.11

NODES
/camera/
realsense2_camera (nodelet/nodelet)
realsense2_camera_manager (nodelet/nodelet)

auto-starting new master
process[master]: started with pid [31360]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to e5789694-d07c-11eb-8554-204ef60a034f
process[rosout-1]: started with pid [31379]
started core service [/rosout]
process[camera/realsense2_camera_manager-2]: started with pid [31396]
process[camera/realsense2_camera-3]: started with pid [31397]
[ INFO] [1624052044.597316085]: Initializing nodelet with 6 worker threads.
[ INFO] [1624052044.969359991]: RealSense ROS v2.3.0
[ INFO] [1624052044.969613849]: Built with LibRealSense v2.45.0
[ INFO] [1624052044.969772762]: Running with LibRealSense v2.45.0
[ INFO] [1624052045.152862229]:
[ INFO] [1624052045.476633517]: Device with serial number 102422075142 was found.

[ INFO] [1624052045.476807886]: Device with physical ID 2-3.1-11 was found.
[ INFO] [1624052045.476892111]: Device with name Intel RealSense D435 was found.
[ INFO] [1624052045.478854045]: Device with port number 2-3.1 was found.
[ INFO] [1624052045.479050719]: Device USB type: 3.2
[ INFO] [1624052045.479193792]: Resetting device...
[ INFO] [1624052051.534724443]:
[ INFO] [1624052051.842288666]: Device with serial number 102422075142 was found.

[ INFO] [1624052051.842476251]: Device with physical ID 2-3.1-11 was found.
[ INFO] [1624052051.842558108]: Device with name Intel RealSense D435 was found.
[ INFO] [1624052051.844328457]: Device with port number 2-3.1 was found.
[ INFO] [1624052051.844420841]: Device USB type: 3.2
[ INFO] [1624052051.851641248]: getParameters...
[ INFO] [1624052052.217462706]: setupDevice...
[ INFO] [1624052052.217645108]: JSON file is not provided
[ INFO] [1624052052.217738388]: ROS Node Namespace: camera
[ INFO] [1624052052.217825589]: Device Name: Intel RealSense D435
[ INFO] [1624052052.217923766]: Device Serial No: 102422075142
[ INFO] [1624052052.218023351]: Device physical port: 2-3.1-11
[ INFO] [1624052052.218121815]: Device FW version: 05.12.10.00
[ INFO] [1624052052.218254968]: Device Product ID: 0x0B07
[ INFO] [1624052052.218386425]: Enable PointCloud: On
[ INFO] [1624052052.218506906]: Align Depth: On
[ INFO] [1624052052.218584955]: Sync Mode: On
[ INFO] [1624052052.218759772]: Device Sensors:
[ INFO] [1624052052.257444702]: Stereo Module was found.
[ INFO] [1624052052.298378768]: RGB Camera was found.
[ INFO] [1624052052.298640050]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1624052052.300003036]: Add Filter: colorizer
[ INFO] [1624052052.302639024]: Add Filter: pointcloud
[ INFO] [1624052052.304574142]: num_filters: 3
[ INFO] [1624052052.304706239]: Setting Dynamic reconfig parameters.
[ INFO] [1624052052.999000781]: Done Setting Dynamic reconfig parameters.
[ INFO] [1624052053.001395423]: depth stream is enabled - width: 848, height: 480, fps: 30, Format: Z16
[ INFO] [1624052053.003355630]: color stream is enabled - width: 640, height: 480, fps: 30, Format: RGB8
[ INFO] [1624052053.008761367]: setupPublishers...
[ INFO] [1624052053.021698423]: Expected frequency for depth = 30.00000
[ INFO] [1624052053.180076601]: Expected frequency for color = 30.00000
[ INFO] [1624052053.300174268]: Expected frequency for aligned_depth_to_color = 30.00000
[ INFO] [1624052053.427357812]: setupStreams...
[ INFO] [1624052053.441535294]: insert Depth to Stereo Module
[ INFO] [1624052053.441773408]: insert Color to RGB Camera
18/06 17:34:13,538 WARNING [546946695552] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: No data available, number: 61
[ INFO] [1624052053.589932469]: SELECTED BASE:Depth, 0
[ INFO] [1624052053.649936759]: RealSense Node Is Up!
[ WARN] [1624052053.659941826]:
18/06 17:34:13,661 WARNING [546946695552] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: No data available, number: 61
18/06 17:34:13,712 WARNING [546946695552] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: No data available, number: 61
18/06 17:34:13,937 WARNING [546946695552] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: No data available, number: 61
18/06 17:34:13,987 WARNING [546946695552] (messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: No data available, number: 61
[ INFO] [1624052093.563650196]: publishing ordered pointcloud.
[ WARN] [1624052094.111394934]: No stream match for pointcloud chosen texture Process - Color
18/06 17:34:56,772 ERROR [546506019200] (uvc-streamer.cpp:106) uvc streamer watchdog triggered on endpoint: 132

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Jun 18, 2021

This is quite unusual. Next time that you launch, instead of using RViz can you instead check whether the depth stream is publishing any data by inputting the command below into the ROS terminal after launch has completed:

rostopic echo /camera/depth/image_rect_raw/header

@KartmanCanada
Copy link
Author

rostopic echo /camera/depth/image_rect_raw/header

seq: 0
stamp:
secs: 1624055070
nsecs: 675529003
frame_id: "camera_depth_optical_frame"

seq: 1
stamp:
secs: 1624055070
nsecs: 675529003
frame_id: "camera_depth_optical_frame"

seq: 2
stamp:
secs: 1624055070
nsecs: 808955431
frame_id: "camera_depth_optical_frame"

seq: 3
stamp:
secs: 1624055070
nsecs: 808955431
frame_id: "camera_depth_optical_frame"

seq: 4
stamp:
secs: 1624055070
nsecs: 942381382
frame_id: "camera_depth_optical_frame"

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Jun 18, 2021

That suggests to me that it is publishing the depth. Indeed, in your original message you mentioned that "When I run roslaunch realsense2_camera rs_camera.launch filters:=pointcloud pointcloud_texture_stream:=RS2_STREAM_ANY I can open RVIZ and get a pointcloud2 to visualize but only with AxisColor, Intensity, or FlatColor".

I will tag @doronhi the RealSense ROS wrapper developer into this discussion for his advice. Thanks very much again for your patience.

@KartmanCanada
Copy link
Author

While I wait for a further response, I've been messing about more...

Interestingly, in RVIZ, if I add an "image" display, I get no images from the /camera1/color/image/raw. But, I do get images from /camera1/depth/image_rect_raw. I should be able to display the depth and RGB images, no?

Could this be the source of the issue with the missing RGB8 color transform when trying to visualize the RealSense point cloud?

image

@doronhi
Copy link
Contributor

doronhi commented Jun 20, 2021

The issue definitely seems related to the fact that no color images reach realsense2_camera driver.
To try and find the root cause, I would try realsense-viewer. Do you get color stream there? Do you get a stream color using a different machine?
What method did you use to install realsense2_camera and librealsense2?

@KartmanCanada
Copy link
Author

  1. realsense-viewer works just fine... I can get depth and color 2D images -and- display a 3D pointcloud
  2. I only have the one machine to test today but I can work on building another machine and environment. This is a Xavier NX Dev Kit running Ubuntu 18.04.
  3. Installation method for install was "method1" (i.e., ROS distribution)

@KartmanCanada
Copy link
Author

KartmanCanada commented Jun 20, 2021

Just tried some more playing about and the RS cameras seems to be a bit unreliable if I kill and restart wrapper... (i.e., missing RGB image streams and missing device on init but successful on retry when starting wrapper.

If I unplug and replug the USB connector physically, this seems to help....

After unplug and replug, I was able to get the RGB image in RVIZ but, after swapping back to RS2_STREAM_COLOR, still no RGB8 option under pointcloud visualization

@doronhi
Copy link
Contributor

doronhi commented Jun 21, 2021

ros-melodic-realsense2-camera depends on, and automatically installs ros-melodic-librealsense2.
realsense-viewer comes from a different installation which most likely was built with other flags. Therefore, the different behavior. Assuming it comes from an installed package, librealsense2-utils, I suggest the following:
remove the realsense2-camera packages: sudo apt purge ros-melodic-realsense2-camera ros-melodic-librealsense2
Install realsense2_Camera using method 2. In Method2-step 1 - you can install librealsense2 the way you already did (i.e. from debians or from code)

@KartmanCanada
Copy link
Author

Removed the ROS packages as indicated.

Under Method2, Step1 - key and repositories added fine but, when I try to install the DKMS, I get the following message:
E: Unable to locate package librealsense2-dkms

Further up on the install page it says, DKMS install is supported by "Ubuntu LTS kernels 4.4, 4.8, 4.10, 4.13, 4.15" but my Xavier NX install from NVIDIA page is "Linux Xavier 4.9.201-tegra".

How do I get the DKMS installed as part of Method2?

@MartyG-RealSense
Copy link
Collaborator

Hi @KartmanCanada Method 2 describes installing librealsense and the RealSense ROS wrapper separately - librealsense first and then the ROS wrapper secondly after librealsense has been installed. So to install librealsense from packages on a Jetson board, an approprite set of instructions would be the ones in section 4. Install with Debian Packages of librealsense's official Jetson installation page.

https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_jetson.md

@KartmanCanada
Copy link
Author

Following the Jetson path above seems to have left me at SDK 2.41... see message below when i try to build the ros_realsense:
CMake Warning at realsense-ros/realsense2_camera/CMakeLists.txt:44 (find_package):
Could not find a configuration file for package "realsense2" that is
compatible with requested version "2.45.0".

The following configuration files were considered but not accepted:

/usr/lib/aarch64-linux-gnu/cmake/realsense2/realsense2Config.cmake, version: 2.41.0

@MartyG-RealSense
Copy link
Collaborator

When you run the RealSense Viewer, which version number is shown at the top of the Viewer window, please?

image

@KartmanCanada
Copy link
Author

image

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Jun 21, 2021

The link below may be a useful reference for installing on Jetson. It was last updated in November 2020.

https://developer.ridgerun.com/wiki/index.php?title=Robot_Operating_System_ROS_on_Jetson_Platforms

The section on RealSense ROS installation begins here:

https://developer.ridgerun.com/wiki/index.php?title=Robot_Operating_System_ROS_on_Jetson_Platforms#Intel_RealSense_Camera_Support

@KartmanCanada
Copy link
Author

KartmanCanada commented Jun 21, 2021 via email

@doronhi
Copy link
Contributor

doronhi commented Jun 22, 2021

@MartyG-RealSense , thanks for pointing out the link error - Method 2 - step 1 should refer users with Jetson to the appropriate librealsense2 installation guide. I'll take care of that.
Also, it seems like the links you gave @KartmanCanada refer to the installation of debian ros-melodic-realsense2-camera whereas my suggestion was to avoid this installation. Hence the "moving in circles". The current issue is why @KartmanCanada got version 2.41.0 and not the latest - 2.47.0. Neglecting to apt update seems too simple.
I suggest trying to remove all debian installations of librealsense from your machine and try again.
I'll try to obtain a Xavier and try it out but in the meanwhile, I believe the direction to proceed is installing version 2.45 and above of librealsense2

@MartyG-RealSense
Copy link
Collaborator

Thanks very much @doronhi

@doronhi
Copy link
Contributor

doronhi commented Jun 22, 2021

Regarding the kernel patches, as seen in the release notes for librealsense2 v2.43.0 if you have Jetpack 4.4.1 you don't need kernel patches.

@Block137
Copy link

Allow me to use this discussion, I was about to open same issue.

My setup: AGX Xavier + 2x D430(no RGB) camera

I can only get pointcloud to publish with
<arg name="pointcloud_texture_stream" value="RS2_STREAM_ANY"/>
and it stops publishing if enable_infra1 or enable_infra2 is set to true

@KartmanCanada
Copy link
Author

KartmanCanada commented Jun 22, 2021 via email

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Jun 22, 2021

Hi @KartmanCanada RSUSB is a librealsense installation method that is performed over an internet connection. It installs dependencies over the internet instead of doing so with kernel patching. This means that when librealsense is installed with the RSUSB method, it is not dependent on Linux versions or kernel versions and does not require patching. It does have limitations compared to the patching-based installation method though, such as being unsuitable for projects that use more than one camera. It is useful for situations where kernel patching is not possible or when a problem is being caused by a conflict with the kernel though.

In regard to the official Jetson instructions' reference to performing a binary installation from Debian packages using DFORCE_RSUSB_BACKEND, I am admittedly uncertain what the instructions are referring to since DFORCE_RSUSB_BACKEND is usually related to installing librealsense from source code rather than packages. So I would recommend ignoring the mention of RSUSB when doing a package-based Jetson installation, as knowledge of RSUSB is not required to perform the package installation steps.


In regard to RSUSB installation from source code, the suggested method in the Jetson instructions to install from source code using the libuvc_installation.sh script seems similar to the libuvc backend installation process in the link below. This method of installing librealsense over an internet connection with libuvc_installation.sh was used before the RSUSB system was introduced.

https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md

@KartmanCanada
Copy link
Author

@MartyG-RealSense thank you for the clarification...

When will the Debian repository have something newer than 2.41 of librealsense? This issue has wandered waaaaay off track but, in the end, I hope it'll prove helpful. I looked at the /var/lib/apt/lists for "https://librealsense.intel.com/Debian/apt-repo bionic main" and, even after an "apt update" the newest version number is 2.41.

The next step of building realsense_ros is demanding 2.45 on my system.

Again, this all started because I was unable to get an RGB textured point cloud... My sincere hope is that getting librealsense v2.45 and a locally built version of realsense_ros v2.3 will fix my initial issue. I appreacate the support but this is taking more time/effort than I'd budgeted.

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Jun 22, 2021

Regarding your question of When will the Debian repository have something newer than 2.41 of librealsense?, I will field that to @doronhi as I am not involved in development activities or Debian package creation. Thanks so much for your patience!

@doronhi
Copy link
Contributor

doronhi commented Jun 23, 2021

@RealSenseCustomerSupport , Isn't a librealsense2 debian package version 2.45.0 already available for Jetson? Any idea why @KartmanCanada keeps on receiving the old 2.41.0 version?

@KartmanCanada
Copy link
Author

KartmanCanada commented Jun 24, 2021

@doronhi @RealSenseCustomerSupport @RealSenseSupport

Any response on Debian 2.41 package in repository for Jetson? I need 2.45 and I've been blocked for almost a week now.

Please advise. I keep doing 'apt update' and 'apt upgrade" to check... still stuck at 2.41. Local build of realsense_ros is demanding 2.45.

@doronhi
Copy link
Contributor

doronhi commented Jun 24, 2021

Hi @KartmanCanada , to the best of my knowledge there was an issue updating librealsense2 debian packages for Jetson. Until further response from @RealSenseSupport, and since you are currently blocked, I can only suggest building librealsense2 from code:

If the viewer runs ok with all the streams you need, carry on to building realsense2_camera.

@KartmanCanada
Copy link
Author

@doronhi

  1. built librealsense 2.47 from source. Success. Tested with 'realsense-viewer'. Depth, RGB, and 3D pointcloud displayed.

  2. built realsense-ros from source. Success. BUT SAME ISSUE THAT STARTED THIS ISSUE THREAD. in RVIZ, I can subscribe to and display the depth image. I can subscribe to but get no RGB images. And, of course, the PointCloud is empty.

If change the parameter 'name="pointcloud_texture_stream"' from RS2_STREAM_COLOR to RS2_STREAM_ANY. I can view both the depth and RGB images plus the point cloud is available but only with intensity (no RGB8 overlay)

I've wasted a week on this. Can we please fix? Image and log below
image

SUMMARY

PARAMETERS

  • /camera1/realsense2_camera/accel_fps: -1
  • /camera1/realsense2_camera/accel_frame_id: camera1_accel_frame
  • /camera1/realsense2_camera/accel_optical_frame_id: camera1_accel_opt...
  • /camera1/realsense2_camera/align_depth: False
  • /camera1/realsense2_camera/aligned_depth_to_color_frame_id: camera1_aligned_d...
  • /camera1/realsense2_camera/aligned_depth_to_fisheye1_frame_id: camera1_aligned_d...
  • /camera1/realsense2_camera/aligned_depth_to_fisheye2_frame_id: camera1_aligned_d...
  • /camera1/realsense2_camera/aligned_depth_to_fisheye_frame_id: camera1_aligned_d...
  • /camera1/realsense2_camera/aligned_depth_to_infra1_frame_id: camera1_aligned_d...
  • /camera1/realsense2_camera/aligned_depth_to_infra2_frame_id: camera1_aligned_d...
  • /camera1/realsense2_camera/allow_no_texture_points: False
  • /camera1/realsense2_camera/base_frame_id: camera1_link
  • /camera1/realsense2_camera/calib_odom_file:
  • /camera1/realsense2_camera/clip_distance: -2.0
  • /camera1/realsense2_camera/color_fps: -1
  • /camera1/realsense2_camera/color_frame_id: camera1_color_frame
  • /camera1/realsense2_camera/color_height: -1
  • /camera1/realsense2_camera/color_optical_frame_id: camera1_color_opt...
  • /camera1/realsense2_camera/color_width: -1
  • /camera1/realsense2_camera/confidence_fps: -1
  • /camera1/realsense2_camera/confidence_height: -1
  • /camera1/realsense2_camera/confidence_width: -1
  • /camera1/realsense2_camera/depth_fps: -1
  • /camera1/realsense2_camera/depth_frame_id: camera1_depth_frame
  • /camera1/realsense2_camera/depth_height: -1
  • /camera1/realsense2_camera/depth_optical_frame_id: camera1_depth_opt...
  • /camera1/realsense2_camera/depth_width: -1
  • /camera1/realsense2_camera/device_type:
  • /camera1/realsense2_camera/enable_accel: False
  • /camera1/realsense2_camera/enable_color: True
  • /camera1/realsense2_camera/enable_confidence: True
  • /camera1/realsense2_camera/enable_depth: True
  • /camera1/realsense2_camera/enable_fisheye1: False
  • /camera1/realsense2_camera/enable_fisheye2: False
  • /camera1/realsense2_camera/enable_fisheye: False
  • /camera1/realsense2_camera/enable_gyro: False
  • /camera1/realsense2_camera/enable_infra1: False
  • /camera1/realsense2_camera/enable_infra2: False
  • /camera1/realsense2_camera/enable_infra: False
  • /camera1/realsense2_camera/enable_pointcloud: False
  • /camera1/realsense2_camera/enable_pose: False
  • /camera1/realsense2_camera/enable_sync: False
  • /camera1/realsense2_camera/filters: pointcloud
  • /camera1/realsense2_camera/fisheye1_frame_id: camera1_fisheye1_...
  • /camera1/realsense2_camera/fisheye1_optical_frame_id: camera1_fisheye1_...
  • /camera1/realsense2_camera/fisheye2_frame_id: camera1_fisheye2_...
  • /camera1/realsense2_camera/fisheye2_optical_frame_id: camera1_fisheye2_...
  • /camera1/realsense2_camera/fisheye_fps: -1
  • /camera1/realsense2_camera/fisheye_frame_id: camera1_fisheye_f...
  • /camera1/realsense2_camera/fisheye_height: -1
  • /camera1/realsense2_camera/fisheye_optical_frame_id: camera1_fisheye_o...
  • /camera1/realsense2_camera/fisheye_width: -1
  • /camera1/realsense2_camera/gyro_fps: -1
  • /camera1/realsense2_camera/gyro_frame_id: camera1_gyro_frame
  • /camera1/realsense2_camera/gyro_optical_frame_id: camera1_gyro_opti...
  • /camera1/realsense2_camera/imu_optical_frame_id: camera1_imu_optic...
  • /camera1/realsense2_camera/infra1_frame_id: camera1_infra1_frame
  • /camera1/realsense2_camera/infra1_optical_frame_id: camera1_infra1_op...
  • /camera1/realsense2_camera/infra2_frame_id: camera1_infra2_frame
  • /camera1/realsense2_camera/infra2_optical_frame_id: camera1_infra2_op...
  • /camera1/realsense2_camera/infra_fps: 30
  • /camera1/realsense2_camera/infra_height: 480
  • /camera1/realsense2_camera/infra_rgb: False
  • /camera1/realsense2_camera/infra_width: 848
  • /camera1/realsense2_camera/initial_reset: False
  • /camera1/realsense2_camera/json_file_path:
  • /camera1/realsense2_camera/linear_accel_cov: 0.01
  • /camera1/realsense2_camera/odom_frame_id: camera1_odom_frame
  • /camera1/realsense2_camera/ordered_pc: False
  • /camera1/realsense2_camera/pointcloud_texture_index: 0
  • /camera1/realsense2_camera/pointcloud_texture_stream: RS2_STREAM_COLOR
  • /camera1/realsense2_camera/pose_frame_id: camera1_pose_frame
  • /camera1/realsense2_camera/pose_optical_frame_id: camera1_pose_opti...
  • /camera1/realsense2_camera/publish_odom_tf: True
  • /camera1/realsense2_camera/publish_tf: True
  • /camera1/realsense2_camera/rosbag_filename:
  • /camera1/realsense2_camera/serial_no: 102422075142
  • /camera1/realsense2_camera/stereo_module/exposure/1: 7500
  • /camera1/realsense2_camera/stereo_module/exposure/2: 1
  • /camera1/realsense2_camera/stereo_module/gain/1: 16
  • /camera1/realsense2_camera/stereo_module/gain/2: 16
  • /camera1/realsense2_camera/tf_publish_rate: 0.0
  • /camera1/realsense2_camera/topic_odom_in: odom_in
  • /camera1/realsense2_camera/unite_imu_method:
  • /camera1/realsense2_camera/usb_port_id:
  • /camera2/realsense2_camera/accel_fps: -1
  • /camera2/realsense2_camera/accel_frame_id: camera2_accel_frame
  • /camera2/realsense2_camera/accel_optical_frame_id: camera2_accel_opt...
  • /camera2/realsense2_camera/align_depth: False
  • /camera2/realsense2_camera/aligned_depth_to_color_frame_id: camera2_aligned_d...
  • /camera2/realsense2_camera/aligned_depth_to_fisheye1_frame_id: camera2_aligned_d...
  • /camera2/realsense2_camera/aligned_depth_to_fisheye2_frame_id: camera2_aligned_d...
  • /camera2/realsense2_camera/aligned_depth_to_fisheye_frame_id: camera2_aligned_d...
  • /camera2/realsense2_camera/aligned_depth_to_infra1_frame_id: camera2_aligned_d...
  • /camera2/realsense2_camera/aligned_depth_to_infra2_frame_id: camera2_aligned_d...
  • /camera2/realsense2_camera/allow_no_texture_points: False
  • /camera2/realsense2_camera/base_frame_id: camera2_link
  • /camera2/realsense2_camera/calib_odom_file:
  • /camera2/realsense2_camera/clip_distance: -2.0
  • /camera2/realsense2_camera/color_fps: -1
  • /camera2/realsense2_camera/color_frame_id: camera2_color_frame
  • /camera2/realsense2_camera/color_height: -1
  • /camera2/realsense2_camera/color_optical_frame_id: camera2_color_opt...
  • /camera2/realsense2_camera/color_width: -1
  • /camera2/realsense2_camera/confidence_fps: -1
  • /camera2/realsense2_camera/confidence_height: -1
  • /camera2/realsense2_camera/confidence_width: -1
  • /camera2/realsense2_camera/depth_fps: -1
  • /camera2/realsense2_camera/depth_frame_id: camera2_depth_frame
  • /camera2/realsense2_camera/depth_height: -1
  • /camera2/realsense2_camera/depth_optical_frame_id: camera2_depth_opt...
  • /camera2/realsense2_camera/depth_width: -1
  • /camera2/realsense2_camera/device_type:
  • /camera2/realsense2_camera/enable_accel: False
  • /camera2/realsense2_camera/enable_color: True
  • /camera2/realsense2_camera/enable_confidence: True
  • /camera2/realsense2_camera/enable_depth: True
  • /camera2/realsense2_camera/enable_fisheye1: False
  • /camera2/realsense2_camera/enable_fisheye2: False
  • /camera2/realsense2_camera/enable_fisheye: False
  • /camera2/realsense2_camera/enable_gyro: False
  • /camera2/realsense2_camera/enable_infra1: False
  • /camera2/realsense2_camera/enable_infra2: False
  • /camera2/realsense2_camera/enable_infra: False
  • /camera2/realsense2_camera/enable_pointcloud: False
  • /camera2/realsense2_camera/enable_pose: False
  • /camera2/realsense2_camera/enable_sync: False
  • /camera2/realsense2_camera/filters: pointcloud
  • /camera2/realsense2_camera/fisheye1_frame_id: camera2_fisheye1_...
  • /camera2/realsense2_camera/fisheye1_optical_frame_id: camera2_fisheye1_...
  • /camera2/realsense2_camera/fisheye2_frame_id: camera2_fisheye2_...
  • /camera2/realsense2_camera/fisheye2_optical_frame_id: camera2_fisheye2_...
  • /camera2/realsense2_camera/fisheye_fps: -1
  • /camera2/realsense2_camera/fisheye_frame_id: camera2_fisheye_f...
  • /camera2/realsense2_camera/fisheye_height: -1
  • /camera2/realsense2_camera/fisheye_optical_frame_id: camera2_fisheye_o...
  • /camera2/realsense2_camera/fisheye_width: -1
  • /camera2/realsense2_camera/gyro_fps: -1
  • /camera2/realsense2_camera/gyro_frame_id: camera2_gyro_frame
  • /camera2/realsense2_camera/gyro_optical_frame_id: camera2_gyro_opti...
  • /camera2/realsense2_camera/imu_optical_frame_id: camera2_imu_optic...
  • /camera2/realsense2_camera/infra1_frame_id: camera2_infra1_frame
  • /camera2/realsense2_camera/infra1_optical_frame_id: camera2_infra1_op...
  • /camera2/realsense2_camera/infra2_frame_id: camera2_infra2_frame
  • /camera2/realsense2_camera/infra2_optical_frame_id: camera2_infra2_op...
  • /camera2/realsense2_camera/infra_fps: 30
  • /camera2/realsense2_camera/infra_height: 480
  • /camera2/realsense2_camera/infra_rgb: False
  • /camera2/realsense2_camera/infra_width: 848
  • /camera2/realsense2_camera/initial_reset: False
  • /camera2/realsense2_camera/json_file_path:
  • /camera2/realsense2_camera/linear_accel_cov: 0.01
  • /camera2/realsense2_camera/odom_frame_id: camera2_odom_frame
  • /camera2/realsense2_camera/ordered_pc: False
  • /camera2/realsense2_camera/pointcloud_texture_index: 0
  • /camera2/realsense2_camera/pointcloud_texture_stream: RS2_STREAM_COLOR
  • /camera2/realsense2_camera/pose_frame_id: camera2_pose_frame
  • /camera2/realsense2_camera/pose_optical_frame_id: camera2_pose_opti...
  • /camera2/realsense2_camera/publish_odom_tf: True
  • /camera2/realsense2_camera/publish_tf: True
  • /camera2/realsense2_camera/rosbag_filename:
  • /camera2/realsense2_camera/serial_no: 102422076562
  • /camera2/realsense2_camera/stereo_module/exposure/1: 7500
  • /camera2/realsense2_camera/stereo_module/exposure/2: 1
  • /camera2/realsense2_camera/stereo_module/gain/1: 16
  • /camera2/realsense2_camera/stereo_module/gain/2: 16
  • /camera2/realsense2_camera/tf_publish_rate: 0.0
  • /camera2/realsense2_camera/topic_odom_in: odom_in
  • /camera2/realsense2_camera/unite_imu_method:
  • /camera2/realsense2_camera/usb_port_id:
  • /rosdistro: melodic
  • /rosversion: 1.14.11

NODES
/
base_to_RS1_broadcaster (tf/static_transform_publisher)
base_to_RS2_broadcaster (tf/static_transform_publisher)
rviz (rviz/rviz)
/camera1/
realsense2_camera (nodelet/nodelet)
realsense2_camera_manager (nodelet/nodelet)
/camera2/
realsense2_camera (nodelet/nodelet)
realsense2_camera_manager (nodelet/nodelet)

auto-starting new master
process[master]: started with pid [2476]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 56d82404-d572-11eb-b94d-204ef60a034f
process[rosout-1]: started with pid [2494]
started core service [/rosout]
process[camera1/realsense2_camera_manager-2]: started with pid [2511]
process[camera1/realsense2_camera-3]: started with pid [2512]
process[camera2/realsense2_camera_manager-4]: started with pid [2513]
process[camera2/realsense2_camera-5]: started with pid [2522]
process[base_to_RS1_broadcaster-6]: started with pid [2528]
process[base_to_RS2_broadcaster-7]: started with pid [2541]
[ INFO] [1624597266.013030873]: Initializing nodelet with 6 worker threads.
process[rviz-8]: started with pid [2564]
[ INFO] [1624597266.106826247]: Initializing nodelet with 6 worker threads.
[ INFO] [1624597266.767260284]: rviz version 1.13.17
[ INFO] [1624597266.767443389]: compiled against Qt version 5.9.5
[ INFO] [1624597266.767512445]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1624597266.787404235]: Forcing OpenGl version 0.
[ INFO] [1624597266.819332295]: RealSense ROS v2.3.0
[ INFO] [1624597266.819551624]: Built with LibRealSense v2.47.0
[ INFO] [1624597266.819641513]: Running with LibRealSense v2.47.0
[ INFO] [1624597266.828377579]: RealSense ROS v2.3.0
[ INFO] [1624597266.828498539]: Built with LibRealSense v2.47.0
[ INFO] [1624597266.828602188]: Running with LibRealSense v2.47.0
[ INFO] [1624597266.956970977]:
[ INFO] [1624597266.967600651]:
[ INFO] [1624597266.986781462]: Device with serial number 102422075142 was found.

[ INFO] [1624597266.986941430]: Device with physical ID /sys/devices/3610000.xhci/usb2/2-3/2-3.1/2-3.1:1.0/video4linux/video0 was found.
[ INFO] [1624597266.987304280]: Device with name Intel RealSense D435 was found.
[ INFO] [1624597266.989253983]: Device with port number 2-3.1 was found.
[ INFO] [1624597266.989379488]: Device USB type: 3.2
[ INFO] [1624597266.996733020]: Device with serial number 102422075142 was found.

[ INFO] [1624597266.996913885]: Device with physical ID /sys/devices/3610000.xhci/usb2/2-3/2-3.1/2-3.1:1.0/video4linux/video0 was found.
[ INFO] [1624597266.996986909]: Device with name Intel RealSense D435 was found.
[ INFO] [1624597266.999388583]: getParameters...
[ INFO] [1624597266.999661960]: Device with port number 2-3.1 was found.
[ INFO] [1624597267.028773786]: Device with serial number 102422076562 was found.

[ INFO] [1624597267.029768222]: Device with physical ID /sys/devices/3610000.xhci/usb2/2-3/2-3.4/2-3.4:1.0/video4linux/video4 was found.
[ INFO] [1624597267.030336832]: Device with name Intel RealSense D435 was found.
[ INFO] [1624597267.032935018]: Device with port number 2-3.4 was found.
[ INFO] [1624597267.033147243]: Device USB type: 3.2
[ INFO] [1624597267.046087613]: getParameters...
[ INFO] [1624597267.686631332]: setupDevice...
[ INFO] [1624597267.686800613]: JSON file is not provided
[ INFO] [1624597267.686879109]: ROS Node Namespace: camera1
[ INFO] [1624597267.687021222]: Device Name: Intel RealSense D435
[ INFO] [1624597267.687130054]: Device Serial No: 102422075142
[ INFO] [1624597267.687224038]: Device physical port: /sys/devices/3610000.xhci/usb2/2-3/2-3.1/2-3.1:1.0/video4linux/video0
[ INFO] [1624597267.687293671]: Device FW version: 05.12.14.50
[ INFO] [1624597267.687348615]: Device Product ID: 0x0B07
[ INFO] [1624597267.687399719]: Enable PointCloud: On
[ INFO] [1624597267.687451719]: Align Depth: Off
[ INFO] [1624597267.687519528]: Sync Mode: On
[ INFO] [1624597267.687669672]: Device Sensors:
[ INFO] [1624597267.700279929]: Stereo Module was found.
[ INFO] [1624597267.716323416]: setupDevice...
[ INFO] [1624597267.716455961]: JSON file is not provided
[ INFO] [1624597267.716529433]: ROS Node Namespace: camera2
[ INFO] [1624597267.716643801]: Device Name: Intel RealSense D435
[ INFO] [1624597267.716740282]: Device Serial No: 102422076562
[ INFO] [1624597267.716840570]: Device physical port: /sys/devices/3610000.xhci/usb2/2-3/2-3.4/2-3.4:1.0/video4linux/video4
[ INFO] [1624597267.716903290]: Device FW version: 05.12.14.50
[ INFO] [1624597267.716990683]: Device Product ID: 0x0B07
[ INFO] [1624597267.717046779]: Enable PointCloud: On
[ INFO] [1624597267.717354812]: Align Depth: Off
[ INFO] [1624597267.717432732]: Sync Mode: On
[ INFO] [1624597267.717592221]: Device Sensors:
[ INFO] [1624597267.725220379]: RGB Camera was found.
[ INFO] [1624597267.725409180]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1624597267.725517756]: Add Filter: pointcloud
[ INFO] [1624597267.727883077]: num_filters: 1
[ INFO] [1624597267.728005990]: Setting Dynamic reconfig parameters.
[ INFO] [1624597267.728239815]: Stereo is NOT SUPPORTED
[ INFO] [1624597267.729446795]: OpenGL device: NVIDIA Tegra Xavier (nvgpu)/integrated
[ INFO] [1624597267.729619532]: OpenGl version: 4.6 (GLSL 4.6).
[ INFO] [1624597267.732117846]: Stereo Module was found.
[ INFO] [1624597267.757871546]: RGB Camera was found.
[ INFO] [1624597267.758048859]: (Confidence, 0) sensor isn't supported by current device! -- Skipping...
[ INFO] [1624597267.758153820]: Add Filter: pointcloud
[ INFO] [1624597267.760354148]: num_filters: 1
[ INFO] [1624597267.760484869]: Setting Dynamic reconfig parameters.
[ WARN] [1624597267.909589259]: Param '/camera1/stereo_module/auto_exposure_limit' has value 0 that is not in range [1, 165000]. Removing this parameter from dynamic reconfigure options.
[ WARN] [1624597267.914735487]: Param '/camera1/stereo_module/auto_gain_limit' has value 0 that is not in range [16, 248]. Removing this parameter from dynamic reconfigure options.
[ WARN] [1624597267.940824517]: Param '/camera2/stereo_module/auto_exposure_limit' has value 0 that is not in range [1, 165000]. Removing this parameter from dynamic reconfigure options.
[ WARN] [1624597267.948382947]: Param '/camera2/stereo_module/auto_gain_limit' has value 0 that is not in range [16, 248]. Removing this parameter from dynamic reconfigure options.
[ INFO] [1624597268.164652848]: Done Setting Dynamic reconfig parameters.
[ INFO] [1624597268.166451703]: depth stream is enabled - width: 848, height: 480, fps: 30, Format: Z16
[ INFO] [1624597268.168217150]: color stream is enabled - width: 640, height: 480, fps: 30, Format: RGB8
[ INFO] [1624597268.168391934]: setupPublishers...
[ INFO] [1624597268.169755908]: Done Setting Dynamic reconfig parameters.
[ INFO] [1624597268.171482827]: depth stream is enabled - width: 848, height: 480, fps: 30, Format: Z16
[ INFO] [1624597268.173238449]: color stream is enabled - width: 640, height: 480, fps: 30, Format: RGB8
[ INFO] [1624597268.173851828]: setupPublishers...
[ INFO] [1624597268.180776431]: Expected frequency for depth = 30.00000
[ INFO] [1624597268.196610573]: Expected frequency for depth = 30.00000
[ INFO] [1624597268.576035319]: Expected frequency for color = 30.00000
[ INFO] [1624597268.625993242]: Expected frequency for color = 30.00000
[ INFO] [1624597268.852740048]: setupStreams...
[ INFO] [1624597268.855595323]: insert Depth to Stereo Module
[ INFO] [1624597268.855761276]: insert Color to RGB Camera
[ INFO] [1624597268.867832875]: setupStreams...
[ INFO] [1624597268.871078424]: insert Depth to Stereo Module
[ INFO] [1624597268.871240729]: insert Color to RGB Camera
[ INFO] [1624597268.927942710]: SELECTED BASE:Depth, 0
[ INFO] [1624597268.942832112]: SELECTED BASE:Depth, 0
[ WARN] [1624597268.999145964]:
[ WARN] [1624597269.012711585]:
[ INFO] [1624597269.036490654]: RealSense Node Is Up!
[ INFO] [1624597269.060923710]: RealSense Node Is Up!
[ INFO] [1624597332.175592722]: publishing unordered pointcloud.
[ WARN] [1624597332.356723497]: No stream match for pointcloud chosen texture Process - Color

@KartmanCanada
Copy link
Author

@doronhi @MartyG-RealSense

#1324

This issue seems to be very similar to my issue but I don't see a resolution. I would prefer not to unplug the RealSense cameras and put them back in the boxes. How do we resolve this?

@MartyG-RealSense
Copy link
Collaborator

I have in the past suggested adding the topic depth/color/points/PointCloud2 with the Add button in RViz.

#1605 (comment)

@MartyG-RealSense
Copy link
Collaborator

Hi @KartmanCanada Do you have an update about this case that you can provide, please? Thanks!

@MartyG-RealSense
Copy link
Collaborator

A common factor that I identified between this case and two other cases that had no Color Transformer options available was that they were on computing boards with Arm processors (one with Raspberry Pi 3B+, and the other on Nvidia Jetson Xavier NX like in your own case).

#1967 (comment)

@MartyG-RealSense
Copy link
Collaborator

Hi @KartmanCanada Do you require further assistance with this case, please? Thanks!

@MartyG-RealSense
Copy link
Collaborator

Case closed due to no further comments received.

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

4 participants