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

RosGzPointCloud Not Loading #549

Open
BobbieZain opened this issue May 20, 2024 · 5 comments
Open

RosGzPointCloud Not Loading #549

BobbieZain opened this issue May 20, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@BobbieZain
Copy link

BobbieZain commented May 20, 2024

Environment

  • OS Version: Ubuntu 22.04
  • Binary build: ROS2 Humble 2.5.5-1jammy.20240404.154053| Gazebo Fortress 6.16.0

Description

  • Expected behavior: The depth image can be seen in image display
  • Actual behavior: The image display cannot be dropped down and the plugin is not correctly loaded

Steps to reproduce

1.Go to ros_gz_point_cloud/examples
2.Run ign gazebo -r examples/depth_camera.sdf

Output

Error message:
[Err] [SystemLoader.cc:94] Failed to load system plugin [RosGzPointCloud] : couldn't find shared library.
Screenshot:
image

@BobbieZain BobbieZain added the bug Something isn't working label May 20, 2024
@BobbieZain
Copy link
Author

Hello, do I need to install the RosGzPointCloud library? If so, how?

@azeey
Copy link
Contributor

azeey commented May 22, 2024

The PointCloud plugin is unfortunately in a broken state right now. There's a COLCON_IGNORE file in the package.

A workaround for this is to use ros_gz_bridge to bridge point cloud messages from Gazebo to ROS. Here is an example.

@DanielBar98
Copy link

Are there any updates on this?

@caguero
Copy link
Contributor

caguero commented Nov 1, 2024

We're looking into an alternative, stay tuned for news soon.

@SuperJappie08
Copy link

SuperJappie08 commented Nov 29, 2024

I attempted to get this working on ROS Jazzy with Gazebo Harmonic, which I also mentioned in #360.

Here is the same comment, since it might also apply:

I attempted to port this for ROS Jazzy and Gazebo Harmonic. (Because it looked useful and doable, and I wanted more about Gazebo)

However, even after converting it to a rendering plugin, the performance improvements gazebosim/gz-sensors#447 and gazebosim/gz-sensors#413, it is no longer possible to get data via the renderer directly without subscribing to the (gazebo) topic.
(Unless there is a way to retrieve and attach to the gz::sensor object directly, which I was unable to find)

(My branch lives here, although not functioning as expected SuperJappie08/ros_gz jazzy-point-cloud)

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

No branches or pull requests

5 participants