Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lajoiepy authored Aug 24, 2023
1 parent 875aa4b commit ef899bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef899bc

Please sign in to comment.