-
Notifications
You must be signed in to change notification settings - Fork 43
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
No image data in the published topic #79
Comments
What camera are you using? (model number) Is it USB or ethernet? |
Camera Model : Allied Vision Alvium 1800 U-158c, 1/2.9" 1.58MP C-Mount, USB 3.1 Color Camera What was done so far: Just to give you a context I installed Vimba USBTL using sudo install.sh as directed : HERE ros launch file run using ROS command : roslaunch avt_vimba_camera mono_camera.launch ########################################################################## started roslaunch server http://tanmay-VirtualBox:45347/ SUMMARYPARAMETERS
NODES auto-starting new master setting /run_id to 1cd2f822-9743-11ec-b5d8-ddfb3e6f0cbd I can see camera/image and such published topics under rostopic list. BUT, when I open it using rqt_image_view and select those, NADA. Same with adding a subscriber node in the Rviz - no output. I will post a final exact output when I go to place and connect the camera. |
@panc8170, I'll wait to see your full output from the driver before digging too deep, but since you mentioned it's a USB camera: You are definitely using either the |
I am working with @panc8170 on the camera and to add to @panc8170 issue. Here is the output that we are receiving. ... logging to /home/autodriveii/.ros/log/b67b61e4-9987-11ec-860a-292f171fa728/roslaunch-autodriveii-X299X-AORUS-MASTER-2998.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB. started roslaunch server http://autodriveii-X299X-AORUS-MASTER:36209/ SUMMARY ======== PARAMETERS * /camera/acquisition_mode: Continuous * /camera/acquisition_rate: 10 * /camera/balance_ratio_abs: 1.0 * /camera/balance_ratio_selector: Red * /camera/binning_x: 1 * /camera/binning_y: 1 * /camera/camera_info_url: file:///opt/ros/n... * /camera/decimation_x: 1 * /camera/decimation_y: 1 * /camera/exposure: 50000 * /camera/exposure_auto: Continuous * /camera/exposure_auto_alg: FitRange * /camera/exposure_auto_max: 50000 * /camera/exposure_auto_min: 50000 * /camera/exposure_auto_outliers: 50000 * /camera/exposure_auto_rate: 50000 * /camera/exposure_auto_target: 50000 * /camera/exposure_auto_tol: 5 * /camera/frame_id: camera * /camera/gain: 0 * /camera/gain_auto: Continuous * /camera/gain_auto_adjust_tol: 5 * /camera/gain_auto_max: 32 * /camera/gain_auto_min: 0 * /camera/gain_auto_outliers: 0 * /camera/gain_auto_rate: 50 * /camera/gain_auto_target: 50 * /camera/guid: 01HLW * /camera/height: 1440 * /camera/ip: * /camera/iris_auto_target: 50 * /camera/iris_mode: Continuous * /camera/iris_video_level_max: 110 * /camera/iris_video_level_min: 110 * /camera/offset_x: 0 * /camera/offset_y: 0 * /camera/pixel_format: BayerRG8 * /camera/print_all_features: False * /camera/ptp_mode: Off * /camera/ptp_offset: -37 * /camera/stream_bytes_per_second: 45000000 * /camera/sync_in_selector: SyncIn1 * /camera/sync_out_polarity: Normal * /camera/sync_out_selector: SyncOut1 * /camera/sync_out_source: GPO * /camera/trigger_activation: RisingEdge * /camera/trigger_delay: 0.0 * /camera/trigger_mode: On * /camera/trigger_selector: FrameStart * /camera/trigger_source: FixedRate * /camera/use_measurement_time: False * /camera/whitebalance_auto: Continuous * /camera/whitebalance_auto_rate: 100 * /camera/whitebalance_auto_tol: 5 * /camera/width: 1920 * /rosdistro: noetic * /rosversion: 1.15.14 NODES / camera (avt_vimba_camera/mono_camera_node) auto-starting new master process[master]: started with pid [3038] ROS_MASTER_URI=http://localhost:11311 setting /run_id to b67b61e4-9987-11ec-860a-292f171fa728 process[rosout-1]: started with pid [3072] started core service [/rosout] process[camera-2]: started with pid [3075] [ INFO] [1646156870.966575446]: [Vimba System]: AVT Vimba System initialized successfully [ INFO] [1646156870.968037317]: Searching for cameras ... [ INFO] [1646156870.970054558]: Found camera named Allied Vision 1800 U-158c: [ INFO] [1646156870.970079724]: - Model Name : 1800 U-158c [ INFO] [1646156870.970107446]: - Camera ID : DEV_1AB22C010F64 [ INFO] [1646156870.970122815]: - Serial Number : 01HLW [ INFO] [1646156870.970139422]: - Interface ID : VimbaUSBInterface_0x0 [ INFO] [1646156870.970156826]: - Interface type : USB [ INFO] [1646156870.970177665]: - Access type : Read and write access [ INFO] [1646156871.217407127]: Trying to open camera by ID: 01HLW [ INFO] [1646156871.360576267]: Opened connection to camera named Allied Vision 1800 U-158c with ID DEV_1AB22C010F64 [ WARN] [1646156873.361678798]: Feature DeviceTemperatureSelector: value unavailable ERROR Invalid value. [ WARN] [1646156873.361849549]: Could not get feature GevTimestampTickFrequency [ERROR] [1646156873.364552667]: Trigger mode Software not implemented. [ INFO] [1646156873.364598334]: Updating Exposure config: [ WARN] [1646156873.364665077]: Could not get feature ExposureTimeAbs, your camera probably doesn't support it. [ INFO] [1646156873.367648567]: - ExposureAuto set to Continuous [ WARN] [1646156873.367759578]: Could not get feature ExposureAutoAlg, your camera probably doesn't support it. [ WARN] [1646156873.367835932]: Could not get feature ExposureAutoAdjustTol, your camera probably doesn't support it. [ WARN] [1646156873.368226294]: Could not get feature ExposureAutoOutliers, your camera probably doesn't support it. [ WARN] [1646156873.368301147]: Could not get feature ExposureAutoRate, your camera probably doesn't support it. [ WARN] [1646156873.368371498]: Could not get feature ExposureAutoTarget, your camera probably doesn't support it. [ INFO] [1646156873.368408093]: Updating Gain config: [ INFO] [1646156873.371368767]: - Gain set to 0 [ INFO] [1646156873.373157542]: - GainAuto set to Continuous [ WARN] [1646156873.373261043]: Could not get feature GainAutoAdjustTol, your camera probably doesn't support it. [ WARN] [1646156873.373936937]: - Tried to set GainAutoMax to 32 but the camera used 24 instead [ INFO] [1646156873.375270150]: - GainAutoMin set to 0 [ WARN] [1646156873.375369198]: Could not get feature GainAutoOutliers, your camera probably doesn't support it. [ WARN] [1646156873.375536823]: Could not get feature GainAutoRate, your camera probably doesn't support it. [ WARN] [1646156873.375642896]: Could not get feature GainAutoTarget, your camera probably doesn't support it. [ INFO] [1646156873.375691418]: Updating White Balance config: [ WARN] [1646156873.375765696]: Could not get feature BalanceRatioAbs, your camera probably doesn't support it. [ INFO] [1646156873.376138097]: - BalanceRatioSelector set to Red [ INFO] [1646156873.377547650]: - BalanceWhiteAuto set to Continuous [ WARN] [1646156873.377618721]: Could not get feature BalanceWhiteAutoAdjustTol, your camera probably doesn't support it. [ INFO] [1646156873.377780120]: Updating Image Mode config: [ WARN] [1646156873.377849061]: Could not get feature DecimationHorizontal, your camera probably doesn't support it. [ WARN] [1646156873.377945480]: Could not get feature DecimationVertical, your camera probably doesn't support it. [ INFO] [1646156873.381150101]: - BinningHorizontal set to 1 [ INFO] [1646156873.384329938]: - BinningVertical set to 1 [ INFO] [1646156873.384394709]: Updating ROI config: [ WARN] [1646156873.385599164]: - Tried to set Width to 1920 but the camera used 1456 instead [ WARN] [1646156873.386769910]: - Tried to set Height to 1440 but the camera used 1088 instead [ INFO] [1646156873.389850666]: - OffsetX set to 0 [ INFO] [1646156873.393482833]: - OffsetY set to 0 [ INFO] [1646156873.393544623]: Updating Bandwidth config: [ WARN] [1646156873.393641046]: Could not get feature StreamBytesPerSecond, your camera probably doesn't support it. [ INFO] [1646156873.393678543]: Updating GPIO config: [ WARN] [1646156873.393753775]: Could not get feature SyncInSelector, your camera probably doesn't support it. [ WARN] [1646156873.393824736]: Could not get feature SyncOutPolarity, your camera probably doesn't support it. [ WARN] [1646156873.393896621]: Could not get feature SyncOutSelector, your camera probably doesn't support it. [ WARN] [1646156873.393966848]: Could not get feature SyncOutSource, your camera probably doesn't support it. [ INFO] [1646156873.393999945]: Updating PTP config: [ WARN] [1646156873.394073056]: Could not get feature PtpMode, your camera probably doesn't support it. [ INFO] [1646156873.394107011]: Updating PixelFormat config: [ INFO] [1646156873.409140851]: - PixelFormat set to BayerRG8 [ INFO] [1646156873.409217764]: Updating Acquisition and Trigger config: [ INFO] [1646156873.410777048]: - AcquisitionMode set to Continuous [ WARN] [1646156873.410851318]: Could not get feature AcquisitionFrameRateAbs, your camera probably doesn't support it. [ INFO] [1646156873.412340223]: - TriggerMode set to On [ INFO] [1646156873.412786664]: - TriggerSelector set to FrameStart [ WARN] [1646156873.412931099]: Feature TriggerSource: value unavailable ERROR Invalid value. [ WARN] [1646156873.413378481]: - Tried to set TriggerSource to FixedRate but the camera used Software instead [ INFO] [1646156873.414842891]: - TriggerActivation set to RisingEdge [ WARN] [1646156873.414951908]: Could not get feature TriggerDelayAbs, your camera probably doesn't support it. [ WARN] [1646156873.415032872]: Could not get feature ActionDeviceKey, your camera probably doesn't support it. [ WARN] [1646156873.415104273]: Could not get feature ActionGroupKey, your camera probably doesn't support it. [ WARN] [1646156873.415174305]: Could not get feature ActionGroupMask, your camera probably doesn't support it. [ INFO] [1646156873.415210964]: Updating Iris config: [ WARN] [1646156873.415283593]: Could not get feature IrisAutoTarget, your camera probably doesn't support it. [ WARN] [1646156873.415353305]: Could not get feature IrisMode, your camera probably doesn't support it. [ WARN] [1646156873.415422123]: Could not get feature IrisVideoLevelMax, your camera probably doesn't support it. [ WARN] [1646156873.415493067]: Could not get feature IrisVideoLevelMin, your camera probably doesn't support it. [ERROR] [1646156873.416212084]: Could not start continuous image acquisition. Error: Bad parameter. [ INFO] [1646156873.416304114]: camera calibration URL: file:///opt/ros/noetic/share/avt_vimba_camera/calibrations/calibration_example.yaml |
I was having almost the exact same issue (I was using For @Ronak2904's case,
In any case, I was able to resolve my issue of |
@subeiammar thanks for posting this! would you be willing to open a PR with the fixes you've found? @Ronak2904 and @panc8170 have the fixes suggested by @subeiammar resolved your issues? |
Closing since the discussion died off. Feel free to re-open or start a new issue if you still experience problems. |
Hello, I am facing the same issue, I tried implementing the edits @subeiammar did in his fork but it is still not showing images in the topics. here is the output I am receiving: Was anyone able to get the driver to work using the USB camera?
|
Hi @Mkarasneh, were you able to get the camera to work with Vimba Viewer? For example, did you try changing the |
Hello @icolwell-as, thank you for your response, the camera worked first with Vimba viewer, then I did what you suggested here. It seems many of the features of the USB camera are different that the other ones, so I started changing the features in Actually, with this camera, the For anyone testing with this camera, you may need to add more features to your code, simply go the Vimba viewer and see what features you need to change and modify your code accordingly. here is my working output:
|
Hi @Mkarasneh, thanks for sharing your findings! I'd suggest opening PRs to better support USB cameras, but I'm not sure if it would be worth the time, especially since the ROS2 driver doesn't have these problems. |
Switching this: |
Hi,. I'm having an error in launching the usb_avt_vimba camera. After roslauch with guid number, the error is like this: Please help.. Thank you! |
Thank you @icolwell-as, I don't think my code is tidy enough to make a PR, but I'll add a comment to the other issue and a link to my fork in case someone wants to use or edit it. |
This is the same as the issue I was facing, see my comment above on how I fixed it. I will create a fork with my code tomorrow so that you and everybody can use it. I hope it'll solve the errors you are facing now. |
Please help me to solve this issue. i can be reach at: sitisarah.mdsallah@gmail.com |
Hello @sarahsallah, you can view my comment on the other issue for details on how to fix your issue. Thank you! |
Hey there,
I am using ROS noetic and I deployed your drivers by extracting them and making them into package by catkin workspace. The drivers do run (I had to manually edit GUID in Roslaunch file) and they do publish a camera/image-raw topic but when we try to view it with rqt_image_view - we dont have any images.
The camera works fine in Vimba Viewer SDK run from terminal. So SDK install is fine.
Can you point us in right direction to get this working?
The sudo install version of this same package gives us error of not able to start continuous capturing of images.
The text was updated successfully, but these errors were encountered: