Skip to content

Commit b780fa2

Browse files
authored
Merge branch 'main' into feat/add_dynamic_lanelet_loading
2 parents d38141c + 06ceea7 commit b780fa2

17 files changed

+337
-17
lines changed

autoware_map_msgs/CMakeLists.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ set(msg_files
99
"msg/LaneletMapBin.msg"
1010
"msg/LaneletMapMetaData.msg"
1111
"msg/LaneletMapCellMetaData.msg"
12-
"msg/PointCloudMapCellWithID.msg"
1312
"msg/PointCloudMapCellMetaData.msg"
14-
"msg/PointCloudMapCellMetaDataWithID.msg"
13+
"msg/PointCloudMapCellWithMetaData.msg"
1514
"msg/PointCloudMapMetaData.msg"
1615
"srv/GetPartialPointCloudMap.srv"
1716
"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

autoware_v2x_msgs/CMakeLists.txt

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
cmake_minimum_required(VERSION 3.14)
2+
project(autoware_v2x_msgs)
3+
4+
find_package(ament_cmake_auto REQUIRED)
5+
ament_auto_find_build_dependencies()
6+
7+
rosidl_generate_interfaces(${PROJECT_NAME}
8+
"msg/VirtualGateAreaCommand.msg"
9+
"msg/VirtualGateAreaStatus.msg"
10+
"msg/VirtualGateCommand.msg"
11+
"msg/VirtualGateStatus.msg"
12+
DEPENDENCIES
13+
builtin_interfaces
14+
geometry_msgs
15+
)
16+
17+
if(BUILD_TESTING)
18+
find_package(ament_lint_auto REQUIRED)
19+
ament_lint_auto_find_test_dependencies()
20+
endif()
21+
22+
ament_auto_package()

autoware_v2x_msgs/README.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# autoware_v2x_msgs
2+
3+
## Virtual gate messages
4+
5+
### Overview
6+
7+
This message represents the status of the virtual gate for passing through the area managed by the facility.
8+
The virtual gate treats area entry permission as a shared resource and controls vehicles by acquiring and releasing locks.
9+
Each facility may support different protocols, but Autoware V2X component converts each protocol and this message.
10+
This allows Autoware to handle facilities with different protocols with a unified message.
11+
12+
![virtual-gate-nodes](./doc/virtual-gate-nodes.drawio.svg)
13+
14+
### Sequence
15+
16+
Because there is a time lag before commands are reflected, the vehicle must wait until it receives the status of the same sequence as the command it sent.
17+
Until the vehicle receives the status, treat it as if it were unlocked.
18+
19+
### Gates
20+
21+
Specify the entrance and exit gate IDs. This is used to check if vehicles can pass simultaneously when multiple routes are possible within an area.
22+
If omitted, it is treated as a lock for the entire area.
23+
24+
### Vehicle ID
25+
26+
This message does not include the vehicle ID, so add it in the V2X component if required by the communication protocol.
27+
And if facilities publish multiple vehicle statuses, filter to only status for own vehicle.

0 commit comments

Comments
 (0)