Closed peredwardsson closed 3 years ago
Hi @peredwardsson
I just tried ros2 launch zed_wrapper zed2.launch.py
as double check and it works as expected.
Are you starting it inside the container?
Can you run the command ros2 doctor
while the node is running to see if there is something wrong in your configuration?
Yes, running it inside of container. I believe it has worked previously, so I also suspect some configuration issue. ros2 doctor
output:
# ros2 doctor
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/__init__.py: 108: UserWarning: Fail to call PackageCheck class functions.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /actuators/esc/motor_current_axis0.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /actuators/esc/motor_current_axis1.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /actuators/esc/odom_odrive.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /actuators/esc/vbus_voltage.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /actuators/esc/vel_estimate.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 56: UserWarning: Subscriber without publisher detected on /actuators/odom_odrive.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /cloud.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /cloud_ground.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /cloud_map.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /cloud_obstacles.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 56: UserWarning: Subscriber without publisher detected on /cmd_vel.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /diagnostics.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /global_path.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /global_path_nodes.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 56: UserWarning: Subscriber without publisher detected on /global_pose.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 56: UserWarning: Subscriber without publisher detected on /goal.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 56: UserWarning: Subscriber without publisher detected on /goal_node.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /goal_out.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /goal_reached.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 56: UserWarning: Subscriber without publisher detected on /gps/fix.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /grid_prob_map.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 56: UserWarning: Subscriber without publisher detected on /imu.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /info.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 56: UserWarning: Subscriber without publisher detected on /initialpose.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /labels.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /landmarks.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /local_grid_empty.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /local_grid_ground.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /local_grid_obstacle.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /local_path.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /local_path_nodes.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 56: UserWarning: Subscriber without publisher detected on /localization/joint_states.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /localization/odometry/filtered.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /localization/robot_description.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 56: UserWarning: Subscriber without publisher detected on /localization/set_pose.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /localization_pose.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /map.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /mapData.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /mapGraph.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /mapPath.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /octomap_empty_space.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /octomap_global_frontier_space.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /octomap_grid.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /octomap_ground.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /octomap_obstacles.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /octomap_occupied_space.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /rgbd_image/compressed.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/rtabmap/depth.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/atm_press.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/confidence/confidence_map.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/imu/data.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/imu/data_raw.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/imu/mag.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/left/camera_info.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/left/image_rect_color.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/left/image_rect_gray.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/left_cam_imu_transform.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/left_raw/camera_info.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/left_raw/image_raw_color.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/left_raw/image_raw_gray.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/path_map.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/path_odom.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/point_cloud/cloud_registered.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/pose.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/pose_with_covariance.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/rgb/image_rect_color.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/rgb/image_rect_gray.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/rgb_raw/camera_info.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/rgb_raw/image_raw_color.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/rgb_raw/image_raw_gray.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/right/camera_info.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/right/image_rect_color.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/right/image_rect_gray.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/right_raw/camera_info.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/right_raw/image_raw_color.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/right_raw/image_raw_gray.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/stereo_raw/image_raw_color.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/temperature/imu.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/temperature/left.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 53: UserWarning: Publisher without subscriber detected on /sensors/zed_node/temperature/right.
/opt/ros/foxy/install/lib/python3.6/site-packages/ros2doctor/api/topic.py: 56: UserWarning: Subscriber without publisher detected on /user_data_async.
All 3 checks passed
It's strange that the depth topic is not present in the warning list.
Can you please post the output of the command
$ ros2 topic list
?
It was probably an issue with image_transport
which is used to create some of the publishers. Observing the source code, I noticed that topics that had publishers created with that package's publisher creation functions. Reinstalling image_transport
seems to have fixed it.
image_transport
is a problem until they do not add the fix in the official release
Preliminary Checks
Description
On starting the node, all topics that are advertised are displayed. Only a fraction of them actually publish anything. Critically, depth images or stereo images are not published, while IMU and zed_node/stereo/image_rect_color are published.
Steps to Reproduce
In a Docker environment running on Jetson AGX Xavier, build ZED SDK and Zed Wrapper:
Start node with the following config:
ros2 topic hz /sensors/zed_node/depth/depth_registered
. Observe lack of output.ros2 topic hz /sensors/zed_node/rgb/image_rect_color
. Revel at the correct amount of output.Expected Result
I expect that any advertised topic produce data. In particular, that stereo, depth, rectified and associated camera infos are published.
Actual Result
Some topics produce data, but most do not.
ZED Camera model
ZED2
Environment
Anything else?
For the record, running
ros2 launch zed_wrapper zed2.launch.py
gives the same behavior.