Skip to content

Commit 6c16d2c

Browse files
committed
add test script
1 parent 1ba990d commit 6c16d2c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To enable the CUDA-powered implementations, set ```BUILD_VGICP_CUDA``` cmake opt
3131
cd ~/catkin_ws/src
3232
git clone https://github.com/SMRT-AIST/fast_gicp --recursive
3333
cd .. && catkin_make -DCMAKE_BUILD_TYPE=Release
34-
# eanble cuda-based implementations
34+
# enable cuda-based implementations
3535
# cd .. && catkin_make -DCMAKE_BUILD_TYPE=Release -DBUILD_VGICP_CUDA=ON
3636
```
3737

@@ -40,7 +40,7 @@ cd .. && catkin_make -DCMAKE_BUILD_TYPE=Release
4040
git clone https://github.com/SMRT-AIST/fast_gicp --recursive
4141
mkdir fast_gicp/build && fast_gicp/build
4242
cmake .. -DCMAKE_BUILD_TYPE=Release
43-
# eanble cuda-based implementations
43+
# enable cuda-based implementations
4444
# cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_VGICP_CUDA=ON
4545
make -j8
4646
```

scripts/runtest_cuda.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
docker build --tag focal_cuda -f docker/focal_cuda/Dockerfile .
3+
docker run --gpus all -it --rm focal_cuda /root/fast_gicp/build/gicp_test /root/fast_gicp/data

0 commit comments

Comments
 (0)