I’m using ROS Noetic with camera_aravis to try and grab frames from a Lucid RGB camera and a Teledyne Dalsa IR camera. I’m running rosrun camera_aravis cam_aravis and the Lucid RGB camera is working as expected but the Dalsa IR camera is not. I get an error:
Aravis-CRITICAL **: arv_stream_get_statistics: as asertion ‘ARV_IS_STREAM (stream)’ failed
Aravis-CRITICAL **: arv_gv_stream_get_statistics: as asertion ‘ARV_IS_GV_STREAM (gv_stream)’ failed
I guess this question is related to the camera_aravis ROS package.
I therefore suggest re-posting the same questions as an issue there.
I think this error can come from the camera being misconfigured by the default parameters of the camera_aravis driver.
Try writing a launch file similar to camera_aravis.launch and see which values are reasonable for your IR camera. Especially the values pixel_format, width and height matter.
Our survey vehicle has a FLIR IR camera and we use the following settings: