-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[ros2run]: Process exited with failure 3221226505 #2889
Comments
Hi @aliasghar1721 If you are using SDK 2.51.1 then there would be a mismatch with the latest version of the ros2-development wrapper, which was designed for use with SDK 2.54.1 at the time of writing this. You could try installing SDK 2.54.1 and then building the ROS2 wrapper again with colcon. If 2.54.1 is installed then the firmware driver installed in your computer should be version 5.15.0.2. The recommended firmware for 2.51.1 is 5.13.0.50. |
Hi @MartyG-RealSense, thank you for your reply. Just to clarify, I am currently using librealsense v2.51.1 with a custom wrapper for an application with no issues regarding operating my Realsense camera (D457). Regardless, I built the realsense-ros wrapper's ros2-development branch with librealsense v2.54.1 using colcon. Unfortunately, I still have the exact same problem. |
As the source code installation procedure uses Linux sudo commands, could you describe how you are building the ROS2 wrapper on Windows with instructions designed for Linux, please. Are you using the Windows Subsystem for Linux (WSL2) to input the commands into a Linux environment within Windows, please? |
I am working natively on Windows 11. To build the wrapper, I am using a Visual Studio 2019 developer command prompt in admin mode and calling colcon inside of my workspace after sourcing ROS2 Humble. The build runs successfully and the logs show no errors. |
Usually, building the ROS2 wrapper on Windows involves using the WLS2 Linux interface within Windows and following a long procedure of manually installing components that does not always work. I believe that you are the first RealSense user to take this ROS2 wrapper installation approach with VS and whilst it's excellent that the installation worked for you without errors, there are no references available for solving problems that occur during launch with such an installation, unfortunately. I do apologize. Have you tried both types of launch instruction? ros2 run ros2 launch |
That's unfortunate. Yes I've tried both the launch instructions. The
I've tried the WSL2 method as well (I didn't run into much trouble while building it). While realsense-viewer is able to access my camera from WSL2, the ros2 node cannot find my camera, despite it being listed by the I am not sure what my next step should be. |
A user of Windows and ROS Humble described the method that they used to achieve a successful build of the wrapper with colcon build at #2660 (comment) |
Hi @aliasghar1721 Do you require further assistance with this case, please? Thanks! |
Hi,
I'm trying to get the ROS2 wrapper for librealsense to work on Windows 11. I'm using ROS2 Humble and RealSense SDK 2.51.1. I am also able to build the realsense-ros wrapper with no errors using colcon. However, when I execute the node, it instantly crashes with the following output:
[ros2run]: Process exited with failure 3221226505
To investigate the source of this crash, I debugged the
realsense2_camera_node
project in therealsense2_camera.sln
and found the following exception:This exception is thrown by kernelbase.dll.
I am not sure if this is a realsense-ros or rclcpp issue, or some version mismatch. Your help will be appreciated.
Thank you
The text was updated successfully, but these errors were encountered: