-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,15 +34,15 @@ jobs: | |
sudo apt install libgtsam-dev libgtsam-unstable-dev | ||
- name: Build rtabmap | ||
run: | | ||
mkdir /root/ros2_ws; mkdir /root/ros2_ws/src | ||
sudo mkdir /root/ros2_ws; sudo mkdir /root/ros2_ws/src | ||
cd /root/ros2_ws | ||
git clone https://github.com/introlab/rtabmap.git src/rtabmap | ||
sudo git clone https://github.com/introlab/rtabmap.git src/rtabmap | ||
cd src/rtabmap; git checkout 0.21.1-foxy; cd ../.. | ||
git clone --branch ros2 https://github.com/introlab/rtabmap_ros.git src/rtabmap_ros | ||
sudo git clone --branch ros2 https://github.com/introlab/rtabmap_ros.git src/rtabmap_ros | ||
cd src/rtabmap_ros; git checkout 0.21.1-foxy; cd ../.. | ||
rosdep update && rosdep install --from-paths src --ignore-src -r -y | ||
export MAKEFLAGS="-j6" # Can be ignored if you have a lot of RAM (>16GB) | ||
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release | ||
sudo colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release | ||
- uses: ros-tooling/[email protected] | ||
with: | ||
package-name: cslam | ||
|