forked from USC-ACTLab/crazyswarm
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into cflib-full-state-cmd
- Loading branch information
Showing
21 changed files
with
1,170 additions
and
99 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
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 |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: System Tests | ||
|
||
on: | ||
push: | ||
branches: [ "feature-systemtests-better" ] | ||
# manual trigger | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: self-hosted | ||
steps: | ||
- name: Create workspace | ||
id: step1 | ||
run: | | ||
cd ros2_ws/src || mkdir -p ros2_ws/src | ||
- name: Checkout motion capture package | ||
id: step2 | ||
run: | | ||
cd ros2_ws/src | ||
ls motion_capture_tracking || git clone --branch ros2 --recursive https://github.com/IMRCLab/motion_capture_tracking.git | ||
- name: Checkout Crazyswarm2 | ||
id: step3 | ||
uses: actions/checkout@v4 | ||
with: | ||
path: ros2_ws/src/crazyswarm2 | ||
submodules: 'recursive' | ||
- name: Build workspace | ||
id: step4 | ||
run: | | ||
source /opt/ros/humble/setup.bash | ||
cd ros2_ws | ||
colcon build --symlink-install | ||
- name: Flight test | ||
id: step5 | ||
run: | | ||
cd ros2_ws | ||
source /opt/ros/humble/setup.bash | ||
. install/local_setup.bash | ||
export ROS_LOCALHOST_ONLY=1 | ||
python3 src/crazyswarm2/systemtests/run_test.py | ||
- name: Upload files | ||
id: step6 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: pdf_bagfiles_and_logs | ||
path: | | ||
ros2_ws/bagfiles | ||
ros2_ws/results | ||
~/.ros/log | ||
|
||
# - name: build and test ROS 2 | ||
# uses: ros-tooling/[email protected] | ||
# with: | ||
# package-name: | | ||
# crazyflie | ||
# crazyflie_examples | ||
# crazyflie_interfaces | ||
# crazyflie_py | ||
# crazyflie_sim | ||
# target-ros2-distro: humble | ||
# vcs-repo-file-url: rosinstall |
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
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
Submodule crazyflie_tools
updated
5 files
+1 −1 | .github/workflows/cmake_mac.yml | |
+16 −16 | CMakeLists.txt | |
+1 −1 | crazyflie_cpp | |
+41 −5 | src/comCheck.cpp | |
+4 −1 | src/downloadUSDLogfile.cpp |
Oops, something went wrong.