Skip to content

Commit 06ceea7

Browse files
authored
refactor(autoware_map_msgs): modify pcd metadata msg (#96)
Signed-off-by: Yamato Ando <[email protected]>
1 parent 6f4f478 commit 06ceea7

9 files changed

+12
-17
lines changed

autoware_map_msgs/CMakeLists.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ ament_auto_find_build_dependencies()
77
set(msg_files
88
"msg/AreaInfo.msg"
99
"msg/LaneletMapBin.msg"
10-
"msg/PointCloudMapCellWithID.msg"
1110
"msg/PointCloudMapCellMetaData.msg"
12-
"msg/PointCloudMapCellMetaDataWithID.msg"
11+
"msg/PointCloudMapCellWithMetaData.msg"
1312
"msg/PointCloudMapMetaData.msg"
1413
"srv/GetPartialPointCloudMap.srv"
1514
"srv/GetDifferentialPointCloudMap.srv"

autoware_map_msgs/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
The message represents an area information. This is intended to be used as a query for partial / differential map loading (see `GetPartialPointCloudMap.srv` and `GetDifferentialPointCloudMap.srv` section).
66

7-
## PointCloudMapCellWithID.msg
7+
## PointCloudMapCellMetaData.msg
88

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

11-
## PointCloudMapCellMetaDataWithID.msg
11+
## PointCloudMapCellWithMetaData.msg
1212

13-
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).
13+
The message contains a pointcloud data attached with a metadata.
1414

1515
## GetPartialPointCloudMap.srv
1616

@@ -36,4 +36,4 @@ Let $X_0$ be a set of PCD map ID that the client node has, $X_1$ be a set of PCD
3636

3737
## GetSelectedPointCloudMap.srv
3838

39-
Given IDs query, the response is expected to contain the PCD maps (each of which attached with unique ID) specified by query. Before using this interface, the client is expected to receive the `PointCloudMapCellMetaDataWithID.msg` metadata to retrieve information about IDs.
39+
Given IDs query, the response is expected to contain the PCD maps (each of which attached with unique ID) specified by query. Before using this interface, the client is expected to receive the `PointCloudMapCellMetaData.msg` metadata to retrieve information about IDs.

autoware_map_msgs/msg/PointCloudMapCellMetaData.msg

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Metadata of pointcloud map cell
22

3+
string cell_id
34
float32 min_x
45
float32 min_y
56
float32 max_x

autoware_map_msgs/msg/PointCloudMapCellMetaDataWithID.msg

-4
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Pointcloud data with ID
1+
# Pointcloud with metadata
22

3-
string cell_id
43
sensor_msgs/PointCloud2 pointcloud
54
PointCloudMapCellMetaData metadata
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Header
22
std_msgs/Header header
33

4-
PointCloudMapCellMetaDataWithID[] metadata_list
4+
PointCloudMapCellMetaData[] metadata_list

autoware_map_msgs/srv/GetDifferentialPointCloudMap.srv

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ string[] cached_ids
1010
std_msgs/Header header
1111

1212
# Newly loaded PCD maps with ID
13-
PointCloudMapCellWithID[] new_pointcloud_with_ids
13+
PointCloudMapCellWithMetaData[] new_pointcloud_cells
1414

1515
# Map IDs that the client side should remove
1616
string[] ids_to_remove

autoware_map_msgs/srv/GetPartialPointCloudMap.srv

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ AreaInfo area
77
std_msgs/Header header
88

99
# Newly loaded PCD maps with ID
10-
PointCloudMapCellWithID[] new_pointcloud_with_ids
10+
PointCloudMapCellWithMetaData[] new_pointcloud_cells

autoware_map_msgs/srv/GetSelectedPointCloudMap.srv

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ string[] cell_ids
66
std_msgs/Header header
77

88
# Newly loaded PCD maps with ID
9-
PointCloudMapCellWithID[] new_pointcloud_with_ids
9+
PointCloudMapCellWithMetaData[] new_pointcloud_cells

0 commit comments

Comments
 (0)