Skip to content

Commit

Permalink
feat(rtc_auto_mode_manager): eliminate rtc auto mode manager (autowar…
Browse files Browse the repository at this point in the history
…efoundation#5235)

* change namespace of auto_mode

Signed-off-by: kyoichi-sugahara <[email protected]>

* delete RTC auto mode manager package

Signed-off-by: kyoichi-sugahara <[email protected]>

* delete rtc_replayer.param

Signed-off-by: kyoichi-sugahara <[email protected]>

* style(pre-commit): autofix

* fix typo

Signed-off-by: kyoichi-sugahara <[email protected]>

* fix typo

Signed-off-by: kyoichi-sugahara <[email protected]>

---------

Signed-off-by: kyoichi-sugahara <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
kyoichi-sugahara and pre-commit-ci[bot] authored Oct 7, 2023
1 parent 0c48944 commit 83821d4
Show file tree
Hide file tree
Showing 21 changed files with 19 additions and 430 deletions.
2 changes: 0 additions & 2 deletions launch/tier4_planning_launch/launch/planning.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
<!-- common -->
<arg name="common_param_path"/>
<arg name="nearest_search_param_path"/>
<!-- rtc -->
<arg name="rtc_auto_mode_manager_param_path"/>
<!-- mission planner -->
<arg name="mission_planner_param_path"/>
<!-- behavior path planner -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
<arg name="use_experimental_lane_change_function" value="$(var use_experimental_lane_change_function)"/>
</include>
</group>
<group>
<include file="$(find-pkg-share rtc_auto_mode_manager)/launch/rtc_auto_mode_manager.launch.xml">
<arg name="param_path" value="$(var rtc_auto_mode_manager_param_path)"/>
</include>
</group>
</group>

<!-- motion planning module -->
Expand Down
1 change: 0 additions & 1 deletion launch/tier4_planning_launch/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
<exec_depend>obstacle_stop_planner</exec_depend>
<exec_depend>planning_evaluator</exec_depend>
<exec_depend>planning_validator</exec_depend>
<exec_depend>rtc_auto_mode_manager</exec_depend>
<exec_depend>scenario_selector</exec_depend>
<exec_depend>surround_obstacle_checker</exec_depend>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ros__parameters:
external_request_lane_change_left:
enable_module: false
enable_rtc: true
enable_rtc: false
enable_simultaneous_execution_as_approved_module: false
enable_simultaneous_execution_as_candidate_module: true
keep_last: false
Expand All @@ -14,7 +14,7 @@

external_request_lane_change_right:
enable_module: false
enable_rtc: true
enable_rtc: false
enable_simultaneous_execution_as_approved_module: false
enable_simultaneous_execution_as_candidate_module: true
keep_last: false
Expand All @@ -23,7 +23,7 @@

lane_change_left:
enable_module: true
enable_rtc: true
enable_rtc: false
enable_simultaneous_execution_as_approved_module: true
enable_simultaneous_execution_as_candidate_module: true
keep_last: false
Expand All @@ -32,7 +32,7 @@

lane_change_right:
enable_module: true
enable_rtc: true
enable_rtc: false
enable_simultaneous_execution_as_approved_module: true
enable_simultaneous_execution_as_candidate_module: true
keep_last: false
Expand All @@ -41,7 +41,7 @@

start_planner:
enable_module: true
enable_rtc: true
enable_rtc: false
enable_simultaneous_execution_as_approved_module: false
enable_simultaneous_execution_as_candidate_module: false
keep_last: false
Expand All @@ -50,7 +50,7 @@

side_shift:
enable_module: true
enable_rtc: true
enable_rtc: false
enable_simultaneous_execution_as_approved_module: false
enable_simultaneous_execution_as_candidate_module: false
keep_last: false
Expand All @@ -59,7 +59,7 @@

goal_planner:
enable_module: true
enable_rtc: true
enable_rtc: false
enable_simultaneous_execution_as_approved_module: false
enable_simultaneous_execution_as_candidate_module: false
keep_last: true
Expand All @@ -68,7 +68,7 @@

avoidance:
enable_module: true
enable_rtc: true
enable_rtc: false
enable_simultaneous_execution_as_approved_module: true
enable_simultaneous_execution_as_candidate_module: false
keep_last: false
Expand All @@ -77,7 +77,7 @@

avoidance_by_lc:
enable_module: false
enable_rtc: true
enable_rtc: false
enable_simultaneous_execution_as_approved_module: false
enable_simultaneous_execution_as_candidate_module: false
keep_last: false
Expand All @@ -86,7 +86,7 @@

dynamic_avoidance:
enable_module: false
enable_rtc: true
enable_rtc: false
enable_simultaneous_execution_as_approved_module: true
enable_simultaneous_execution_as_candidate_module: true
keep_last: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
max_future_movement_time: 10.0 # [second]
threshold_yaw_diff: 0.523 # [rad]
adjacent_extend_width: 1.5 # [m]
enable_rtc: true # 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
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
show_processing_time: false # [-] whether to show processing time
# param for input data
traffic_light_state_timeout: 3.0 # [s] timeout threshold for traffic light signal
enable_rtc: true # if true, the scene modules should be approved by (request to cooperate)rtc function. if false, the module can be run without approval from rtc.
enable_rtc: false # if true, the scene modules should be approved by (request to cooperate)rtc function. if false, the module can be run without approval from rtc.

# param for stop position
stop_position:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
state_clear_time: 2.0
hold_stop_margin_distance: 0.0
distance_to_judge_over_stop_line: 0.5
enable_rtc: true # 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
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
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
attention_lane_curvature_calculation_ds: 0.5

enable_rtc:
intersection: true # 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
intersection_to_occlusion: true
intersection: 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
intersection_to_occlusion: false

merge_from_private:
stop_line_margin: 3.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
stop_line_margin: 1.0 # [m] margin to auto-gen stop line at no stopping area
detection_area_length: 200.0 # [m] used to create detection area polygon
stuck_vehicle_front_margin: 6.0 # [m] obstacle stop max distance(5.0m)
enable_rtc: true # 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
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
tl_state_timeout: 1.0
yellow_lamp_period: 2.75
enable_pass_judge: true
enable_rtc: true # 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
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
29 changes: 0 additions & 29 deletions planning/rtc_auto_mode_manager/CMakeLists.txt

This file was deleted.

47 changes: 0 additions & 47 deletions planning/rtc_auto_mode_manager/README.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 83821d4

Please sign in to comment.