diff --git a/map/map_tf_generator/package.xml b/map/map_tf_generator/package.xml
index cd1ef98eb8014..e1f74fd40511d 100644
--- a/map/map_tf_generator/package.xml
+++ b/map/map_tf_generator/package.xml
@@ -12,7 +12,8 @@
libpcl-all-dev
pcl_conversions
rclcpp
- std_msgs
+ rclcpp_components
+ sensor_msgs
tf2
tf2_ros