diff --git a/cartographer_ros_msgs/CMakeLists.txt b/cartographer_ros_msgs/CMakeLists.txt
index 6c0f00b..4c6b31d 100644
--- a/cartographer_ros_msgs/CMakeLists.txt
+++ b/cartographer_ros_msgs/CMakeLists.txt
@@ -18,6 +18,7 @@ project(cartographer_ros_msgs)
set(PACKAGE_DEPENDENCIES
geometry_msgs
+ std_msgs
)
find_package(catkin REQUIRED COMPONENTS message_generation ${PACKAGE_DEPENDENCIES})
@@ -45,7 +46,7 @@ add_service_files(
generate_messages(
DEPENDENCIES
- geometry_msgs
+ ${PACKAGE_DEPENDENCIES}
)
catkin_package(
diff --git a/cartographer_ros_msgs/msg/LandmarkList.msg b/cartographer_ros_msgs/msg/LandmarkList.msg
index 9d5f375..5c5bd2d 100644
--- a/cartographer_ros_msgs/msg/LandmarkList.msg
+++ b/cartographer_ros_msgs/msg/LandmarkList.msg
@@ -13,4 +13,4 @@
# limitations under the License.
std_msgs/Header header
-LandmarkEntry[] landmark
+cartographer_ros_msgs/LandmarkEntry[] landmark
diff --git a/cartographer_ros_msgs/msg/SubmapList.msg b/cartographer_ros_msgs/msg/SubmapList.msg
index 6bab201..79a5e39 100644
--- a/cartographer_ros_msgs/msg/SubmapList.msg
+++ b/cartographer_ros_msgs/msg/SubmapList.msg
@@ -13,4 +13,4 @@
# limitations under the License.
std_msgs/Header header
-SubmapEntry[] submap
+cartographer_ros_msgs/SubmapEntry[] submap
diff --git a/cartographer_ros_msgs/package.xml b/cartographer_ros_msgs/package.xml
index 9503545..c982f19 100644
--- a/cartographer_ros_msgs/package.xml
+++ b/cartographer_ros_msgs/package.xml
@@ -31,6 +31,7 @@
catkin
geometry_msgs
+ std_msgs
message_generation
diff --git a/cartographer_ros_msgs/srv/SubmapQuery.srv b/cartographer_ros_msgs/srv/SubmapQuery.srv
index 5553246..3dd787c 100644
--- a/cartographer_ros_msgs/srv/SubmapQuery.srv
+++ b/cartographer_ros_msgs/srv/SubmapQuery.srv
@@ -17,4 +17,4 @@ int32 submap_index
---
cartographer_ros_msgs/StatusResponse status
int32 submap_version
-SubmapTexture[] textures
+cartographer_ros_msgs/SubmapTexture[] textures