Skip to content

Commit c246607

Browse files
authoredOct 31, 2024··
feat(autoware_map_msgs): add MapProjectorInfo message (#102)
Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>
1 parent 4f9f1c0 commit c246607

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed
 

‎autoware_map_msgs/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ set(msg_files
99
"msg/LaneletMapBin.msg"
1010
"msg/LaneletMapMetaData.msg"
1111
"msg/LaneletMapCellMetaData.msg"
12+
"msg/MapProjectorInfo.msg"
1213
"msg/PointCloudMapCellWithID.msg"
1314
"msg/PointCloudMapCellMetaData.msg"
1415
"msg/PointCloudMapCellMetaDataWithID.msg"
@@ -21,6 +22,7 @@ set(msg_files
2122
set(msg_dependencies
2223
std_msgs
2324
geometry_msgs
25+
geographic_msgs
2426
sensor_msgs)
2527

2628
rosidl_generate_interfaces(${PROJECT_NAME}

‎autoware_map_msgs/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ The message contains a pointcloud data attached with an ID.
1212

1313
The message contains a pointcloud meta data attached with an ID. These IDs are intended to be used as a query for selected PCD map loading (see `GetSelectedPointCloudMap.srv` section).
1414

15+
## MapProjectorInfo.msg
16+
17+
The message contains the information required to project global coordinates to local coordinates used by Autoware, which includes the name of the projection method and the parameters for the projection.
18+
For further information, please refer to the readme of [map_projection_loader](https://github.com/autowarefoundation/autoware.universe/blob/main/map/autoware_map_projection_loader/README.md) in Autoware Universe.
19+
1520
## GetPartialPointCloudMap.srv
1621

1722
Given an area query (`AreaInfo`), the response is expected to contain the PCD maps (each of which attached with unique ID) whose area overlaps with the query.
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Projector type
2+
string LOCAL = "Local"
3+
string LOCAL_CARTESIAN_UTM = "LocalCartesianUTM"
4+
string MGRS = "MGRS"
5+
string TRANSVERSE_MERCATOR = "TransverseMercator"
6+
string projector_type
7+
8+
# Vertical datum
9+
string WGS84 = "WGS84"
10+
string EGM2008 = "EGM2008"
11+
string vertical_datum
12+
13+
# Used for MGRS map
14+
string mgrs_grid
15+
16+
# Used for some map projection types
17+
# altitude may not be in ellipsoid height
18+
geographic_msgs/GeoPoint map_origin

‎autoware_map_msgs/package.xml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<buildtool_depend>ament_cmake_auto</buildtool_depend>
1515
<buildtool_depend>rosidl_default_generators</buildtool_depend>
1616

17+
<depend>geographic_msgs</depend>
1718
<depend>geometry_msgs</depend>
1819
<depend>sensor_msgs</depend>
1920
<depend>std_msgs</depend>

0 commit comments

Comments
 (0)
Please sign in to comment.