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

refactor(autoware_map_msgs): modify pcd metadata msg #99

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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: 1 addition & 2 deletions autoware_map_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ ament_auto_find_build_dependencies()
set(msg_files
"msg/AreaInfo.msg"
"msg/LaneletMapBin.msg"
"msg/PointCloudMapCellWithID.msg"
"msg/PointCloudMapCellMetaData.msg"
"msg/PointCloudMapCellMetaDataWithID.msg"
"msg/PointCloudMapCellWithMetaData.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).

## PointCloudMapCellWithID.msg
## PointCloudMapCellMetaData.msg

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

## PointCloudMapCellMetaDataWithID.msg
## PointCloudMapCellWithMetaData.msg

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

## 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 `PointCloudMapCellMetaDataWithID.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 `PointCloudMapCellMetaData.msg` metadata to retrieve information about IDs.
1 change: 1 addition & 0 deletions autoware_map_msgs/msg/PointCloudMapCellMetaData.msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Metadata of pointcloud map cell

string cell_id
float32 min_x
float32 min_y
float32 max_x
Expand Down
4 changes: 0 additions & 4 deletions autoware_map_msgs/msg/PointCloudMapCellMetaDataWithID.msg

This file was deleted.

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

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

PointCloudMapCellMetaDataWithID[] metadata_list
PointCloudMapCellMetaData[] 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
PointCloudMapCellWithID[] new_pointcloud_with_ids
PointCloudMapCellWithMetaData[] new_pointcloud_cells

# 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
PointCloudMapCellWithID[] new_pointcloud_with_ids
PointCloudMapCellWithMetaData[] new_pointcloud_cells
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
PointCloudMapCellWithID[] new_pointcloud_with_ids
PointCloudMapCellWithMetaData[] new_pointcloud_cells
Loading