avt camera debugging record

1. Hardware

1. Model

The camera used is this one:

Insert picture description here
Other models can also see here: Allied vision products

2. Power cord connection

Green ground
blue connected to the positive

3. Network cable connection

Just connect it directly to the computer

After the above two are configured, the two indicator lights should be on, as shown below:
Insert picture description here

2. Install the driver

Execution /Vimba_3/VimbaGigETLdirectory Install.shandSetGenTLPath.sh

First grant permissions:

chmod +x Install.sh
chmod +x SetGenTLPath.sh

carried out:

sudo sh ./Install.sh
sudo sh ./SetGenTLPath.sh

Remember to restart after execution!

If you do not install the driver in this step, use the ros node in the next step to run it, and an error will be reported:

Insert picture description here

3. Run the ros node

First, you have to change the ip of the computer so that they are under a subnet:

How to change, please refer to here: Ouster OS1-128 radar debugging

If you don’t know the ip, you can use the router to see it, you can refer to here: Various problems with ros avt cameras

The IP of the camera can be pinged

The ip of the camera, the default is 0.0.0.0 at the beginning, you need to assign the ip yourself

For details on how to modify it, see here: Use Vimba Viewer to modify the IP address of the Alliied Vision camera

catkin_make
source devel/setup.bash
  • Then execute:
roslaunch avt_vimba_camera mono_camera.launch

But the following problems should appear:
Insert picture description here

  • Note that you need to modify launchfile configuration
<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="50-0503343290"/>
		<param name="ip" value=""/>
		<param name="camera_info_url" value="file://$(find avt_vimba_camera)/calibrations/calibration_50-0503343290.yaml"/>
		<param name="frame_id" value="left_optical"/>
		<param name="trig_timestamp_topic" value=""/>
		<param name="show_debug_prints" value="true"/>

1. Change ip to radar ip
2.
Change guid to the sn serial number of the camera 3. camera_info_url also change to the sn number of your camera

Then it's ok.

4. Other issues

Insert picture description here
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_35632833/article/details/108800200