Skip to content

Commit

Permalink
feat: launch V2X node in autoware launch (#349)
Browse files Browse the repository at this point in the history
* feat: launch V2X node in autoware launch

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>

* style(pre-commit): autofix

---------

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>
Co-authored-by: TomohitoAndo <TomohitoAndo@users.noreply.github.com>
  • Loading branch information
2 people authored and saka1-s committed Jun 25, 2024
1 parent 5ec7add commit 33c3441
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions autoware_launch/launch/autoware.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<arg name="launch_planning" default="true" description="launch planning"/>
<arg name="launch_control" default="true" description="launch control"/>
<arg name="launch_api" default="true" description="launch api"/>
<arg name="launch_v2x" default="true" description="launch V2X"/>
<!-- Global parameters -->
<arg name="use_sim_time" default="false" description="use_sim_time"/>
<!-- Vehicle -->
Expand Down Expand Up @@ -125,6 +126,15 @@
<include file="$(find-pkg-share autoware_launch)/launch/components/tier4_autoware_api_component.launch.xml"/>
</group>

<!-- V2X -->
<group if="$(var launch_v2x)">
<include file="$(find-pkg-share jpn_signal_launcher)/launch/jpn_signal.launch.xml">
<arg name="map_path" value="$(var map_path)"/>
<arg name="vehicle_model" value="$(var vehicle_model)"/>
<arg name="vehicle_id" value="1"/>
</include>
</group>

<!-- Tools -->
<group>
<node
Expand Down
2 changes: 2 additions & 0 deletions autoware_launch/launch/logging_simulator.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@
<!-- Perception -->
<arg name="centerpoint_model_path" value="$(var centerpoint_model_path)"/>
<arg name="centerpoint_model_param_path" value="$(var centerpoint_model_param_path)"/>
<!-- V2X -->
<arg name="launch_v2x" value="false"/>
</include>
</group>
</launch>
2 changes: 2 additions & 0 deletions autoware_launch/launch/planning_simulator.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
<!-- Auto mode setting-->
<arg name="enable_all_modules_auto_mode" value="$(var enable_all_modules_auto_mode)"/>
<arg name="is_simulation" value="true"/>
<!-- V2X -->
<arg name="launch_v2x" value="false"/>
</include>
</group>

Expand Down

0 comments on commit 33c3441

Please sign in to comment.