Chassis follow mode and hardware support for DJI and MI motors #64
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
name: humble | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
container: | |
image: ros:humble | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Upgrade cmake | |
uses: jwlawson/actions-setup-cmake@v2 | |
with: | |
cmake-version: '3.23.x' | |
- name: Ignore scara_moveit | |
run: touch decomposition/scara_moveit/AMENT_IGNORE | |
- name: Install dependencies | |
shell: bash | |
run: | | |
sudo apt update | |
rosdep update | |
rosdep install -y --rosdistro humble --from-paths . --ignore-src --skip-keys Eigen3 | |
source /opt/ros/humble/local_setup.bash | |
colcon build --packages-skip-regex '.*' | |
- name: Install ament_cmake_auto | |
run: | | |
sudo apt install -y libeigen3-dev | |
sudo apt install -y ros-humble-ament-cmake-auto | |
- name: Build workspace | |
uses: ichiro-its/ros2-ws-action/[email protected] |