Skip to content

Commit

Permalink
feat: add MapProjectorInfo (#80)
Browse files Browse the repository at this point in the history
* feat: addMapProjectorInfo

Signed-off-by: tkhmy <tkh.my.p@gmail.com>

* fix Cmake

Signed-off-by: tkhmy <tkh.my.p@gmail.com>

---------

Signed-off-by: tkhmy <tkh.my.p@gmail.com>
  • Loading branch information
tkhmy authored Apr 28, 2023
1 parent 75f2b0e commit d1e567b
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tier4_map_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
cmake_minimum_required(VERSION 3.5)
project(tier4_map_msgs)

find_package(ament_cmake_auto REQUIRED)
ament_auto_find_build_dependencies()

rosidl_generate_interfaces(${PROJECT_NAME}
msg/MapProjectorInfo.msg
DEPENDENCIES
geographic_msgs
)

if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
endif()

ament_auto_package()
9 changes: 9 additions & 0 deletions tier4_map_msgs/msg/MapProjectorInfo.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# define map_projector_type
# UTM, MGRS, local
string type

# Used for MGRS map
string mgrs_grid

# Used for UTM map
geographic_msgs/GeoPoint map_origin
26 changes: 26 additions & 0 deletions tier4_map_msgs/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?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>tier4_map_msgs</name>
<version>0.1.0</version>
<description>The tier4_map_msgs package</description>
<maintainer email="kahhooi.tan@tier4.jp">Kah Hooi Tan</maintainer>
<license>Apache License 2.0</license>

<buildtool_depend>ament_cmake_auto</buildtool_depend>

<build_depend>rosidl_default_generators</build_depend>

<exec_depend>rosidl_default_runtime</exec_depend>

<depend>geographic_msgs</depend>

<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>

<member_of_group>rosidl_interface_packages</member_of_group>

<export>
<build_type>ament_cmake</build_type>
</export>
</package>

0 comments on commit d1e567b

Please sign in to comment.