Closed AndreV84 closed 2 years ago
Hi @AndreV84 can you provide more information? What do you expect? What do you get instead?
@Myzhar Thank you for following up I tested this thing after getting it built
ros2 run zed_rgb_convert zed_rgb_convert
Could you extend on how to run it, please? Here they point out that just running it won't work: https://www.stereolabs.com/docs/ros2/ros2-composition/ How it is supposed that I execute it with zed camera from the built examples?
It appears that in your readme ther are 0 instructions on use of the example in relation to how to execute it On the other hand at the article they point out that it won't just work
The launch file
Starting the node using the $ ros2 run zed_rgb_convert zed_rgb_convert CLI command will result in a failure: many errors and warning will be logged in the console, while publishers and subscribers will be not linked.
Why won't you provide the example in a way it will just work with the supplied launch file?
@AndreV84 you can find the full explanation of this tutorial on the Stereolabs online documentation as reported in the readme. The scope of this tutorial is to explain how to take advantage of the COMPOSITION concept in ROS2. A simple README with command to launch the node is out of the scope of the tutorial.
If you read all the documentation, you can understand that the correct way to execute the node is not but calling it directly with the run
command, but using the explained LAUNCH file with the correct configuration parameters.
@Myzhar, why won't you supply the correct version of the launch file in the github repository? It has a launch file supplied. Is it errorneous? copy paste from the tutorial causes formatting errors
how do you run the launch file if not using the run? these steps are not in the vague description of the article nor in the github repository
The launch file in the repository is correct and working as expected with the latest version of the ROS2 Wrapper repository and the ZED SDK v3.8
it won't run it crashes with errors as wasa pointed out in the tutorial how do you run the launch file if not using the run? could you extend, please?
I can run this thing from the examples
ros2 launch zed_display_rviz2 display_zed.launch.py
seems I can run it with
ros2 launch zed_rgb_convert zed_rgb_convert.launch.py
but it won't work
[zed_rgb_convert-2] terminate called after throwing an instance of 'std::invalid_argument'
[zed_rgb_convert-2] what(): intraprocess communication allowed only with volatile durability
[ERROR] [zed_rgb_convert-2]: process has died [pid 47100, exit code -6, cmd '/home/nvidia/zed_ws/install/zed_rgb_convert/lib/zed_rgb_convert/zed_rgb_convert --ros-args -r __ns:=/zed2 --params-file /home/nvidia/zed_ws/install/zed_wrapper/share/zed_wrapper/config/common.yaml --params-file /home/nvidia/zed_ws/install/zed_wrapper/share/zed_wrapper/config/zed2.yaml -r zed_image_4ch:=zed_node/rgb/image_rect_color -r camera_info:=zed_node/rgb/camera_info'].
will try to re-install the sdk
The following "problem" has been fixed with the most recent release of the ZED ROS2 Wrapper:
what(): intraprocess communication allowed only with volatile durability
If you get this error then you are not using the latest versions of the ZED ROS2 repositories.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days
Preliminary Checks
Proposal
--
Use-Case
the command below won't work
ros2 run zed_rgb_convert zed_rgb_convert
Anything else?
how to run?