feat: add TB1 local navigation and operations #66
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: ROS 2 CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ros2-ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-test: | |
| name: Humble build and test | |
| runs-on: ubuntu-22.04 | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Test web map coordinate transforms | |
| run: node --test control/fleet_gateway/test/test_map_math.js | |
| - name: Set up ROS 2 Humble | |
| uses: ros-tooling/setup-ros@v0.7 | |
| with: | |
| required-ros-distributions: humble | |
| - name: Install Jammy navigation runtime dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| libunwind-15-dev \ | |
| ros-humble-rmw-cyclonedds-cpp \ | |
| shellcheck | |
| - name: Install package dependencies | |
| run: | | |
| rosdep update | |
| rosdep install \ | |
| --from-paths robot control \ | |
| --ignore-src \ | |
| --rosdistro humble \ | |
| --skip-keys ament_python \ | |
| -y | |
| - name: Build workspace packages | |
| shell: bash | |
| run: | | |
| source /opt/ros/humble/setup.bash | |
| colcon build \ | |
| --base-paths robot control \ | |
| --event-handlers console_direct+ | |
| - name: Validate operational files | |
| shell: bash | |
| run: | | |
| shellcheck --exclude=SC1090,SC1091 \ | |
| infra/navigation/*.sh infra/zenoh/*.sh | |
| systemd-analyze verify infra/systemd/user/*.service | |
| source /opt/ros/humble/setup.bash | |
| source install/setup.bash | |
| ros2 launch navigation_agent tb1_mapping.launch.py --show-args | |
| ros2 launch navigation_agent tb1_navigation.launch.py --show-args | |
| - name: Run robotless navigation smoke test | |
| shell: bash | |
| env: | |
| ROS_DOMAIN_ID: "142" | |
| run: bash infra/navigation/run-robotless-navigation-smoke.sh | |
| - name: Run workspace tests | |
| shell: bash | |
| env: | |
| ROS_DOMAIN_ID: "142" | |
| run: | | |
| source /opt/ros/humble/setup.bash | |
| source install/setup.bash | |
| colcon test \ | |
| --packages-select \ | |
| fleet_interfaces \ | |
| safety_watchdog \ | |
| robot_agent \ | |
| navigation_agent \ | |
| fleet_gateway \ | |
| --event-handlers console_direct+ | |
| colcon test-result --verbose |