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

Launching zed_display_rviz2 terminates with rclcpp::exceptions::InvalidTopicName #43

Closed
2 tasks done
cuteredpwnda opened this issue Jan 9, 2025 · 1 comment
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@cuteredpwnda
Copy link

Preliminary Checks

  • This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description

When launching the zed_display_rviz2 example with ros2 launch zed_display_rviz2 display_zed_cam.launch.py camera_model:="zed2" the process terminates with an error message (see below).
Launching the zed_wrapper with ros2 launch zed_wrapper zed_camera.launch.py camera_model:='zed2' yields the same error.

Steps to Reproduce

  1. Launch zed_wrapper or zed_display_rviz2 with ROS2 Foxy on Ubuntu 20.04

Expected Result

The example should provide a rviz2 window with the cameras view as described here.

Actual Result

Process terminates with error message:

[...]
[component_container-3] [INFO] [1736425163.658544267] [zed.zed_node]: *** Subscribers ***
[component_container-3] terminate called after throwing an instance of 'rclcpp::exceptions::InvalidTopicNameError'
[component_container-3]   what():  Invalid topic name: topic name must not be empty string:
[component_container-3]   ''
[component_container-3]    ^
[component_container-3] 
[ERROR] [component_container-3]: process has died [pid 8240, exit code -6, cmd '/opt/ros/foxy/lib/rclcpp_components/component_container --ros-args -r __node:=zed_container -r __ns:=/zed'].

A small (probably minimal size) rviz2 window opens without any content in it. When interacting, the rviz2 process also dies.
I am unable to find the errors origin or how to fix the topic name not being empty.

ZED Camera model

ZED2

Environment

OS: Ubuntu 20.04 Focal Fossa (Release 5.10.192-tegra)
HW: NVIDIA Jetson AGX Xavier (32GB) with Jetpack 5.1.3 and CUDA 11.4.315
ZED SDK Version: 4.2.2
Other info: ROS2 Foxy (I know it is EOL, but I can't upgrade to Ubuntu 22.04 and ROS2 Humble)

Anything else?

No response

@cuteredpwnda cuteredpwnda added the bug Something isn't working label Jan 9, 2025
@cuteredpwnda
Copy link
Author

Sorry, found a reference here: stereolabs/zed-ros2-wrapper#282

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant