Add IMU preintegration regression test + estimator docs (#36, #77) #138
Workflow file for this run
This file contains hidden or 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
| name: build | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| humble_build: | |
| name: Build on Humble | |
| runs-on: ubuntu-22.04 | |
| container: ros:humble | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Copy repository | |
| run: | | |
| mkdir -p ~/ros2_ws/src/lidar_localization_ros2 | |
| cp -rf . ~/ros2_ws/src/lidar_localization_ros2 | |
| - name: Install dependencies | |
| run: | | |
| source /opt/ros/humble/setup.bash | |
| sudo apt-get update | |
| sudo apt-get install -y python3-rosdep python3-colcon-common-extensions | |
| rosdep update | |
| cd ~/ros2_ws/src | |
| git clone https://github.com/rsasaki0109/ndt_omp_ros2.git -b humble | |
| rosdep install -r -y --from-paths . --ignore-src | |
| shell: bash | |
| - name: Build packages | |
| run: | | |
| source /opt/ros/humble/setup.bash | |
| cd ~/ros2_ws | |
| colcon build | |
| source ~/ros2_ws/install/setup.bash | |
| shell: bash | |
| jazzy_build: | |
| name: Build on Jazzy | |
| runs-on: ubuntu-24.04 | |
| container: ros:jazzy | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Copy repository | |
| run: | | |
| mkdir -p ~/ros2_ws/src/lidar_localization_ros2 | |
| cp -rf . ~/ros2_ws/src/lidar_localization_ros2 | |
| - name: Install dependencies | |
| run: | | |
| source /opt/ros/jazzy/setup.bash | |
| sudo apt-get update | |
| sudo apt-get install -y python3-rosdep python3-colcon-common-extensions | |
| rosdep update | |
| cd ~/ros2_ws/src | |
| # ndt_omp_ros2 does not publish a dedicated jazzy branch yet; humble is used in CI. | |
| git clone https://github.com/rsasaki0109/ndt_omp_ros2.git -b humble | |
| rosdep install -r -y --from-paths . --ignore-src | |
| shell: bash | |
| - name: Build packages | |
| run: | | |
| source /opt/ros/jazzy/setup.bash | |
| cd ~/ros2_ws | |
| colcon build | |
| source ~/ros2_ws/install/setup.bash | |
| shell: bash |