-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from koide3/jazzy
jazzy
- Loading branch information
Showing
10 changed files
with
121 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
FROM koide3/gtsam_docker:jazzy | ||
|
||
RUN apt-fast update \ | ||
&& apt-fast install -y --no-install-recommends \ | ||
libomp-dev libgoogle-glog-dev libgflags-dev libatlas-base-dev libsuitesparse-dev \ | ||
&& apt-fast clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN apt-fast update \ | ||
&& apt-fast install -y --no-install-recommends \ | ||
libpcl-dev \ | ||
&& apt-fast clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /root | ||
RUN git clone https://github.com/ceres-solver/ceres-solver \ | ||
&& mkdir ceres-solver/build \ | ||
&& cd ceres-solver/build \ | ||
&& cmake .. -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DUSE_CUDA=OFF \ | ||
&& make -j$(nproc) \ | ||
&& make install \ | ||
&& rm -rf /root/ceres-solver | ||
|
||
COPY . /root/ros2_ws/src/direct_visual_lidar_calibration | ||
|
||
WORKDIR /root/ros2_ws | ||
|
||
RUN apt-fast update && \ | ||
rosdep install -i --from-paths src --simulate | \ | ||
sed '1d' | sed 's/apt-get install//' | sed 's/ //g' > /tmp/depends && \ | ||
xargs apt-fast install --no-install-recommends -y < /tmp/depends && \ | ||
apt-fast clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN /bin/bash -c ". /opt/ros/jazzy/setup.bash; colcon build" | ||
|
||
RUN echo "#!/bin/bash" >> /ros_entrypoint.sh \ | ||
&& echo "set -e" >> /ros_entrypoint.sh \ | ||
&& echo "source /opt/ros/jazzy/setup.bash" >> /ros_entrypoint.sh \ | ||
&& echo "source /root/ros2_ws/install/setup.bash" >> /ros_entrypoint.sh \ | ||
&& echo 'exec "$@"' >> /ros_entrypoint.sh \ | ||
&& chmod a+x /ros_entrypoint.sh | ||
|
||
WORKDIR /root/ros2_ws/src/direct_visual_lidar_calibration | ||
|
||
ENTRYPOINT ["/ros_entrypoint.sh"] | ||
CMD ["bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
FROM koide3/gtsam_docker:jazzy | ||
|
||
RUN apt-fast update \ | ||
&& apt-fast install -y --no-install-recommends \ | ||
libomp-dev libgoogle-glog-dev libgflags-dev libatlas-base-dev libsuitesparse-dev \ | ||
&& apt-fast clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /root | ||
RUN git clone https://github.com/ceres-solver/ceres-solver \ | ||
&& mkdir ceres-solver/build \ | ||
&& cd ceres-solver/build \ | ||
&& cmake .. -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DUSE_CUDA=OFF \ | ||
&& make -j$(nproc) \ | ||
&& make install \ | ||
&& rm -rf /root/ceres-solver | ||
|
||
COPY . /root/ros2_ws/src/direct_visual_lidar_calibration | ||
|
||
WORKDIR /root/ros2_ws | ||
|
||
RUN apt-fast update && \ | ||
rosdep install -i --from-paths src --simulate | \ | ||
sed '1d' | sed 's/apt-get install//' | sed 's/ //g' > /tmp/depends && \ | ||
xargs apt-fast install --no-install-recommends -y < /tmp/depends && \ | ||
apt-fast clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN /bin/bash -c ". /opt/ros/jazzy/setup.bash; colcon build" | ||
|
||
RUN echo "#!/bin/bash" >> /ros_entrypoint.sh \ | ||
&& echo "set -e" >> /ros_entrypoint.sh \ | ||
&& echo "source /opt/ros/jazzy/setup.bash" >> /ros_entrypoint.sh \ | ||
&& echo "source /root/ros2_ws/install/setup.bash" >> /ros_entrypoint.sh \ | ||
&& echo 'exec "$@"' >> /ros_entrypoint.sh \ | ||
&& chmod a+x /ros_entrypoint.sh | ||
|
||
WORKDIR /root/ros2_ws/src/direct_visual_lidar_calibration | ||
|
||
RUN apt-fast update \ | ||
&& apt-fast install -y --no-install-recommends \ | ||
python3-pip python3-numpy python3-torch python3-torchvision python3-matplotlib python3-opencv \ | ||
&& apt-fast clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN git clone https://github.com/magicleap/SuperGluePretrainedNetwork /root/SuperGlue | ||
ENV PYTHONPATH=$PYTHONPATH:/root/SuperGlue | ||
|
||
|
||
ENTRYPOINT ["/ros_entrypoint.sh"] | ||
CMD ["bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule Sophus
updated
90 files