From 631d8e1323e47efd1d994ee871904f35bc60910a Mon Sep 17 00:00:00 2001 From: Jaeyoung-Lim Date: Mon, 8 Apr 2024 14:56:41 +0200 Subject: [PATCH] Add gridmap geo messages grid_map_geo_msgs F --- 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 +++++++++++++++++++ 4 files changed, 68 insertions(+) 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_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..8c1f791 --- /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 + +# Latitude [degrees]. Positive is north of equator; negative is south. +float64 oigin_latitude + +# Longitude [degrees]. Positive is east of prime meridian; negative is west. +float64 orgin_longitude + +# Altitude [m]. Positive is above the WGS 84 ellipsoid +float64 orgin_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 + + + + + +