Skip to content

Commit 0c2c458

Browse files
authored
Fix pid_controller build on ROS 2 Rolling on Ubuntu 24.04 (#1084)
1 parent 5a28a2a commit 0c2c458

File tree

5 files changed

+7
-0
lines changed

5 files changed

+7
-0
lines changed

ackermann_steering_controller/package.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
<build_depend>generate_parameter_library</build_depend>
1818

19+
<depend>backward_ros</depend>
1920
<depend>control_msgs</depend>
2021
<depend>controller_interface</depend>
2122
<depend>hardware_interface</depend>

bicycle_steering_controller/package.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
<build_depend>generate_parameter_library</build_depend>
1818

19+
<depend>backward_ros</depend>
1920
<depend>control_msgs</depend>
2021
<depend>controller_interface</depend>
2122
<depend>hardware_interface</depend>

pid_controller/package.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<build_depend>generate_parameter_library</build_depend>
1515

1616
<depend>angles</depend>
17+
<depend>backward_ros</depend>
1718
<depend>control_msgs</depend>
1819
<depend>control_toolbox</depend>
1920
<depend>controller_interface</depend>

pid_controller/src/pid_controller.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
#include "control_msgs/msg/single_dof_state.hpp"
2727
#include "controller_interface/helpers.hpp"
2828

29+
#include "rclcpp/rclcpp.hpp"
30+
#include "rclcpp/version.h"
31+
2932
namespace
3033
{ // utility
3134

tricycle_steering_controller/package.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
<build_depend>generate_parameter_library</build_depend>
2020

21+
<depend>backward_ros</depend>
2122
<depend>control_msgs</depend>
2223
<depend>controller_interface</depend>
2324
<depend>hardware_interface</depend>

0 commit comments

Comments
 (0)