Skip to content

Commit 93802fd

Browse files
authored
chore(autoware_default_adapi)!: prefix autoware to package name (autowarefoundation#8533)
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
1 parent 05b1554 commit 93802fd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+141
-141
lines changed

.github/CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ system/autoware_component_monitor/** memin@leodrive.ai
222222
system/autoware_processing_time_checker/** kosuke.takeuchi@tier4.jp takayuki.murooka@tier4.jp
223223
system/bluetooth_monitor/** fumihito.ito@tier4.jp
224224
system/component_state_monitor/** isamu.takagi@tier4.jp
225-
system/default_ad_api/** isamu.takagi@tier4.jp ryohsuke.mitsudome@tier4.jp yukihiro.saito@tier4.jp
225+
system/autoware_default_adapi/** isamu.takagi@tier4.jp ryohsuke.mitsudome@tier4.jp yukihiro.saito@tier4.jp
226226
system/default_ad_api_helpers/ad_api_adaptors/** isamu.takagi@tier4.jp ryohsuke.mitsudome@tier4.jp yukihiro.saito@tier4.jp
227227
system/default_ad_api_helpers/ad_api_visualizers/** isamu.takagi@tier4.jp ryohsuke.mitsudome@tier4.jp yukihiro.saito@tier4.jp
228228
system/default_ad_api_helpers/automatic_pose_initializer/** isamu.takagi@tier4.jp ryohsuke.mitsudome@tier4.jp yukihiro.saito@tier4.jp

launch/tier4_autoware_api_launch/launch/autoware_api.launch.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<launch>
22
<!-- AD API options -->
33
<arg name="launch_deprecated_api" default="false"/>
4-
<arg name="launch_default_ad_api" default="true"/>
4+
<arg name="launch_default_adapi" default="true"/>
55
<arg name="launch_rviz_adaptors" default="true"/>
66

77
<!-- rosbridge options -->
@@ -16,7 +16,7 @@
1616

1717
<!-- AD API -->
1818
<group>
19-
<include file="$(find-pkg-share default_ad_api)/launch/default_ad_api.launch.py" if="$(var launch_default_ad_api)"/>
19+
<include file="$(find-pkg-share autoware_default_adapi)/launch/default_adapi.launch.py" if="$(var launch_default_adapi)"/>
2020
<include file="$(find-pkg-share ad_api_adaptors)/launch/rviz_adaptors.launch.xml" if="$(var launch_rviz_adaptors)"/>
2121
</group>
2222

launch/tier4_autoware_api_launch/package.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
<buildtool_depend>autoware_cmake</buildtool_depend>
1313

1414
<exec_depend>ad_api_adaptors</exec_depend>
15+
<exec_depend>autoware_default_adapi</exec_depend>
1516
<exec_depend>autoware_iv_external_api_adaptor</exec_depend>
1617
<exec_depend>autoware_iv_internal_api_adaptor</exec_depend>
1718
<exec_depend>autoware_path_distance_calculator</exec_depend>
1819
<exec_depend>awapi_awiv_adapter</exec_depend>
19-
<exec_depend>default_ad_api</exec_depend>
2020
<exec_depend>rosbridge_server</exec_depend>
2121
<exec_depend>topic_tools</exec_depend>
2222

localization/pose_initializer/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ If the score of initial pose estimation result is lower than score threshold, ER
5151

5252
## Connection with Default AD API
5353

54-
This `pose_initializer` is used via default AD API. For detailed description of the API description, please refer to [the description of `default_ad_api`](https://github.com/autowarefoundation/autoware.universe/blob/main/system/default_ad_api/document/localization.md).
54+
This `pose_initializer` is used via default AD API. For detailed description of the API description, please refer to [the description of `autoware_default_adapi`](https://github.com/autowarefoundation/autoware.universe/blob/main/system/autoware_default_adapi/document/localization.md).
5555

56-
<img src="../../system/default_ad_api/document/images/localization.drawio.svg" alt="drawing" width="800"/>
56+
<img src="../../system/autoware_default_adapi/document/images/localization.drawio.svg" alt="drawing" width="800"/>
5757

5858
## Initialize pose via CLI
5959

@@ -136,4 +136,4 @@ pose:
136136
```
137137

138138
It behaves the same as "initialpose (from rviz)".
139-
The position.z and the covariance will be overwritten by [ad_api_adaptors](https://github.com/autowarefoundation/autoware.universe/tree/main/system/default_ad_api_helpers/ad_api_adaptors), so there is no need to input them.
139+
The position.z and the covariance will be overwritten by [ad_api_adaptors](https://github.com/autowarefoundation/autoware.universe/tree/main/system/autoware_default_adapi_helpers/ad_api_adaptors), so there is no need to input them.

planning/behavior_path_planner/autoware_behavior_path_planner/README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -89,18 +89,18 @@ The Planner Manager's responsibilities include:
8989

9090
### Input
9191

92-
| Name | Required? | Type | Description |
93-
| :---------------------------- | :-------: | :------------------------------------------------------ | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
94-
| ~/input/odometry || `nav_msgs::msg::Odometry` | for ego velocity. |
95-
| ~/input/accel || `geometry_msgs::msg::AccelWithCovarianceStamped` | for ego acceleration. |
96-
| ~/input/objects || `autoware_perception_msgs::msg::PredictedObjects` | dynamic objects from perception module. |
97-
| ~/input/occupancy_grid_map || `nav_msgs::msg::OccupancyGrid` | occupancy grid map from perception module. This is used for only Goal Planner module. |
98-
| ~/input/traffic_signals || `autoware_perception_msgs::msg::TrafficLightGroupArray` | traffic signals information from the perception module |
99-
| ~/input/vector_map || `autoware_map_msgs::msg::LaneletMapBin` | vector map information. |
100-
| ~/input/route || `autoware_planning_msgs::msg::LaneletRoute` | current route from start to goal. |
101-
| ~/input/scenario || `tier4_planning_msgs::msg::Scenario` | Launches behavior path planner if current scenario == `Scenario:LaneDriving`. |
102-
| ~/input/lateral_offset || `tier4_planning_msgs::msg::LateralOffset` | lateral offset to trigger side shift |
103-
| ~/system/operation_mode/state || `autoware_adapi_v1_msgs::msg::OperationModeState` | Allows planning module to know if vehicle is in autonomous mode or can be controlled<sup>[ref](https://github.com/autowarefoundation/autoware.universe/blob/main/system/default_ad_api/document/operation-mode.md)</sup> |
92+
| Name | Required? | Type | Description |
93+
| :---------------------------- | :-------: | :------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
94+
| ~/input/odometry || `nav_msgs::msg::Odometry` | for ego velocity. |
95+
| ~/input/accel || `geometry_msgs::msg::AccelWithCovarianceStamped` | for ego acceleration. |
96+
| ~/input/objects || `autoware_perception_msgs::msg::PredictedObjects` | dynamic objects from perception module. |
97+
| ~/input/occupancy_grid_map || `nav_msgs::msg::OccupancyGrid` | occupancy grid map from perception module. This is used for only Goal Planner module. |
98+
| ~/input/traffic_signals || `autoware_perception_msgs::msg::TrafficLightGroupArray` | traffic signals information from the perception module |
99+
| ~/input/vector_map || `autoware_map_msgs::msg::LaneletMapBin` | vector map information. |
100+
| ~/input/route || `autoware_planning_msgs::msg::LaneletRoute` | current route from start to goal. |
101+
| ~/input/scenario || `tier4_planning_msgs::msg::Scenario` | Launches behavior path planner if current scenario == `Scenario:LaneDriving`. |
102+
| ~/input/lateral_offset || `tier4_planning_msgs::msg::LateralOffset` | lateral offset to trigger side shift |
103+
| ~/system/operation_mode/state || `autoware_adapi_v1_msgs::msg::OperationModeState` | Allows planning module to know if vehicle is in autonomous mode or can be controlled<sup>[ref](https://github.com/autowarefoundation/autoware.universe/blob/main/system/autoware_default_adapi/document/operation-mode.md)</sup> |
104104

105105
- ○ Mandatory: Planning Module would not work if anyone of this is not present.
106106
- △ Optional: Some module would not work, but Planning Module can still be operated.

system/default_ad_api/CMakeLists.txt system/autoware_default_adapi/CMakeLists.txt

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.14)
2-
project(default_ad_api)
2+
project(autoware_default_adapi)
33

44
find_package(autoware_cmake REQUIRED)
55
autoware_package()
@@ -24,20 +24,20 @@ ament_auto_add_library(${PROJECT_NAME} SHARED
2424
)
2525

2626
rclcpp_components_register_nodes(${PROJECT_NAME}
27-
"default_ad_api::AutowareStateNode"
28-
"default_ad_api::DiagnosticsNode"
29-
"default_ad_api::FailSafeNode"
30-
"default_ad_api::HeartbeatNode"
31-
"default_ad_api::InterfaceNode"
32-
"default_ad_api::LocalizationNode"
33-
"default_ad_api::MotionNode"
34-
"default_ad_api::OperationModeNode"
35-
"default_ad_api::PerceptionNode"
36-
"default_ad_api::PlanningNode"
37-
"default_ad_api::RoutingNode"
38-
"default_ad_api::VehicleNode"
39-
"default_ad_api::VehicleInfoNode"
40-
"default_ad_api::VehicleDoorNode"
27+
"autoware::default_adapi::AutowareStateNode"
28+
"autoware::default_adapi::DiagnosticsNode"
29+
"autoware::default_adapi::FailSafeNode"
30+
"autoware::default_adapi::HeartbeatNode"
31+
"autoware::default_adapi::InterfaceNode"
32+
"autoware::default_adapi::LocalizationNode"
33+
"autoware::default_adapi::MotionNode"
34+
"autoware::default_adapi::OperationModeNode"
35+
"autoware::default_adapi::PerceptionNode"
36+
"autoware::default_adapi::PlanningNode"
37+
"autoware::default_adapi::RoutingNode"
38+
"autoware::default_adapi::VehicleNode"
39+
"autoware::default_adapi::VehicleInfoNode"
40+
"autoware::default_adapi::VehicleDoorNode"
4141
)
4242

4343
if(BUILD_TESTING)

system/default_ad_api/README.md system/autoware_default_adapi/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# default_ad_api
1+
# autoware_default_adapi
22

33
## Notes
44

@@ -25,7 +25,7 @@ This is a sample to call API using HTTP.
2525
This is a debug script to check the conditions for transition to autonomous mode.
2626

2727
```bash
28-
$ ros2 run default_ad_api guide.py
28+
$ ros2 run autoware_default_adapi guide.py
2929

3030
The vehicle pose is not estimated. Please set an initial pose or check GNSS.
3131
The route is not set. Please set a goal pose.
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
/default_ad_api/node/autoware_state:
1+
/adapi/node/autoware_state:
22
ros__parameters:
33
update_rate: 10.0
44

5-
/default_ad_api/node/motion:
5+
/adapi/node/motion:
66
ros__parameters:
77
require_accept_start: false
88
stop_check_duration: 1.0

system/default_ad_api/document/autoware-state.md system/autoware_default_adapi/document/autoware-state.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Overview
44

5-
Since `/autoware/state` was so widely used, default_ad_api creates it from the states of AD API for backwards compatibility.
5+
Since `/autoware/state` was so widely used, this packages creates it from the states of AD API for backwards compatibility.
66
The diagnostic checks that ad_service_state_monitor used to perform have been replaced by component_state_monitor.
77
The service `/autoware/shutdown` to change autoware state to finalizing is also supported for compatibility.
88

@@ -11,6 +11,6 @@ The service `/autoware/shutdown` to change autoware state to finalizing is also
1111
## Conversion
1212

1313
This is the correspondence between AD API states and autoware states.
14-
The launch state is the data that default_ad_api node holds internally.
14+
The launch state is the data that this node holds internally.
1515

1616
![autoware-state-table](images/autoware-state-table.drawio.svg)

0 commit comments

Comments
 (0)