robotology / event-driven

neuromorphic sensor integration with YARP and iCub
BSD 3-Clause "New" or "Revised" License
78 stars 30 forks source link

Add Dockerfile and introduction in readme #198

Closed mikihiroikura closed 2 months ago

mikihiroikura commented 2 months ago

Modification

arrenglover commented 2 months ago

hey @traversaro ! Typically we are on Ubuntu 22.04 and I advise to use 22.04. However, we have some camera hardware that requires old drivers that install natively using 20.04 and so using Docker we can set the fixed versions of YARP etc. required that are compatible with 20.04 for those that need this old hardware. Eventually I want to update this dockerfile to use 22.04 and find the correct method to install the old drivers manually. when we get time to do it.

Let me know if you have a better solution! thanks

traversaro commented 2 months ago

Ah, that is clear, thanks! Yes, unfortunately hardware drivers are a pain in the neck for what regards software update.

mikihiroikura commented 2 months ago

Hello @traversaro @arrenglover . Thank you for the comments. After getting your comment, I created docker environment with ubuntu:jammy and Metavision SDK ver4.6.2 for Ubuntu 22.04 to check if event camera works. But I could not detect the event camera from this docker environment by using the command metavision_studio, which is provided by Prophesee to visualize raw event data. I will survey this issue in more detail when I have time (maybe it is related to hardware issue as you said). Instead, the dockerfile in this pull request can detect event cameras and camera works with yarp environment Ubuntu 20.04. Thanks.