srv / avt_vimba_camera

ROS Driver for AVT cameras using VIMBA SDK
23 stars 93 forks source link

dynamic reconfigure #32

Open narcispr opened 6 years ago

narcispr commented 6 years ago

Hi, I'm using an Allied Vision Prosilica GC1380C in a system with Ubuntu 16.04 and ROS kinetic, with Vimba 2.1.3 driver and the package ros-kinetic-avt-vimba-camera installed.

When I try to change any value using rqt_reconfigure the camera crashes:

bash [camera-3] process has died [pid 28683, exit code -11, cmd /opt/ros/kinetic/lib/avt_vimba_camera/mono_camera_node __name:=camera

However, if I modify the same value in the launch file it works. The launch file looks like this:

<launch>

    <group ns="camera">
        <node name="image_proc" pkg="image_proc" type="image_proc"/>
    </group>

    <node name="camera" pkg="avt_vimba_camera" type="mono_camera_node" output="screen">
        <param name="guid" value="DEV_000F31030A17"/>
        <param name="ip" value=""/>
        <param name="camera_info_url" value="file://$(find proscilica)/calibrations/left_prosilica_pool_calib_ros.yml"/>
        <param name="frame_id" value="left_optical"/>
        <param name="trig_timestamp_topic" value=""/>

        <param name="frame_id" value="left_optical"/>
        <param name="trig_timestamp_topic" value=""/>
        <param name="trigger_source" value="FixedRate"/>
        <!--param name="sync_out_source" value="Acquiring"/-->
        <param name="sync_out_source" value="Exposing"/>
        <param name="sync_out_polarity" value="Normal"/>
        <param name="acquisition_mode" value="Continuous"/>
        <param name="acquisition_rate" value="10"/>
        <param name="pixel_format" value="BayerRG8"/>

        <param nae="exposure_auto" value="Continuous"/> <!-- Off / Once / Continuous -->
        <param name="exposure_auto_alg" value="Mean"/>
        <param name="exposure_auto_max" value="90000"/>
        <param name="exposure_auto_min" value="8"/>
        <param name="exposure_auto_outliers" value="0"/>
        <param name="exposure_auto_rate" value="100"/>
        <param name="exposure_auto_target" value="50"/>
        <param name="exposure_mode" value="Timed"/>
        <param name="exposure_time_abs" value="24156"/>
        <param name="gain_auto" value="Continuous"/>
        <param name="gain" value="2"/>
        <param name="whitebalance_auto" value="Off"/>
        <param name="balance_ratio_selector" value="Red"/>
        <param name="balance_ratio_abs" value="1.33"/>
    </node>
</launch>
miquelmassot commented 6 years ago

I corrected an issue with the kinetic branch, but I think it is not on release. Can you test the repository directly?

JWhitleyWork commented 4 years ago

This fork is no longer actively maintained. Please see our new fork at https://github.com/astuff/avt_vimba_camera, which has been updated and recently released.