Skip to content

Commit

Permalink
Add geo_map_msgs for custom messages (#62)
Browse files Browse the repository at this point in the history
* Encapsulate grid_map_geo package

* Add gridmap geo messages

grid_map_geo_msgs
  • Loading branch information
Jaeyoung-Lim committed Apr 9, 2024
1 parent e55f57b commit 6c08932
Show file tree
Hide file tree
Showing 15 changed files with 68 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 18 additions & 0 deletions grid_map_geo_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Empty file added grid_map_geo_msgs/include/dummy
Empty file.
26 changes: 26 additions & 0 deletions grid_map_geo_msgs/msg/GeographicMapInfo.msg
Original file line number Diff line number Diff line change
@@ -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
24 changes: 24 additions & 0 deletions grid_map_geo_msgs/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>grid_map_geo_msgs</name>
<version>0.0.1</version>
<description>
geomap_msgs includes the definition for custom services and messages for the grid_map_geo package.
</description>

<maintainer email="jalim@student.ethz.ch">Jaeyoung Lim</maintainer>
<license>BSD</license>

<buildtool_depend>catkin</buildtool_depend>
<build_depend>message_generation</build_depend>
<exec_depend>message_runtime</exec_depend>
<depend>std_msgs</depend>
<!-- XXX needed for users of mavlink_convert.h
<build_export_depend>libmavconn</build_export_depend>
-->

<export>
<architecture_independent/>
</export>
</package>

0 comments on commit 6c08932

Please sign in to comment.