ros-event-camera / metavision_driver

driver for event based cameras using the MetaVision SDK (Prophesee and CenturyArk)
Apache License 2.0
42 stars 12 forks source link

Issue when trying to open both RGB and Event cameras #49

Closed samchopra2003 closed 3 months ago

samchopra2003 commented 3 months ago

For the RGB camera, I am using the Flir Blackfly S with this driver: https://github.com/ros-drivers/flir_camera_driver. I am using a Prophesee Evk4 event camera.

When I try to run both drivers I am unable to open the event camera which is launched second in my ros2 launch file. My rgb camera which is launched first is successfully launched.

I am getting the following error: image(39)

24071693 is the rgb camera serial number. When I run the event camera launch file I typically do not specify a serial number, and the event camera driver is able to detect the camera.

System details

operating system/version: Ubuntu 22.04.4 LTS (Jammy Jellyfish)
ROS version: ROS 2 Humble
samchopra2003 commented 3 months ago

The event camera launch file works fine when launched individually and not running it together with the rgb camera.

samchopra2003 commented 3 months ago

Seems like I had used the same serial_number argument for both launch files resulting in a conflict.

berndpfrommer commented 3 months ago

Good. have been able to run exactly this combination in the past, so if it no longer worked it would imply a regression.