From dc38dc98158ffbaf5fdf8a34edc85ae3a2e2f136 Mon Sep 17 00:00:00 2001 From: Jaeyoung-Lim Date: Mon, 8 Apr 2024 15:23:32 +0200 Subject: [PATCH] Add gridmap geo messages grid_map_geo_msgs --- grid_map_geo/package.xml | 1 - grid_map_geo_msgs/CMakeLists.txt | 18 ++++++++++++++ grid_map_geo_msgs/include/dummy | 0 grid_map_geo_msgs/msg/GeographicMapInfo.msg | 26 +++++++++++++++++++++ grid_map_geo_msgs/package.xml | 24 +++++++++++++++++++ 5 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 grid_map_geo_msgs/CMakeLists.txt create mode 100644 grid_map_geo_msgs/include/dummy create mode 100644 grid_map_geo_msgs/msg/GeographicMapInfo.msg create mode 100644 grid_map_geo_msgs/package.xml diff --git a/grid_map_geo/package.xml b/grid_map_geo/package.xml index 4df2907..996c7b7 100644 --- a/grid_map_geo/package.xml +++ b/grid_map_geo/package.xml @@ -17,7 +17,6 @@ eigen_catkin grid_map_core grid_map_ros - geo_map_msgs eigen_catkin diff --git a/grid_map_geo_msgs/CMakeLists.txt b/grid_map_geo_msgs/CMakeLists.txt new file mode 100644 index 0000000..cc0f05f --- /dev/null +++ b/grid_map_geo_msgs/CMakeLists.txt @@ -0,0 +1,18 @@ +cmake_minimum_required(VERSION 2.8.3) +project(grid_map_geo_msgs) + +find_package(catkin REQUIRED COMPONENTS message_generation std_msgs) + +include_directories(include) + +add_message_files( + DIRECTORY msg + FILES + GeographicMapInfo.msg +) + +generate_messages(DEPENDENCIES std_msgs) + +catkin_package( + INCLUDE_DIRS include + CATKIN_DEPENDS message_runtime std_msgs) diff --git a/grid_map_geo_msgs/include/dummy b/grid_map_geo_msgs/include/dummy new file mode 100644 index 0000000..e69de29 diff --git a/grid_map_geo_msgs/msg/GeographicMapInfo.msg b/grid_map_geo_msgs/msg/GeographicMapInfo.msg new file mode 100644 index 0000000..6bad139 --- /dev/null +++ b/grid_map_geo_msgs/msg/GeographicMapInfo.msg @@ -0,0 +1,26 @@ +# Geomap Message +# + +std_msgs/Header header + + +# ESPG of the coordinate the map is in +uint16 geo_coordinate + +# Size of the map in pixels +uint16 width +uint16 height + + +# Resolution of the map +float64 x_resolution +float64 y_resolution + +# x value in the specified geocoordinate system +float64 origin_x + +# y value in the specified geocoordinate system +float64 origin_y + +# Altitude in the specified vertical datum +float64 origin_altitude diff --git a/grid_map_geo_msgs/package.xml b/grid_map_geo_msgs/package.xml new file mode 100644 index 0000000..91a7412 --- /dev/null +++ b/grid_map_geo_msgs/package.xml @@ -0,0 +1,24 @@ + + + + grid_map_geo_msgs + 0.0.1 + + geomap_msgs includes the definition for custom services and messages for the grid_map_geo package. + + + Jaeyoung Lim + BSD + + catkin + message_generation + message_runtime + std_msgs + + + + + +