Giter VIP home page Giter VIP logo

Comments (9)

laszloturanyi avatar laszloturanyi commented on June 8, 2024 2

This has been merged.
ros-perception/image_transport_plugins#58
I tried to compile image_transport_plugins from source and it worked fine.

from zed-ros2-wrapper.

Rayman avatar Rayman commented on June 8, 2024 2

I've tried to run the zed driver on foxy, but I'm still seeing the errors reported in this issue. I'm running the following branches:

PR58 has been merged into the ros2 branch.

from zed-ros2-wrapper.

jfinken avatar jfinken commented on June 8, 2024 1

Yes, I have tried all of the above as well (as per the Description):

  • compile image_transport_plugins from source
  • applying PR58 manually, then recompiling.
  • observe all of the above errors with both attempts.

I can say that there are two problems generated by the same cause: the image_transport plugin does not correctly handle the namespace of the node. I continue to investigate the problem to try to understand if it is possible to fix it

Great thank you so much Walter.

from zed-ros2-wrapper.

Bmoradi93 avatar Bmoradi93 commented on June 8, 2024 1

to use image_transport package in foxy:
mkdir -p foxy_ws/src

cd foxy_ws/src

fit clone https://github.com/ros-perception/image_common.git

cd image_common && git checkout galactic

cd .. && git clone https://github.com/ros-perception/image_transport_plugins.git

cd image_transport_plugins && git checkout foxy-devel

cd ../..

source /opt/ros/foxy/setup.bash && colcon build

source install/setup.bash

ros2 run image_transport republish compressed --ros-args -r in/compressed:=image_compressed -r out:=image_raw

from zed-ros2-wrapper.

Myzhar avatar Myzhar commented on June 8, 2024

This is a ROS2 Foxy bug that they have just solved but it has not yet been merged in the repository.
To avoid the problems you must compile the image_transport package by source.

However the master branch of the ZED ROS2 Wrapper is not ready to work with ROS2 Foxy, we are currently working on a Foxy release, you can checkout the dev_foxy branch.

from zed-ros2-wrapper.

Myzhar avatar Myzhar commented on June 8, 2024

Recompiling the image_transport_plugins package the new error
[ERROR] Failed to load plugin image_transport/compressed_pub, error string: parameter 'zed_node.xxxxxx.yyyyyyyyyyyyy.format' could not be set: Not supported
comes out.
I suppose that this is caused by the wrong handling of the params namespace by the applied patch.

I'm working on it to try to fix the problem, waiting for a solution by the ROS developers

from zed-ros2-wrapper.

Myzhar avatar Myzhar commented on June 8, 2024

I reverted to the "original" image_transport_plugins package available with sudo apt install ros-foxy-image-transport-plugins to verify what happens when advertizing the image topics and I noticed this:

[zed_wrapper-2] 1616604958.106023291 [zed2.zed_node] [INFO] *** PUBLISHED TOPICS ***
[zed_wrapper-2] 1616604958.210126809 [zed2.zed_node] [ERROR] Failed to load plugin image_transport/compressed_pub, error string: parameter 'format' could not be set: Not supported
[zed_wrapper-2] 
[zed_wrapper-2] 1616604958.215524369 [zed2.zed_node] [INFO] Advertised on topic: /zed2/zed_node/rgb/image_rect_color
[zed_wrapper-2] 1616604958.216225843 [zed2.zed_node] [ERROR] Failed to load plugin image_transport/compressed_pub, error string: parameter 'format' has already been declared
[zed_wrapper-2] 
[zed_wrapper-2] 1616604958.216975911 [zed2.zed_node] [INFO] Advertised on topic: /zed2/zed_node/rgb/image_rect_gray
[zed_wrapper-2] 1616604958.216997175 [zed2.zed_node] [INFO] Advertised on topic: /zed2/zed_node/rgb/camera_info
[zed_wrapper-2] 1616604958.217617106 [zed2.zed_node] [ERROR] Failed to load plugin image_transport/compressed_pub, error string: parameter 'format' has already been declared
[zed_wrapper-2] 
[zed_wrapper-2] 1616604958.218326287 [zed2.zed_node] [INFO] Advertised on topic: /zed2/zed_node/rgb_raw/image_raw_color
[zed_wrapper-2] 1616604958.219129885 [zed2.zed_node] [ERROR] Failed to load plugin image_transport/compressed_pub, error string: parameter 'format' has already been declared

at the very beginning, the error is not supported then it becomes parameter 'format' has already been declared, indeed if you look in the params list there is a format parameter.

I can say that there are two problems generated by the same cause: the image_transport plugin does not correctly handle the namespace of the node.

I continue to investigate the problem to try to understand if it is possible to fix it

from zed-ros2-wrapper.

Myzhar avatar Myzhar commented on June 8, 2024

Good news, thank you

from zed-ros2-wrapper.

jfinken avatar jfinken commented on June 8, 2024

Note that I have previously applied PR58 manually and still observed the issue with the ZED2/zed_ros2_wrapper/ROS2-foxy. Do you observe the same @Myzhar?

Thanks in advance.

from zed-ros2-wrapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.