Skip to content

Commit

Permalink
feat: remove overlap with tier4_autoware_api_launch (autowarefoundati…
Browse files Browse the repository at this point in the history
…on#589)

* feat: remove overlap with tier4_autoware_api_launch

Signed-off-by: Takagi, Isamu <[email protected]>

* fix: merge

Signed-off-by: Takagi, Isamu <[email protected]>

* fix: merge

Signed-off-by: Takagi, Isamu <[email protected]>

* fix: merge

Signed-off-by: Takagi, Isamu <[email protected]>

* feat: move launch files

Signed-off-by: Takagi, Isamu <[email protected]>

Signed-off-by: Takagi, Isamu <[email protected]>
Co-authored-by: Hiroki OTA <[email protected]>
  • Loading branch information
isamu-takagi and h-ohta authored Jan 13, 2023
1 parent 3ef3d29 commit 90f7743
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 170 deletions.
39 changes: 5 additions & 34 deletions autoware_api_launch/launch/autoware_api.launch.xml
Original file line number Diff line number Diff line change
@@ -1,38 +1,9 @@
<launch>

<arg name="respawn" default="true" />
<arg name="launch_default_ad_api" default="true"/>
<arg name="max_message_size" default="1000000000" />

<!-- AD API -->
<group if="$(var launch_default_ad_api)">
<include file="$(find-pkg-share default_ad_api)/launch/default_ad_api.launch.py"/>
</group>

<!-- awapi (deprecated) -->
<group>
<include file="$(find-pkg-share awapi_awiv_adapter)/launch/awapi_awiv_adapter.launch.xml"/>
</group>

<!-- autoware api adaptor -->
<group>
<push-ros-namespace namespace="autoware_api"/>
<include file="$(find-pkg-share autoware_api_launch)/launch/include/external_api_adaptor.launch.py"/>
<include file="$(find-pkg-share autoware_api_launch)/launch/include/internal_api_adaptor.launch.py"/>
<include file="$(find-pkg-share autoware_api_launch)/launch/include/internal_api_relay.launch.xml"/>
</group>

<!-- autoware api utils -->
<!-- forwarding options -->
<arg name="launch_deprecated_api" default="true"/>
<arg name="rosbridge_enabled" default="true"/>
<arg name="rosbridge_max_message_size" default="1000000000"/>
<group>
<push-ros-namespace namespace="autoware_api/utils"/>
<include file="$(find-pkg-share path_distance_calculator)/launch/path_distance_calculator.launch.xml"/>
<include file="$(find-pkg-share tier4_autoware_api_launch)/launch/autoware_api.launch.xml"/>
</group>

<!-- rosbridge -->
<!-- TODO: respawn will work once https://github.com/ros2/launch/pull/569 is released. I'll delete this comment when it's done. -->
<include file="$(find-pkg-share rosbridge_server)/launch/rosbridge_websocket_launch.xml">
<arg name="respawn" value="$(var respawn)"/>
<arg name="max_message_size" value="$(var max_message_size)"/>
</include>

</launch>
60 changes: 0 additions & 60 deletions autoware_api_launch/launch/include/external_api_adaptor.launch.py

This file was deleted.

44 changes: 0 additions & 44 deletions autoware_api_launch/launch/include/internal_api_adaptor.launch.py

This file was deleted.

20 changes: 0 additions & 20 deletions autoware_api_launch/launch/include/internal_api_relay.launch.xml

This file was deleted.

15 changes: 3 additions & 12 deletions autoware_launch/launch/autoware.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,17 +134,8 @@
<include file="$(find-pkg-share autoware_api_launch)/launch/autoware_api.launch.xml"/>
</group>

<!-- Tools -->
<group>
<!-- Rviz -->
<node
pkg="rviz2"
exec="rviz2"
name="rviz2"
output="screen"
args="-d $(var rviz_config) -s $(find-pkg-share autoware_launch)/rviz/image/autoware.png"
if="$(var rviz)"
/>
<include file="$(find-pkg-share ad_api_adaptors)/launch/rviz_adaptors.launch.xml" if="$(var rviz)"/>
<!-- Rviz -->
<group if="$(var rviz)">
<node pkg="rviz2" exec="rviz2" name="rviz2" output="screen" args="-d $(var rviz_config) -s $(find-pkg-share autoware_launch)/rviz/image/autoware.png"/>
</group>
</launch>

0 comments on commit 90f7743

Please sign in to comment.