Skip to content

Commit

Permalink
Clean rolling CI (#82)
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
  • Loading branch information
ahcorde authored Jul 11, 2024
1 parent 59a0a0e commit a3979b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 107 deletions.
106 changes: 2 additions & 104 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build_and_test_source_rolling:
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-jammy-latest
image: rostooling/setup-ros-docker:ubuntu-noble-latest
steps:
- name: Build and run tests
id: action-ros-ci
Expand All @@ -32,62 +32,10 @@ jobs:
"pytest-args": ["-m", "not xfail"]
}
}
build_and_test_source_humble:
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-jammy-latest
steps:
- name: Build and run tests
id: action-ros-ci
uses: ros-tooling/action-ros-ci@v0.3
with:
package-name: |
turtle_tf2_py
turtle_tf2_cpp
target-ros2-distro: humble
vcs-repo-file-url: https://raw.githubusercontent.com/ros2/ros2/humble/ros2.repos
colcon-defaults: |
{
"build": {
"cmake-args": [
"-DCMAKE_CXX_FLAGS=\"-Werror\""
]
},
"test": {
"ctest-args": ["-LE", "xfail"],
"pytest-args": ["-m", "not xfail"]
}
}
build_and_test_source_iron:
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-jammy-latest
steps:
- name: Build and run tests
id: action-ros-ci
uses: ros-tooling/action-ros-ci@v0.3
with:
package-name: |
turtle_tf2_py
turtle_tf2_cpp
target-ros2-distro: iron
vcs-repo-file-url: https://raw.githubusercontent.com/ros2/ros2/iron/ros2.repos
colcon-defaults: |
{
"build": {
"cmake-args": [
"-DCMAKE_CXX_FLAGS=\"-Werror\""
]
},
"test": {
"ctest-args": ["-LE", "xfail"],
"pytest-args": ["-m", "not xfail"]
}
}
build_and_test_binaries_rolling:
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-jammy-latest
image: rostooling/setup-ros-docker:ubuntu-noble-latest
steps:
- name: Build and run tests
id: action-ros-ci
Expand All @@ -109,53 +57,3 @@ jobs:
"pytest-args": ["-m", "not xfail"]
}
}
build_and_test_binaries_humble:
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-jammy-latest
steps:
- name: Build and run tests
id: action-ros-ci
uses: ros-tooling/action-ros-ci@v0.3
with:
package-name: |
turtle_tf2_py
turtle_tf2_cpp
target-ros2-distro: humble
colcon-defaults: |
{
"build": {
"cmake-args": [
"-DCMAKE_CXX_FLAGS=\"-Werror\""
]
},
"test": {
"ctest-args": ["-LE", "xfail"],
"pytest-args": ["-m", "not xfail"]
}
}
build_and_test_binaries_iron:
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-jammy-latest
steps:
- name: Build and run tests
id: action-ros-ci
uses: ros-tooling/action-ros-ci@v0.3
with:
package-name: |
turtle_tf2_py
turtle_tf2_cpp
target-ros2-distro: iron
colcon-defaults: |
{
"build": {
"cmake-args": [
"-DCMAKE_CXX_FLAGS=\"-Werror\""
]
},
"test": {
"ctest-args": ["-LE", "xfail"],
"pytest-args": ["-m", "not xfail"]
}
}
4 changes: 1 addition & 3 deletions turtle_tf2_cpp/src/turtle_tf2_message_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ class PoseDrawer : public rclcpp::Node
tf2_listener_ =
std::make_shared<tf2_ros::TransformListener>(*tf2_buffer_);

point_sub_.subscribe(
this, "/turtle3/turtle_point_stamped",
rclcpp::QoS(rclcpp::QoSInitialization::from_rmw(rmw_qos_profile_default)));
point_sub_.subscribe(this, "/turtle3/turtle_point_stamped", rclcpp::QoS(10));
tf2_filter_ = std::make_shared<tf2_ros::MessageFilter<geometry_msgs::msg::PointStamped>>(
point_sub_, *tf2_buffer_, target_frame_, 100, this->get_node_logging_interface(),
this->get_node_clock_interface(), buffer_timeout);
Expand Down

0 comments on commit a3979b4

Please sign in to comment.