forked from autowarefoundation/autoware_launch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(autoware_launch): remove control_launch, and use tier4_contr…
…ol_launch instead (autowarefoundation#700) * refactor(autoware_launch): remove control_launch, and use tier4_control_launch instead Signed-off-by: Takayuki Murooka <[email protected]> * remove control_launch Signed-off-by: Takayuki Murooka <[email protected]> * ci(pre-commit): autofix * ci(pre-commit): autofix Signed-off-by: Takayuki Murooka <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
f559bbb
commit c192ab8
Showing
22 changed files
with
100 additions
and
918 deletions.
There are no files selected for viewing
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
autoware_launch/config/control/external_cmd_selector/external_cmd_selector.param.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/**: | ||
ros__parameters: | ||
update_rate: 10.0 | ||
initial_selector_mode: "local" # ["local", "remote"] |
15 changes: 15 additions & 0 deletions
15
autoware_launch/config/control/lane_departure_checker/lane_departure_checker.param.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/**: | ||
ros__parameters: | ||
# Node | ||
update_rate: 10.0 | ||
visualize_lanelet: false | ||
|
||
# Core | ||
footprint_margin_scale: 1.0 | ||
resample_interval: 0.3 | ||
max_deceleration: 2.8 | ||
delay_time: 1.3 | ||
max_lateral_deviation: 2.0 | ||
max_longitudinal_deviation: 2.0 | ||
max_yaw_deviation_deg: 60.0 | ||
delta_yaw_threshold_for_closest_point: 1.570 #M_PI/2.0, delta yaw thres for closest point |
11 changes: 11 additions & 0 deletions
11
...re_launch/config/control/obstacle_collision_checker/obstacle_collision_checker.param.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/**: | ||
ros__parameters: | ||
# Node | ||
update_rate: 10.0 | ||
|
||
# Core | ||
delay_time: 0.03 # delay time of vehicle [s] | ||
footprint_margin: 0.0 # margin for footprint [m] | ||
max_deceleration: 1.5 # max deceleration [m/ss] | ||
resample_interval: 0.3 # interval distance to resample point cloud [m] | ||
search_radius: 5.0 # search distance from trajectory to point cloud [m] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 16 additions & 0 deletions
16
autoware_launch/config/control/trajectory_follower/lateral/pure_pursuit.param.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/**: | ||
ros__parameters: | ||
ld_velocity_ratio: 2.4 | ||
ld_lateral_error_ratio: 3.6 | ||
ld_curvature_ratio: 120.0 | ||
long_ld_lateral_error_threshold: 0.5 | ||
min_lookahead_distance: 4.35 | ||
max_lookahead_distance: 15.0 | ||
converged_steer_rad: 0.1 | ||
reverse_min_lookahead_distance: 7.0 | ||
prediction_ds: 0.3 | ||
prediction_distance_length: 21.0 | ||
resampling_ds: 0.1 | ||
curvature_calculation_distance: 4.0 | ||
enable_path_smoothing: false | ||
path_filter_moving_ave_num: 25 |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
autoware_launch/launch/components/tier4_control_component.launch.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<arg name="vehicle_param_file"/> | ||
<arg name="vehicle_id"/> | ||
<arg name="enable_obstacle_collision_checker"/> | ||
<arg name="lateral_controller_mode"/> | ||
<arg name="longitudinal_controller_mode"/> | ||
<arg name="use_individual_control_param"/> | ||
|
||
<let name="latlon_controller_param_path_dir" value="$(var vehicle_id)" if="$(var use_individual_control_param)"/> | ||
<let name="latlon_controller_param_path_dir" value="" unless="$(var use_individual_control_param)"/> | ||
|
||
<include file="$(find-pkg-share tier4_control_launch)/launch/control.launch.py"> | ||
<arg name="vehicle_param_file" value="$(var vehicle_param_file)"/> | ||
|
||
<!-- option --> | ||
<arg name="vehicle_param_file" value="$(var vehicle_param_file)"/> | ||
<arg name="vehicle_id" value="$(var vehicle_id)"/> | ||
<arg name="enable_obstacle_collision_checker" value="$(var enable_obstacle_collision_checker)"/> | ||
<arg name="trajectory_follower_node_param_path" value="$(find-pkg-share autoware_launch)/config/control/trajectory_follower/trajectory_follower_node.param.yaml"/> | ||
<arg | ||
name="lat_controller_param_path" | ||
value="$(find-pkg-share autoware_launch)/config/control/trajectory_follower/$(var latlon_controller_param_path_dir)/lateral/$(var lateral_controller_mode).param.yaml" | ||
/> | ||
<arg | ||
name="lon_controller_param_path" | ||
value="$(find-pkg-share autoware_launch)/config/control/trajectory_follower/$(var latlon_controller_param_path_dir)/longitudinal/$(var longitudinal_controller_mode).param.yaml" | ||
/> | ||
<arg name="lateral_controller_mode" value="$(var lateral_controller_mode)"/> | ||
<arg name="longitudinal_controller_mode" value="$(var longitudinal_controller_mode)"/> | ||
|
||
<!-- common param path --> | ||
<arg name="nearest_search_param_path" value="$(find-pkg-share autoware_launch)/config/control/common/nearest_search.param.yaml"/> | ||
|
||
<!-- package param path --> | ||
<arg name="lat_controller_param_path" value="$(var lat_controller_param_path)"/> | ||
<arg name="lon_controller_param_path" value="$(var lon_controller_param_path)"/> | ||
<arg name="vehicle_cmd_gate_param_path" value="$(find-pkg-share autoware_launch)/config/control/vehicle_cmd_gate/vehicle_cmd_gate.param.yaml"/> | ||
<arg name="lane_departure_checker_param_path" value="$(find-pkg-share autoware_launch)/config/control/lane_departure_checker/lane_departure_checker.param.yaml"/> | ||
<arg name="operation_mode_transition_manager_param_path" value="$(find-pkg-share autoware_launch)/config/control/operation_mode_transition_manager/operation_mode_transition_manager.param.yaml"/> | ||
<arg name="shift_decider_param_path" value="$(find-pkg-share autoware_launch)/config/control/shift_decider/shift_decider.param.yaml"/> | ||
<arg name="obstacle_collision_checker_param_path" value="$(find-pkg-share autoware_launch)/config/control/obstacle_collision_checker/obstacle_collision_checker.param.yaml"/> | ||
<arg name="external_cmd_selector_param_path" value="$(find-pkg-share autoware_launch)/config/control/external_cmd_selector/external_cmd_selector.param.yaml"/> | ||
</include> | ||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
control_launch/config/trajectory_follower/lateral/pure_pursuit.param.yaml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.