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

ViewController 'Current View'unavailable. (on 2c1dc1cab80c) #6

Open
2 tasks done
electop opened this issue Dec 29, 2021 · 3 comments
Open
2 tasks done

ViewController 'Current View'unavailable. (on 2c1dc1cab80c) #6

electop opened this issue Dec 29, 2021 · 3 comments
Labels
bug Something isn't working feature_request New feature or request

Comments

@electop
Copy link

electop commented Dec 29, 2021

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

I tried to execute the ros2 examples according to the guidance, and an issue occurred.

Steps to Reproduce

  1. Install the zed-ros2-wrapper package following the installation guide
  2. Install the zed-ros2-examples package following the installation guide
  3. Execution
ros2 launch zed_display_rviz2 display_zed2i.launch.py

Expected Result

depthcloud

Actual Result

error window popup

  • Window title : ViewController 'Current View'unavailable. (on 2c1dc1cab80c)
    • Description
      • The class required for this view controller, 'rviz_default_plugins/Orbit', could not be loaded.
        Error:
        Failed to load library /opt/ros/foxy/lib/librviz_default_plugins.so.
        Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML.
        Error string: Could not load library LoadLibrary error:
        liburdfdom_world.so.1.0: cannot open shared object file: No such file or directory, at /tmp/binarydeb/ros-foxy-rcutils-1.1.3/src/shared_library.c:84

ZED Camera model

ZED2i

Environment

OS : Ubuntu 20.04
Docker image : stereolabs/zed:3.6-gl-devel-cuda11.4-ubuntu20.04

Anything else?

No response

@electop electop added the bug Something isn't working label Dec 29, 2021
@Myzhar
Copy link
Member

Myzhar commented Dec 29, 2021

Hi @electop
You have not installed all the plugins for Rviz2.
I do not remember the name of the package to install,
please look for something like rviz-default-plugins

@electop
Copy link
Author

electop commented Dec 31, 2021

Thanks to @Myzhar
I found an exact command and it has resolved.

$ sudo apt install ros-foxy-rviz-default-plugins

Please update prerequisites on the README.md.

Prerequisites

  • Ubuntu 20.04
  • ZED SDK v3.3 or later
  • ROS2 ROS 2 Foxy Fitzroy
  • RVIZ2 and Plugins

@electop electop closed this as completed Dec 31, 2021
@Myzhar Myzhar reopened this Dec 31, 2021
@Myzhar Myzhar added the feature_request New feature or request label Dec 31, 2021
@Myzhar
Copy link
Member

Myzhar commented Dec 31, 2021

TODO: add rviz-default-plugins to dependencies

Myzhar added a commit that referenced this issue Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature_request New feature or request
Development

No branches or pull requests

2 participants