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

realsense_splitter error #99

Open
davidlmljll opened this issue Mar 19, 2024 · 3 comments
Open

realsense_splitter error #99

davidlmljll opened this issue Mar 19, 2024 · 3 comments

Comments

@davidlmljll
Copy link

I found that the output image of the splitter still has projection interference, but I have turned on emitter_on_off and the original camera also outputs correctly (shown as projection point images appearing at intervals)
opencv_error
At the same time, when I start nvblox, an error related to opencv will appear, as shown below. How to solve it?

@HappySamuel
Copy link

I also faced the similar issue. At first, i follow the instructions here https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_nvblox/isaac_ros_nvblox/troubleshooting/troubleshooting_nvblox_realsense.html and do the setting.
Then i have the emitter setting as below. However, through rviz, discover that the splitter output image have emitter projection on it, which lead to visual slam cannot give a stable odometry.

depth_module:
  profile: '640x480x60'
  emitter_enabled: 1
  emitter_on_off: true

Any idea why? and how to solve this issue?

@HariKrishnan06082k
Copy link

@davidlmljll For your issue it looks like there's some incompatibility with the librealsense version and ros2 wrapper. I would also suggest you to build with the option of RSUSB_BACKEND true to avoid any incompatibility caused by kernel modules inside your docker (make sure it has --privileged flag as well).

@HappySamuel I noticed this issue too apparently doing this as part of config file causes it to not work properly but after bringing up the camera node with the ros2 params depth_module.emitter_enabled:0 and depth_module.emitter_on_off: false initially and once the realsense node is up and running in another terminal running ros2 param set /camera/camera depth_module.emitter_enabled:0 followed by depth_module.emitter_on_off: true seems to work in the sense you dont see dotted IR projections from realsense splitter node. Idk why we can't trigger it at start in Launch Configuration level but it looks like a common problem which I'm facing too. you can time it set these params once the realsense camera node is up and running or have a sequential launch config which triggers once the realsense node camera is running. Unnecessary headache but yeah :(

@HappySamuel
Copy link

@davidlmljll For your issue it looks like there's some incompatibility with the librealsense version and ros2 wrapper. I would also suggest you to build with the option of RSUSB_BACKEND true to avoid any incompatibility caused by kernel modules inside your docker (make sure it has --privileged flag as well).

@HappySamuel I noticed this issue too apparently doing this as part of config file causes it to not work properly but after bringing up the camera node with the ros2 params depth_module.emitter_enabled:0 and depth_module.emitter_on_off: false initially and once the realsense node is up and running in another terminal running ros2 param set /camera/camera depth_module.emitter_enabled:0 followed by depth_module.emitter_on_off: true seems to work in the sense you dont see dotted IR projections from realsense splitter node. Idk why we can't trigger it at start in Launch Configuration level but it looks like a common problem which I'm facing too. you can time it set these params once the realsense camera node is up and running or have a sequential launch config which triggers once the realsense node camera is running. Unnecessary headache but yeah :(

Thanks @HariKrishnan06082k for the step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants