-
Notifications
You must be signed in to change notification settings - Fork 32
Adding support for Inivation's DVXplorer Micro camera #223
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ ENV DEBIAN_FRONTEND=noninteractive | |
|
|
||
| ARG CODE_DIR=/usr/local/src | ||
|
|
||
| #basic environment | ||
| # Basic environment | ||
| RUN apt update && apt install -y \ | ||
| ca-certificates \ | ||
| build-essential \ | ||
|
|
@@ -47,6 +47,26 @@ RUN apt install -y \ | |
| libopencv-dev \ | ||
| metavision-sdk | ||
|
|
||
| # dv-processing | ||
| # Add toolchain PPA and install gcc-13/g++-13 | ||
| RUN apt update && \ | ||
| apt install -y software-properties-common && \ | ||
| add-apt-repository ppa:ubuntu-toolchain-r/test && \ | ||
| apt update && \ | ||
| apt install -y gcc-13 g++-13 | ||
|
|
||
| # Add inivation PPA and install dv-processing dependencies | ||
| RUN add-apt-repository ppa:inivation-ppa/inivation && \ | ||
| apt-get update && \ | ||
| apt-get install -y \ | ||
| boost-inivation \ | ||
| libcaer-dev \ | ||
| libfmt-dev \ | ||
| liblz4-dev \ | ||
| libzstd-dev \ | ||
| libssl-dev && \ | ||
| apt-get -y install dv-processing | ||
|
|
||
|
Comment on lines
+50
to
+69
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for adding However, it's important to reduce the docker image size as much as possible by simplifying Dockerfile. Therefore, I recommend you to create some Dockerfiles for |
||
| # YCM | ||
| ARG YCM_VERSION=v0.15.2 | ||
| RUN cd $CODE_DIR && \ | ||
|
|
@@ -68,7 +88,6 @@ RUN cd $CODE_DIR && \ | |
| EXPOSE 10000/tcp 10000/udp | ||
| RUN yarp check | ||
|
|
||
|
|
||
| # event-driven | ||
| ARG ED_VERSION=main | ||
| RUN cd $CODE_DIR &&\ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
|
|
||
| project(dv-bridge-sdk) | ||
|
|
||
| add_executable(${PROJECT_NAME} dv-bridge-sdk.cpp) | ||
|
|
||
| target_link_libraries(${PROJECT_NAME} PRIVATE YARP::YARP_OS | ||
| YARP::YARP_init | ||
| ev::event-driven | ||
| dv::processing | ||
| dl) | ||
|
|
||
| target_compile_definitions(${PROJECT_NAME} PRIVATE $<$<BOOL:${VLIB_ENABLE_TS}>:ENABLE_TS=1>) | ||
|
|
||
| install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR}) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # dv-bridge | ||
|
|
||
| A bridge application between Inivation's DVXplorer Micro camera SDK and YARP | ||
|
|
||
| ### Usage | ||
|
|
||
| `dv-bridge-sdk` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked the installation guide for
dv-processing.Is it correct that we need
libcaerto usedv-processing?