diff --git a/ros2_controllers_test_nodes/package.xml b/ros2_controllers_test_nodes/package.xml
index ce373188ce..d5e714c8b1 100644
--- a/ros2_controllers_test_nodes/package.xml
+++ b/ros2_controllers_test_nodes/package.xml
@@ -17,6 +17,7 @@
https://github.com/ros-controls/ros2_controllers/
rclpy
+ sensor_msgs
std_msgs
trajectory_msgs