Skip to content
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

Add Dockerfile and introduction in readme #198

Merged
merged 6 commits into from
Aug 2, 2024
Merged

Conversation

mikihiroikura
Copy link
Contributor

@mikihiroikura mikihiroikura commented Jul 25, 2024

Modification

  • Dockerfile
    • build yarp, ycm, and event-driven
    • install metavision-sdk
    • use the same user id and group id as yours
    • Two Dockerfiles are created
      • Ubuntu 20.04 + Metavision SDK 3.0 + EVK Firmware (< 3.9)
      • Ubuntu 22.04 + Metavision SDK 4.6 (latest) + EVK Firmware (>= 3.9)
  • docker.md
    • introduce how to build docker environment for users

@mikihiroikura mikihiroikura self-assigned this Jul 25, 2024
@mikihiroikura mikihiroikura changed the title Add Dockerfile and introdiction in readme Add Dockerfile and introduction in readme Jul 25, 2024
Dockerfile Outdated
@@ -0,0 +1,90 @@
# base image
FROM ubuntu:focal
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @mikihiroikura @arrenglover ! Just a curiosity, there is any reason you need to use Ubuntu 20.04 instead of a more modern distribution? We are discussing about dropping Ubuntu 20.04 support for apt dependencies in robotology/robotology-superbuild#1439, and I am afraid that the next YARP release will not support Ubuntu 20.04 with apt dependencies.

@arrenglover
Copy link
Collaborator

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
Copy link
Member

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

@mikihiroikura
Copy link
Contributor Author

mikihiroikura commented Jul 26, 2024

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.

@mikihiroikura mikihiroikura requested a review from traversaro July 26, 2024 10:22
Copy link
Collaborator

@arrenglover arrenglover left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perect thanks

@arrenglover arrenglover merged commit 310fd59 into master Aug 2, 2024
@arrenglover arrenglover deleted the feat/add-docker branch August 2, 2024 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants