AravisProject / aravis

A vision library for genicam based cameras
GNU Lesser General Public License v2.1
885 stars 329 forks source link

Emergent Vision polarisation camera (HR-12000SPM) support #467

Open abrock opened 3 years ago

abrock commented 3 years ago

Describe the bug

All images result in a timeout, no success getting any images out of the camera.

To Reproduce Steps to reproduce the behavior:

Start arv-viewer-0.8, select the camera and try to get images.

Expected behavior

Images from the camera displayed by arv-viewer.

Camera description:

Platform description:

Additional context

I have a Emergent Vision polarisation camera (HR-12000SPM) I'd like to use but I have problems.

I compiled and installed 6b1d0c77d636d82e28e7046afaf22cda2a743ed1 and I ran ninja test (OK: 8). I also ran the tests under valgrind:

1/6 evaluator OK 0.92 s 2/6 buffer OK 0.82 s 3/6 misc OK 0.77 s 4/6 fake OK 2.67 s 5/6 fakegv FAIL 14.55 s (killed by signal 5 SIGTRAP) 6/6 genicam OK 1.47 s

I attached a zip file with the output of arv-tool-0.8 -d all:3 > arv-tool-log and the corresponding wireshark file

I think that works ok, I also used arv-tool-0.8 genicam to download the GeniCam XML file which looks ok.

Then I tried to capture some images using arv-viewer-0.8 -d all:3 > arv-viewer-log but the viewer shows lots of errors and no success. I stopped the wireshark capture early to avoid large files for the attachment, I also ran a test were I captured more packages and I didn't found anything interesting after the first couple hundred.

abrock commented 3 years ago

I clearly forgot to attach the logs.zip

EmmanuelP commented 3 years ago

Hi,

Could you attach the output of ./tests/arv-camera-test -d all, please ?

Let it run for 10 seconds, then ctrl+c.

abrock commented 3 years ago

Thank you for the super quick response, I'll do that on Wednesday.

abrock commented 3 years ago

I let ./tests/arv-camera-test -d all run until it stopped by itself which happened after 15 seconds. I recorded all data using wireshark and exported all packets from start to the first frame and from the last frame to the end: logs2.zip

This is my setup for the network interface:

ens4f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP group default qlen 1000
    link/ether 6c:b3:11:3c:94:d0 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.2/24 scope global ens4f0
       valid_lft forever preferred_lft forever
    inet 192.168.1.2/24 scope global ens4f0
       valid_lft forever preferred_lft forever
    inet 192.168.2.2/24 scope global ens4f0
       valid_lft forever preferred_lft forever
    inet6 fe80::6eb3:11ff:fe3c:94d0/64 scope link 
       valid_lft forever preferred_lft forever
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 ens4f0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 ens4f0
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 ens4f0
EmmanuelP commented 3 years ago

Hi,

I have just had a quick look at the log files. I'm puzzled. There is some complaints about invalid address access, while it corresponds to a required register (GevSCSP0) which is the stream source port. Also, the frame ids don't make sense.

I need to spend more time on it. Don't know when though.