Skip to content

Commit

Permalink
Add gridmap geo messages
Browse files Browse the repository at this point in the history
grid_map_geo_msgs
  • Loading branch information
Jaeyoung-Lim committed Apr 8, 2024
1 parent aab48d3 commit dc38dc9
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 1 deletion.
1 change: 0 additions & 1 deletion grid_map_geo/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<build_depend>eigen_catkin</build_depend>
<build_depend>grid_map_core</build_depend>
<build_depend>grid_map_ros</build_depend>
<build_depend>geo_map_msgs</build_depend>
<run_depend>eigen_catkin</run_depend>
<export>
</export>
Expand Down
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="[email protected]">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 dc38dc9

Please sign in to comment.