Skip to content

Commit

Permalink
Merge pull request #734 from tier4/feat/traffic_light-v2i
Browse files Browse the repository at this point in the history
feat(traffic_light_module): add v2i to behavior_velocity_traffic_light
  • Loading branch information
yhisaki committed Feb 6, 2025
1 parent ba12a06 commit aca1626
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@
yellow_lamp_period: 2.75
enable_pass_judge: true
enable_rtc: false # If set to true, the scene modules require approval from the rtc (request to cooperate) function. If set to false, the modules can be executed without requiring rtc approval

v2i:
use_rest_time: false
last_time_allowed_to_pass: 2.0 # relative time against at the time of turn to red
velocity_threshold: 0.5 # change the decision logic whether the current velocity is faster or not
required_time_to_departure: 3.0 # prevent low speed pass
10 changes: 10 additions & 0 deletions autoware_launch/launch/autoware.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,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="false" description="launch V2X"/>
<!-- Global parameters -->
<arg name="use_sim_time" default="false" description="use_sim_time"/>
<!-- Vehicle -->
Expand Down Expand Up @@ -124,6 +125,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
4 changes: 4 additions & 0 deletions autoware_launch/launch/logging_simulator.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
<arg name="launch_dummy_diag_publisher" default="false" description="launch dummy diag publisher"/>
<!-- Tools -->
<arg name="rviz" default="true" description="launch rviz"/>
<!-- V2X-->
<arg name="launch_v2x" default="false" description="launch v2x modules"/>
<!-- Scenario simulation -->
<arg name="scenario_simulation" default="false" description="use scenario simulation"/>

Expand Down Expand Up @@ -71,6 +73,8 @@
<arg name="pointcloud_map_file" value="$(var pointcloud_map_file)"/>
<!-- Sensing -->
<arg name="launch_sensing_driver" value="false"/>
<!-- V2X -->
<arg name="launch_v2x" value="false"/>
</include>
</group>
</launch>
4 changes: 4 additions & 0 deletions autoware_launch/launch/planning_simulator.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
<arg name="rviz_config" default="$(find-pkg-share autoware_launch)/rviz/$(var rviz_config_name)" description="rviz config path"/>
<let name="rviz_respawn" value="false" if="$(var scenario_simulation)"/>
<let name="rviz_respawn" value="true" unless="$(var scenario_simulation)"/>
<!-- V2X-->
<arg name="launch_v2x" default="false" description="launch v2x modules"/>
<!-- Vcu emulation -->
<arg name="vehicle_simulation" default="true" description="use vehicle simulation"/>
<!-- Auto mode setting-->
Expand Down Expand Up @@ -78,6 +80,8 @@
<arg name="rviz" value="$(var rviz)"/>
<arg name="rviz_config" value="$(var rviz_config)"/>
<arg name="rviz_respawn" value="$(var rviz_respawn)"/>
<!-- V2X -->
<arg name="launch_v2x" value="$(var launch_v2x)"/>
<!-- Auto mode setting-->
<arg name="enable_all_modules_auto_mode" value="$(var enable_all_modules_auto_mode)"/>
<arg name="is_simulation" value="true"/>
Expand Down

0 comments on commit aca1626

Please sign in to comment.