Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@ jobs:
name: ament_${{ matrix.linter }}
runs-on: ubuntu-latest
container:
image: ubuntu:jammy
image: ubuntu:resolute
strategy:
fail-fast: false
matrix:
linter: [copyright, flake8, pep257]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: rolling
required-ros-distributions: lyrical
- uses: ros-tooling/action-ros-lint@v0.1
with:
distribution: rolling
distribution: lyrical
linter: ${{ matrix.linter }}
package-name: turtle_tf2_py
ament_lint_cpp:
name: ament_${{ matrix.linter }}
runs-on: ubuntu-latest
container:
image: ubuntu:jammy
image: ubuntu:resolute
strategy:
fail-fast: false
matrix:
Expand All @@ -35,9 +35,9 @@ jobs:
- uses: actions/checkout@v4
- uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: rolling
required-ros-distributions: lyrical
- uses: ros-tooling/action-ros-lint@v0.1
with:
distribution: rolling
distribution: lyrical
linter: ${{ matrix.linter }}
package-name: turtle_tf2_cpp
14 changes: 7 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:
- ros2

jobs:
build_and_test_source_rolling:
build_and_test_source_lyrical:
runs-on: ubuntu-latest
container:
image: ghcr.io/ros-tooling/setup-ros-docker/setup-ros-docker-ubuntu-noble-testing
image: ghcr.io/ros-tooling/setup-ros-docker/setup-ros-docker-ubuntu-resolute-testing
steps:
- name: Build and run tests
id: action-ros-ci
Expand All @@ -18,8 +18,8 @@ jobs:
package-name: |
turtle_tf2_py
turtle_tf2_cpp
target-ros2-distro: rolling
vcs-repo-file-url: https://raw.githubusercontent.com/ros2/ros2/rolling/ros2.repos
target-ros2-distro: lyrical
vcs-repo-file-url: https://raw.githubusercontent.com/ros2/ros2/lyrical/ros2.repos
colcon-defaults: |
{
"build": {
Expand All @@ -32,10 +32,10 @@ jobs:
"pytest-args": ["-m", "not xfail"]
}
}
build_and_test_binaries_rolling:
build_and_test_binaries_lyrical:
runs-on: ubuntu-latest
container:
image: ghcr.io/ros-tooling/setup-ros-docker/setup-ros-docker-ubuntu-noble-testing
image: ghcr.io/ros-tooling/setup-ros-docker/setup-ros-docker-ubuntu-resolute-testing
steps:
- name: Build and run tests
id: action-ros-ci
Expand All @@ -44,7 +44,7 @@ jobs:
package-name: |
turtle_tf2_py
turtle_tf2_cpp
target-ros2-distro: rolling
target-ros2-distro: lyrical
colcon-defaults: |
{
"build": {
Expand Down
2 changes: 1 addition & 1 deletion turtle_tf2_cpp/src/dynamic_frame_tf2_broadcaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include "geometry_msgs/msg/transform_stamped.hpp"
#include "rclcpp/rclcpp.hpp"
#include "tf2_ros/transform_broadcaster.h"
#include "tf2_ros/transform_broadcaster.hpp"

using namespace std::chrono_literals;

Expand Down
2 changes: 1 addition & 1 deletion turtle_tf2_cpp/src/fixed_frame_tf2_broadcaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include "geometry_msgs/msg/transform_stamped.hpp"
#include "rclcpp/rclcpp.hpp"
#include "tf2_ros/transform_broadcaster.h"
#include "tf2_ros/transform_broadcaster.hpp"

using namespace std::chrono_literals;

Expand Down
2 changes: 1 addition & 1 deletion turtle_tf2_cpp/src/static_turtle_tf2_broadcaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "geometry_msgs/msg/transform_stamped.hpp"
#include "rclcpp/rclcpp.hpp"
#include "tf2/LinearMath/Quaternion.hpp"
#include "tf2_ros/static_transform_broadcaster.h"
#include "tf2_ros/static_transform_broadcaster.hpp"

class StaticFramePublisher : public rclcpp::Node
{
Expand Down
2 changes: 1 addition & 1 deletion turtle_tf2_cpp/src/turtle_tf2_broadcaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "geometry_msgs/msg/transform_stamped.hpp"
#include "rclcpp/rclcpp.hpp"
#include "tf2/LinearMath/Quaternion.hpp"
#include "tf2_ros/transform_broadcaster.h"
#include "tf2_ros/transform_broadcaster.hpp"
#include "turtlesim_msgs/msg/pose.hpp"

class FramePublisher : public rclcpp::Node
Expand Down
4 changes: 2 additions & 2 deletions turtle_tf2_cpp/src/turtle_tf2_listener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#include "geometry_msgs/msg/twist.hpp"
#include "rclcpp/rclcpp.hpp"
#include "tf2/exceptions.hpp"
#include "tf2_ros/transform_listener.h"
#include "tf2_ros/buffer.h"
#include "tf2_ros/transform_listener.hpp"
#include "tf2_ros/buffer.hpp"
#include "turtlesim_msgs/srv/spawn.hpp"

using namespace std::chrono_literals;
Expand Down
8 changes: 4 additions & 4 deletions turtle_tf2_cpp/src/turtle_tf2_message_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
#include "geometry_msgs/msg/point_stamped.hpp"
#include "message_filters/subscriber.hpp"
#include "rclcpp/rclcpp.hpp"
#include "tf2_ros/buffer.h"
#include "tf2_ros/create_timer_ros.h"
#include "tf2_ros/message_filter.h"
#include "tf2_ros/transform_listener.h"
#include "tf2_ros/buffer.hpp"
#include "tf2_ros/create_timer_ros.hpp"
#include "tf2_ros/message_filter.hpp"
#include "tf2_ros/transform_listener.hpp"
#ifdef TF2_CPP_HEADERS
#include "tf2_geometry_msgs/tf2_geometry_msgs.hpp"
#else
Expand Down
Loading