Skip to content

Commit 3e678ce

Browse files
committed
CI: harmonic workflow: update launch files renaming
1 parent f85d3eb commit 3e678ce

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/ros2_gz_harmonic_launch_tests.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
6161
- name: Install aerostack2 and dependencies
6262
run: |
63-
sudo apt-get install -y ros-humble-xacro ros-humble-ros-gz-sim
63+
sudo apt-get install -y ros-humble-xacro
6464
sudo apt-get install -y ros-humble-geographic-msgs libgeographic-dev ros-humble-mocap4r2-msgs
6565
sudo apt install git python3-rosdep python3-pip python3-colcon-common-extensions -y
6666
@@ -70,15 +70,11 @@ jobs:
7070
sudo rosdep init
7171
rosdep update
7272
rosdep install -y -r -q --from-paths src --ignore-src
73+
sudo apt install ros-humble-ros-gzharmonic
7374
7475
- name: "Test Gazebo installation"
7576
run: "gz sim --versions"
7677

77-
- name: Rename Launch Files
78-
run: |
79-
sudo mv /opt/ros/humble/share/as2_state_estimator/launch/ground_truth_state_estimator.launch.py /opt/ros/humble/share/as2_state_estimator/launch/ground_truth-state_estimator.launch.py
80-
sudo mv /opt/ros/humble/share/as2_motion_controller/launch/pid_speed_controller.launch.py /opt/ros/humble/share/as2_motion_controller/launch/pid_speed_controller-motion_controller.launch.py
81-
8278
- name: Setup Python dependencies
8379
run: |
8480
python -m pip install --upgrade pip
@@ -117,6 +113,11 @@ jobs:
117113
source /opt/ros/humble/setup.bash
118114
colcon build --symlink-install
119115
116+
- name: Rename Launch Files
117+
run: |
118+
cp install/as2_state_estimator/share/as2_state_estimator/launch/ground_truth_state_estimator.launch.py install/as2_state_estimator/share/as2_state_estimator/launch/ground_truth-state_estimator.launch.py
119+
cp install/as2_motion_controller/share/as2_motion_controller/launch/pid_speed_controller.launch.py install/as2_motion_controller/share/as2_motion_controller/launch/pid_speed_controller-motion_controller.launch.py
120+
120121
- name: Run launch tests
121122
run: |
122123
source /opt/ros/humble/setup.bash

0 commit comments

Comments
 (0)