Skip to content

Commit 1f0b46c

Browse files
committed
fix missing dependency
1 parent d421992 commit 1f0b46c

File tree

6 files changed

+63
-31
lines changed

6 files changed

+63
-31
lines changed

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# direct_visual_lidar_calibration
22

3-
Detailed documentation will be available by the end of March 2023.
4-
53
This package provides a toolbox for LiDAR-camera calibration that is:
64

75
- **Generaliable**: It can handle various LiDAR and camera projection models including spinning and non-repetitive scan LiDARs, and pinhole, fisheye, and omnidirectional projection cameras.
@@ -10,9 +8,21 @@ This package provides a toolbox for LiDAR-camera calibration that is:
108
- **Automatic**: The calibration process is automatic and does not require an initial guess.
119
- **Accurate and robust**: It employs a pixel-level direct LiDAR-camera registration algorithm that is more robust and accurate compared to edge-based indirect LiDAR-camera registration.
1210

13-
**[Documentation: https://koide3.github.io/direct_visual_lidar_calibration/](https://koide3.github.io/direct_visual_lidar_calibration/)**
11+
**Documentation: [https://koide3.github.io/direct_visual_lidar_calibration/](https://koide3.github.io/direct_visual_lidar_calibration/)**
12+
**Docker hub: [koide3/direct_visual_lidar_calibration](https://hub.docker.com/repository/docker/koide3/direct_visual_lidar_calibration)**
13+
14+
[![Build](https://github.com/koide3/direct_visual_lidar_calibration/actions/workflows/balm.yaml/badge.svg?branch=main)](https://github.com/koide3/direct_visual_lidar_calibration/actions/workflows/balm.yaml) ![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/koide3/direct_visual_lidar_calibration)
15+
16+
<img src="https://user-images.githubusercontent.com/31344317/213393920-501f754f-c19f-4bab-af82-76a70d2ec6c6.png" width="50%">
17+
18+
# Dependencies
1419

15-
![Screenshot_20230119_173721](https://user-images.githubusercontent.com/31344317/213393920-501f754f-c19f-4bab-af82-76a70d2ec6c6.png)
20+
- [PCL](https://pointclouds.org/)
21+
- [OpenCV](https://opencv.org/)
22+
- [GTSAM](https://gtsam.org/)
23+
- [Ceres](http://ceres-solver.org/)
24+
- [Iridescence](https://github.com/koide3/iridescence)
25+
- [SuperGlue](https://github.com/magicleap/SuperGluePretrainedNetwork) [optional]
1626

1727
# License
1828

docker/humble/Dockerfile

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,31 @@ RUN apt-get update \
77
&& rm -rf /var/lib/apt/lists/*
88

99
WORKDIR /root
10-
RUN git clone https://github.com/ceres-solver/ceres-solver
11-
WORKDIR /root/ceres-solver/build
12-
RUN cmake .. -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DUSE_CUDA=OFF
13-
RUN make -j$(nproc) && make install
14-
15-
RUN echo "#!/bin/bash" >> /ros_entrypoint.sh \
16-
&& echo "set -e" >> /ros_entrypoint.sh \
17-
&& echo "source /opt/ros/humble/setup.bash" >> /ros_entrypoint.sh \
18-
&& echo "source /root/ros2_ws/install/setup.bash" >> /ros_entrypoint.sh \
19-
&& echo 'exec "$@"' >> /ros_entrypoint.sh \
20-
&& chmod a+x /ros_entrypoint.sh
10+
RUN git clone https://github.com/ceres-solver/ceres-solver \
11+
&& mkdir ceres-solver/build \
12+
&& cd ceres-solver/build \
13+
&& cmake .. -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DUSE_CUDA=OFF \
14+
&& make -j$(nproc) \
15+
&& make install \
16+
&& rm -rf /root/ceres-solver
2117

2218
COPY . /root/ros2_ws/src/direct_visual_lidar_calibration
2319

2420
WORKDIR /root/ros2_ws
2521

2622
RUN apt-get update \
27-
&& /bin/bash -c '. /opt/ros/humble/setup.bash; rosdep install -y --from-paths src'
23+
&& /bin/bash -c ". /opt/ros/humble/setup.bash; rosdep install -y --from-paths src" \
24+
&& apt-get clean \
25+
&& rm -rf /var/lib/apt/lists/*
26+
27+
RUN /bin/bash -c ". /opt/ros/humble/setup.bash; colcon build"
2828

29-
RUN /bin/bash -c '. /opt/ros/humble/setup.bash; colcon build'
29+
RUN echo "#!/bin/bash" >> /ros_entrypoint.sh \
30+
&& echo "set -e" >> /ros_entrypoint.sh \
31+
&& echo "source /opt/ros/humble/setup.bash" >> /ros_entrypoint.sh \
32+
&& echo "source /root/ros2_ws/install/setup.bash" >> /ros_entrypoint.sh \
33+
&& echo 'exec "$@"' >> /ros_entrypoint.sh \
34+
&& chmod a+x /ros_entrypoint.sh
3035

3136
WORKDIR /root/ros2_ws/src/direct_visual_lidar_calibration
3237

docker/noetic/Dockerfile

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,31 @@ RUN apt-get update \
77
&& rm -rf /var/lib/apt/lists/*
88

99
WORKDIR /root
10-
RUN git clone https://github.com/ceres-solver/ceres-solver
11-
WORKDIR /root/ceres-solver/build
12-
RUN cmake .. -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DUSE_CUDA=OFF
13-
RUN make -j$(nproc) && make install
14-
15-
RUN echo "#!/bin/bash" >> /ros_entrypoint.sh \
16-
&& echo "set -e" >> /ros_entrypoint.sh \
17-
&& echo "source /opt/ros/noetic/setup.bash" >> /ros_entrypoint.sh \
18-
&& echo "source /root/catkin_ws/devel/setup.bash" >> /ros_entrypoint.sh \
19-
&& echo 'exec "$@"' >> /ros_entrypoint.sh \
20-
&& chmod a+x /ros_entrypoint.sh
10+
RUN git clone https://github.com/ceres-solver/ceres-solver \
11+
&& mkdir ceres-solver/build \
12+
&& cd ceres-solver/build \
13+
&& cmake .. -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DUSE_CUDA=OFF \
14+
&& make -j$(nproc) \
15+
&& make install \
16+
&& rm -rf /root/ceres-solver
2117

2218
COPY . /root/catkin_ws/src/direct_visual_lidar_calibration
2319

2420
WORKDIR /root/catkin_ws
2521

2622
RUN apt-get update \
27-
&& /bin/bash -c '. /opt/ros/noetic/setup.bash; rosdep install -y --from-paths src'
23+
&& /bin/bash -c ". /opt/ros/noetic/setup.bash; rosdep install -y --from-paths src" \
24+
&& apt-get clean \
25+
&& rm -rf /var/lib/apt/lists/*
26+
27+
RUN /bin/bash -c ". /opt/ros/noetic/setup.bash; catkin_make"
2828

29-
RUN /bin/bash -c '. /opt/ros/noetic/setup.bash; catkin_make'
29+
RUN echo "#!/bin/bash" >> /ros_entrypoint.sh \
30+
&& echo "set -e" >> /ros_entrypoint.sh \
31+
&& echo "source /opt/ros/noetic/setup.bash" >> /ros_entrypoint.sh \
32+
&& echo "source /root/catkin_ws/devel/setup.bash" >> /ros_entrypoint.sh \
33+
&& echo 'exec "$@"' >> /ros_entrypoint.sh \
34+
&& chmod a+x /ros_entrypoint.sh
3035

3136
WORKDIR /root/catkin_ws/src/direct_visual_lidar_calibration
3237

docs/calibration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
![Screenshot_20230119_173747](https://user-images.githubusercontent.com/31344317/213393928-c640e0d8-076a-4272-90b3-c67dfab02358.png){: style="height:75%;width:75%"}
44

5+
**Example data: ~~ouster_pinhole.tar.gz~~ (will be available soon)**
6+
57
## 1. Preprocessing
68

79
```bash

docs/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ This package provides a toolbox for LiDAR-Camera calibration that is:
1111

1212
![Screenshot_20230119_173721](https://user-images.githubusercontent.com/31344317/213393920-501f754f-c19f-4bab-af82-76a70d2ec6c6.png){: style="height:75%;width:75%"}
1313

14+
# Dependencies
15+
16+
- [PCL](https://pointclouds.org/)
17+
- [OpenCV](https://opencv.org/)
18+
- [GTSAM](https://gtsam.org/)
19+
- [Ceres](http://ceres-solver.org/)
20+
- [Iridescence](https://github.com/koide3/iridescence)
21+
- [SuperGlue](https://github.com/magicleap/SuperGluePretrainedNetwork) [optional]
22+
1423
# License
1524

1625
This package is released under the MIT license.

package.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@
1717
<depend condition="$ROS_VERSION == 2">rclcpp</depend>
1818
<depend condition="$ROS_VERSION == 2">rosbag2_cpp</depend>
1919

20-
<depend>sensor_msgs</depend>
20+
<depend>fmt</depend>
2121
<depend>cv_bridge</depend>
2222
<depend>pcl_ros</depend>
23+
<depend>sensor_msgs</depend>
2324

2425
<export>
2526
<build_type condition="$ROS_VERSION == 2">ament_cmake</build_type>

0 commit comments

Comments
 (0)