Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revert: revert "refactor(autoware_map_msgs): modify pcd metadata msg (#96)" #98

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion autoware_map_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ ament_auto_find_build_dependencies()
set(msg_files
"msg/AreaInfo.msg"
"msg/LaneletMapBin.msg"
"msg/PointCloudMapCellWithID.msg"
"msg/PointCloudMapCellMetaData.msg"
"msg/PointCloudMapCellWithMetaData.msg"
"msg/PointCloudMapCellMetaDataWithID.msg"
"msg/PointCloudMapMetaData.msg"
"srv/GetPartialPointCloudMap.srv"
"srv/GetDifferentialPointCloudMap.srv"
Expand Down
10 changes: 5 additions & 5 deletions autoware_map_msgs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

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).

## PointCloudMapCellMetaData.msg
## PointCloudMapCellWithID.msg

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).
The message contains a pointcloud data attached with an ID.

## PointCloudMapCellWithMetaData.msg
## PointCloudMapCellMetaDataWithID.msg

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

## GetPartialPointCloudMap.srv

Expand All @@ -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

## GetSelectedPointCloudMap.srv

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.
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.
1 change: 0 additions & 1 deletion autoware_map_msgs/msg/PointCloudMapCellMetaData.msg
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Metadata of pointcloud map cell

string cell_id
float32 min_x
float32 min_y
float32 max_x
Expand Down
4 changes: 4 additions & 0 deletions autoware_map_msgs/msg/PointCloudMapCellMetaDataWithID.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Pointcloud metadata with ID

string cell_id
PointCloudMapCellMetaData metadata
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Pointcloud with metadata
# Pointcloud data with ID

string cell_id
sensor_msgs/PointCloud2 pointcloud
PointCloudMapCellMetaData metadata
2 changes: 1 addition & 1 deletion autoware_map_msgs/msg/PointCloudMapMetaData.msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Header
std_msgs/Header header

PointCloudMapCellMetaData[] metadata_list
PointCloudMapCellMetaDataWithID[] metadata_list
2 changes: 1 addition & 1 deletion autoware_map_msgs/srv/GetDifferentialPointCloudMap.srv
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ string[] cached_ids
std_msgs/Header header

# Newly loaded PCD maps with ID
PointCloudMapCellWithMetaData[] new_pointcloud_cells
PointCloudMapCellWithID[] new_pointcloud_with_ids

# Map IDs that the client side should remove
string[] ids_to_remove
2 changes: 1 addition & 1 deletion autoware_map_msgs/srv/GetPartialPointCloudMap.srv
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ AreaInfo area
std_msgs/Header header

# Newly loaded PCD maps with ID
PointCloudMapCellWithMetaData[] new_pointcloud_cells
PointCloudMapCellWithID[] new_pointcloud_with_ids
2 changes: 1 addition & 1 deletion autoware_map_msgs/srv/GetSelectedPointCloudMap.srv
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ string[] cell_ids
std_msgs/Header header

# Newly loaded PCD maps with ID
PointCloudMapCellWithMetaData[] new_pointcloud_cells
PointCloudMapCellWithID[] new_pointcloud_with_ids
Loading