alliedvision / vimbax_ros2_driver

ROS 2 driver for Vimba X
BSD 3-Clause "New" or "Revised" License
2 stars 9 forks source link

Error Recieved when trying to launch the camera #7

Open EvanVarga opened 1 week ago

EvanVarga commented 1 week ago

I've tried opening with both the camera IP, and device ID, but both give the same error (VmbErrorNotFound).

ros2 launch vimbax_camera_launch.py [INFO] [launch]: All log files can be found below /home/sd1/.ros/log/2024-10-01-13-00-43-633149-sd1-78828 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [vimbax_camera_node-1]: process started with pid [78831] [vimbax_camera_node-1] [INFO] [1727802043.664261097] [vimbax_camera_test.vimbax_camera_test]: Initializing VimbaX API ... [vimbax_camera_node-1] [INFO] [1727802043.664300946] [vimbax_camera_test.vimbax_camera_test]: Starting VimbaX camera node ... [vimbax_camera_node-1] [INFO] [1727802043.664306634] [vimbax_camera_test.vimbax_camera_test]: Loading VimbaX api ... [vimbax_camera_node-1] [INFO] [1727802043.724475920] [vimbax_camera_test.vimbax_camera_test]: Successfully loaded VmbC API version 1.0.5 [vimbax_camera_node-1] [INFO] [1727802043.724608819] [vimbax_camera_test.vimbax_camera_test]: Initializing camera observer... [vimbax_camera_node-1] [INFO] [1727802043.929352835] [vimbax_camera_test.vimbax_camera_test]: Initializing camera ... [vimbax_camera_node-1] [INFO] [1727802044.139749222] [vimbax_camera_test.vimbax_camera_test]: Opening camera by ip address 10.42.1.40 [vimbax_camera_node-1] [INFO] [1727802044.989128031] [vimbax_camera_test.vimbax_camera_test]: Opened camera info model name: GT1290C (02-2603A), camera name: Allied Vision Technologies GT1290C (02-2603A) (DEV_000F31026B03), serial: 02-2603A-07231 [vimbax_camera_node-1] [INFO] [1727802044.989224249] [vimbax_camera_test.vimbax_camera_test]: Camera extended id 53:/home/sd1/Downloads/VimbaX_2023-4/cti/VimbaGigETL.cti6:enp7s016:DEV_000F31026B03 [vimbax_camera_node-1] [ERROR] [1727802045.127930340] [vimbax_camera_test.vimbax_camera_test]: feature_string_get failed with error -3 (VmbErrorNotFound) [INFO] [vimbax_camera_node-1]: process has finished cleanly [pid 78831]

Teresa-AlliedVision commented 1 week ago

Hi, judging from the output, the camera was found and it was opened, but reading out a separate string feature from the camera failed, because the feature was not found in the camera. You are using a Prosilica GT, which is not fully compatible with the ROS driver, as that line of models is already quite old and their feature naming convention is an older version. You will have to modify the used code to only access the available features. Please refer to #5 for more information on how GenICam features work.