Skip to content

Commit 58ae65b

Browse files
authored
ci: register control param files for sync-params workflow (#1832)
* register control param files into sync-params workflow Signed-off-by: Taeseung Sohn <taeseung.sohn@tier4.jp> * apply sync-params to control param files Signed-off-by: Taeseung Sohn <taeseung.sohn@tier4.jp> * update sync source and re-apply sync-params Signed-off-by: Taeseung Sohn <taeseung.sohn@tier4.jp> --------- Signed-off-by: Taeseung Sohn <taeseung.sohn@tier4.jp>
1 parent 0057f37 commit 58ae65b

16 files changed

Lines changed: 261 additions & 11 deletions

File tree

.github/sync-params.yaml

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# If you want to change the param source, follow these steps:
2+
#
3+
# 1. Remove the sync-params header from the target (variant) param file.
4+
# 2. update `source:` in this file.
5+
# 3. Run the sync-params workflow locally with `python .github/scripts/sync_params.py <category (e.g. perception)>` to update the target param file and reattach the header.
6+
17
perception:
28
- repository: autowarefoundation/autoware_universe
39
ref: main
@@ -332,7 +338,58 @@ planning:
332338
# Planning/scenario_planning/lane_driving/behavior_planning
333339
# Planning/scenario_planning/lane_driving/motion_planning
334340

335-
control: []
341+
control:
342+
# common/nearest_search.param.yaml omitted.
343+
- repository: autowarefoundation/autoware_universe
344+
ref: main
345+
files:
346+
- source: control/autoware_autonomous_emergency_braking/config/autonomous_emergency_braking.param.yaml
347+
variants:
348+
- path: autoware_launch/config/control/autoware_autonomous_emergency_braking/autonomous_emergency_braking.param.yaml
349+
- source: control/autoware_collision_detector/config/collision_detector.param.yaml
350+
variants:
351+
- path: autoware_launch/config/control/autoware_collision_detector/collision_detector.param.yaml
352+
- source: control/autoware_control_command_gate/config/default.param.yaml
353+
variants:
354+
- path: autoware_launch/config/control/control_command_gate/control_command_gate.param.yaml
355+
- source: control/autoware_control_validator/config/control_validator.param.yaml
356+
variants:
357+
- path: autoware_launch/config/control/control_validator/control_validator.param.yaml
358+
- source: control/autoware_external_cmd_selector/config/external_cmd_selector.param.yaml
359+
variants:
360+
- path: autoware_launch/config/control/external_cmd_selector/external_cmd_selector.param.yaml
361+
- source: control/autoware_lane_departure_checker/config/lane_departure_checker.param.yaml
362+
variants:
363+
- path: autoware_launch/config/control/lane_departure_checker/lane_departure_checker.param.yaml
364+
- source: control/autoware_obstacle_collision_checker/config/obstacle_collision_checker.param.yaml
365+
variants:
366+
- path: autoware_launch/config/control/obstacle_collision_checker/obstacle_collision_checker.param.yaml
367+
- source: control/autoware_operation_mode_transition_manager/config/operation_mode_transition_manager.param.yaml
368+
variants:
369+
- path: autoware_launch/config/control/operation_mode_transition_manager/operation_mode_transition_manager.param.yaml
370+
- source: control/autoware_predicted_path_checker/config/predicted_path_checker.param.yaml
371+
variants:
372+
- path: autoware_launch/config/control/predicted_path_checker/predicted_path_checker.param.yaml
373+
- source: control/autoware_shift_decider/config/shift_decider.param.yaml
374+
variants:
375+
- path: autoware_launch/config/control/shift_decider/shift_decider.param.yaml
376+
377+
- source: control/autoware_mpc_lateral_controller/param/lateral_controller_defaults.param.yaml
378+
variants:
379+
- path: autoware_launch/config/control/trajectory_follower/lateral/mpc.param.yaml
380+
- source: control/autoware_pure_pursuit/config/pure_pursuit.param.yaml
381+
variants:
382+
- path: autoware_launch/config/control/trajectory_follower/lateral/pure_pursuit.param.yaml
383+
- source: control/autoware_pid_longitudinal_controller/config/autoware_pid_longitudinal_controller.param.yaml
384+
variants:
385+
- path: autoware_launch/config/control/trajectory_follower/longitudinal/pid.param.yaml
386+
- source: control/autoware_trajectory_follower_node/param/trajectory_follower_node.param.yaml
387+
variants:
388+
- path: autoware_launch/config/control/trajectory_follower/trajectory_follower_node.param.yaml
389+
- source: control/autoware_vehicle_cmd_gate/config/vehicle_cmd_gate.param.yaml
390+
variants:
391+
- path: autoware_launch/config/control/vehicle_cmd_gate/vehicle_cmd_gate.param.yaml
392+
336393
system: []
337394
vehicle: []
338395
simulator: []

autoware_launch/config/control/autoware_autonomous_emergency_braking/autonomous_emergency_braking.param.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# This file is managed by sync-params workflow.
2+
# DO NOT EDIT THIS FILE DIRECTLY FOR ADDING OR REMOVING FIELDS. Follow these steps:
3+
#
4+
# 1. Modify the param file in the upstream repository.
5+
# 2. Run the sync-params workflow or run `python .github/scripts/sync_params.py control` to update this file.
6+
# 3. If local changes are needed, annotate them with an override marker (see below).
7+
#
8+
# Keys marked with '{OVERRIDE}' or '# {OVERRIDE: reason}' are persisted as variant overrides.
9+
# 'reason' can be any single-line text without braces.
10+
# To keep local changes, annotate fields with '# {OVERRIDE}' or '# {OVERRIDE: reason}'.
11+
#
12+
# Source: https://github.com/autowarefoundation/autoware_universe/blob/659b6b3836406bc33f257798c1ae41374a72c501/control/autoware_autonomous_emergency_braking/config/autonomous_emergency_braking.param.yaml
13+
114
/**:
215
ros__parameters:
316
# Ego path calculation

autoware_launch/config/control/autoware_collision_detector/collision_detector.param.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# This file is managed by sync-params workflow.
2+
# DO NOT EDIT THIS FILE DIRECTLY FOR ADDING OR REMOVING FIELDS. Follow these steps:
3+
#
4+
# 1. Modify the param file in the upstream repository.
5+
# 2. Run the sync-params workflow or run `python .github/scripts/sync_params.py control` to update this file.
6+
# 3. If local changes are needed, annotate them with an override marker (see below).
7+
#
8+
# Keys marked with '{OVERRIDE}' or '# {OVERRIDE: reason}' are persisted as variant overrides.
9+
# 'reason' can be any single-line text without braces.
10+
# To keep local changes, annotate fields with '# {OVERRIDE}' or '# {OVERRIDE: reason}'.
11+
#
12+
# Source: https://github.com/autowarefoundation/autoware_universe/blob/1be9bb3bd92e38ffb1b9690952ab68400d50c051/control/autoware_collision_detector/config/collision_detector.param.yaml
13+
114
/**:
215
ros__parameters:
316
use_pointcloud: false # use pointcloud as obstacle check

autoware_launch/config/control/control_command_gate/control_command_gate.param.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# This file is managed by sync-params workflow.
2+
# DO NOT EDIT THIS FILE DIRECTLY FOR ADDING OR REMOVING FIELDS. Follow these steps:
3+
#
4+
# 1. Modify the param file in the upstream repository.
5+
# 2. Run the sync-params workflow or run `python .github/scripts/sync_params.py control` to update this file.
6+
# 3. If local changes are needed, annotate them with an override marker (see below).
7+
#
8+
# Keys marked with '{OVERRIDE}' or '# {OVERRIDE: reason}' are persisted as variant overrides.
9+
# 'reason' can be any single-line text without braces.
10+
# To keep local changes, annotate fields with '# {OVERRIDE}' or '# {OVERRIDE: reason}'.
11+
#
12+
# Source: https://github.com/autowarefoundation/autoware_universe/blob/45e62f3e319fa392343ed54ff5338f116f84fe2b/control/autoware_control_command_gate/config/default.param.yaml
13+
114
/**:
215
ros__parameters:
316
inputs: [11, 12, 13, 14, 21] # See autoware_command_mode_types/sources.hpp

autoware_launch/config/control/control_validator/control_validator.param.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# This file is managed by sync-params workflow.
2+
# DO NOT EDIT THIS FILE DIRECTLY FOR ADDING OR REMOVING FIELDS. Follow these steps:
3+
#
4+
# 1. Modify the param file in the upstream repository.
5+
# 2. Run the sync-params workflow or run `python .github/scripts/sync_params.py control` to update this file.
6+
# 3. If local changes are needed, annotate them with an override marker (see below).
7+
#
8+
# Keys marked with '{OVERRIDE}' or '# {OVERRIDE: reason}' are persisted as variant overrides.
9+
# 'reason' can be any single-line text without braces.
10+
# To keep local changes, annotate fields with '# {OVERRIDE}' or '# {OVERRIDE: reason}'.
11+
#
12+
# Source: https://github.com/autowarefoundation/autoware_universe/blob/41ae917fa949ddeb7afcea46b408379ae447ae5b/control/autoware_control_validator/config/control_validator.param.yaml
13+
114
/**:
215
ros__parameters:
316
# If the number of consecutive invalid predicted_path exceeds this threshold, the Diag will be set to ERROR.

autoware_launch/config/control/external_cmd_selector/external_cmd_selector.param.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# This file is managed by sync-params workflow.
2+
# DO NOT EDIT THIS FILE DIRECTLY FOR ADDING OR REMOVING FIELDS. Follow these steps:
3+
#
4+
# 1. Modify the param file in the upstream repository.
5+
# 2. Run the sync-params workflow or run `python .github/scripts/sync_params.py control` to update this file.
6+
# 3. If local changes are needed, annotate them with an override marker (see below).
7+
#
8+
# Keys marked with '{OVERRIDE}' or '# {OVERRIDE: reason}' are persisted as variant overrides.
9+
# 'reason' can be any single-line text without braces.
10+
# To keep local changes, annotate fields with '# {OVERRIDE}' or '# {OVERRIDE: reason}'.
11+
#
12+
# Source: https://github.com/autowarefoundation/autoware_universe/blob/038a8c47d12428d03fc9b2d7548a68f75636f029/control/autoware_external_cmd_selector/config/external_cmd_selector.param.yaml
13+
114
/**:
215
ros__parameters:
316
update_rate: 10.0

autoware_launch/config/control/lane_departure_checker/lane_departure_checker.param.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# This file is managed by sync-params workflow.
2+
# DO NOT EDIT THIS FILE DIRECTLY FOR ADDING OR REMOVING FIELDS. Follow these steps:
3+
#
4+
# 1. Modify the param file in the upstream repository.
5+
# 2. Run the sync-params workflow or run `python .github/scripts/sync_params.py control` to update this file.
6+
# 3. If local changes are needed, annotate them with an override marker (see below).
7+
#
8+
# Keys marked with '{OVERRIDE}' or '# {OVERRIDE: reason}' are persisted as variant overrides.
9+
# 'reason' can be any single-line text without braces.
10+
# To keep local changes, annotate fields with '# {OVERRIDE}' or '# {OVERRIDE: reason}'.
11+
#
12+
# Source: https://github.com/autowarefoundation/autoware_universe/blob/d4cfa920a500ba8372bb74a9c7e308cd6d166de8/control/autoware_lane_departure_checker/config/lane_departure_checker.param.yaml
13+
114
/**:
215
ros__parameters:
316
# Enable feature
@@ -14,14 +27,11 @@
1427
include_conflicting_lanes: false
1528
boundary_types_to_detect: [curbstone]
1629

30+
1731
# Core
1832
footprint_margin_scale: 1.0
1933
footprint_extra_margin: 0.0
2034
resample_interval: 0.3
2135
max_deceleration: 2.8
2236
delay_time: 1.3
23-
max_lateral_deviation: 2.0
24-
max_longitudinal_deviation: 2.0
25-
max_yaw_deviation_deg: 60.0
26-
delta_yaw_threshold_for_closest_point: 1.570 #M_PI/2.0, delta yaw thres for closest point
2737
min_braking_distance: 0.0

autoware_launch/config/control/obstacle_collision_checker/obstacle_collision_checker.param.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# This file is managed by sync-params workflow.
2+
# DO NOT EDIT THIS FILE DIRECTLY FOR ADDING OR REMOVING FIELDS. Follow these steps:
3+
#
4+
# 1. Modify the param file in the upstream repository.
5+
# 2. Run the sync-params workflow or run `python .github/scripts/sync_params.py control` to update this file.
6+
# 3. If local changes are needed, annotate them with an override marker (see below).
7+
#
8+
# Keys marked with '{OVERRIDE}' or '# {OVERRIDE: reason}' are persisted as variant overrides.
9+
# 'reason' can be any single-line text without braces.
10+
# To keep local changes, annotate fields with '# {OVERRIDE}' or '# {OVERRIDE: reason}'.
11+
#
12+
# Source: https://github.com/autowarefoundation/autoware_universe/blob/23f4c8646764969eecdd1694bca9bed3b0ec9e08/control/autoware_obstacle_collision_checker/config/obstacle_collision_checker.param.yaml
13+
114
/**:
215
ros__parameters:
316
# Node

autoware_launch/config/control/operation_mode_transition_manager/operation_mode_transition_manager.param.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# This file is managed by sync-params workflow.
2+
# DO NOT EDIT THIS FILE DIRECTLY FOR ADDING OR REMOVING FIELDS. Follow these steps:
3+
#
4+
# 1. Modify the param file in the upstream repository.
5+
# 2. Run the sync-params workflow or run `python .github/scripts/sync_params.py control` to update this file.
6+
# 3. If local changes are needed, annotate them with an override marker (see below).
7+
#
8+
# Keys marked with '{OVERRIDE}' or '# {OVERRIDE: reason}' are persisted as variant overrides.
9+
# 'reason' can be any single-line text without braces.
10+
# To keep local changes, annotate fields with '# {OVERRIDE}' or '# {OVERRIDE: reason}'.
11+
#
12+
# Source: https://github.com/autowarefoundation/autoware_universe/blob/4ce0ec8af5b0552b7b9c7122cebfec15c0592fd7/control/autoware_operation_mode_transition_manager/config/operation_mode_transition_manager.param.yaml
13+
114
/**:
215
ros__parameters:
316
input_timeout: 3.0
@@ -8,10 +21,11 @@
821
enable_engage_on_driving: false
922

1023
check_engage_condition: false # set false if you do not want to care about the engage condition.
24+
1125
nearest_dist_deviation_threshold: 3.0 # [m] for finding nearest index
1226
nearest_yaw_deviation_threshold: 1.57 # [rad] for finding nearest index
1327
engage_acceptable_limits:
14-
allow_autonomous_in_stopped: true # no check if the velocity is zero, always allowed.
28+
allow_autonomous_in_stopped: true # if true, all engage check is skipped.
1529
dist_threshold: 1.5
1630
yaw_threshold: 0.524
1731
speed_upper_threshold: 10.0

autoware_launch/config/control/predicted_path_checker/predicted_path_checker.param.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# This file is managed by sync-params workflow.
2+
# DO NOT EDIT THIS FILE DIRECTLY FOR ADDING OR REMOVING FIELDS. Follow these steps:
3+
#
4+
# 1. Modify the param file in the upstream repository.
5+
# 2. Run the sync-params workflow or run `python .github/scripts/sync_params.py control` to update this file.
6+
# 3. If local changes are needed, annotate them with an override marker (see below).
7+
#
8+
# Keys marked with '{OVERRIDE}' or '# {OVERRIDE: reason}' are persisted as variant overrides.
9+
# 'reason' can be any single-line text without braces.
10+
# To keep local changes, annotate fields with '# {OVERRIDE}' or '# {OVERRIDE: reason}'.
11+
#
12+
# Source: https://github.com/autowarefoundation/autoware_universe/blob/47d55f437e14d1bd66b48626ff03ea903198a1c7/control/autoware_predicted_path_checker/config/predicted_path_checker.param.yaml
13+
114
/**:
215
ros__parameters:
316
# Node

0 commit comments

Comments
 (0)