Skip to content

Commit df37bbb

Browse files
Merge pull request #304 from tier4/sync-awf-upstream
chore: sync awf/autoware_launch
2 parents e1d07dc + 92d0529 commit df37bbb

File tree

42 files changed

+330
-214
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+330
-214
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,46 @@
11
/**:
22
ros__parameters:
3-
show_debug_info: false
4-
enable_yaw_bias_estimation: true
5-
predict_frequency: 50.0
6-
tf_rate: 50.0
7-
publish_tf: true
8-
extend_state_step: 50
3+
node:
4+
show_debug_info: false
5+
enable_yaw_bias_estimation: true
6+
predict_frequency: 50.0
7+
tf_rate: 50.0
8+
publish_tf: true
9+
extend_state_step: 50
910

10-
# for Pose measurement
11-
pose_additional_delay: 0.0
12-
pose_measure_uncertainty_time: 0.01
13-
pose_smoothing_steps: 5
14-
pose_gate_dist: 10000.0
11+
pose_measurement:
12+
# for Pose measurement
13+
pose_additional_delay: 0.0
14+
pose_measure_uncertainty_time: 0.01
15+
pose_smoothing_steps: 5
16+
pose_gate_dist: 10000.0
1517

16-
# for twist measurement
17-
twist_additional_delay: 0.0
18-
twist_smoothing_steps: 2
19-
twist_gate_dist: 10000.0
18+
twist_measurement:
19+
# for twist measurement
20+
twist_additional_delay: 0.0
21+
twist_smoothing_steps: 2
22+
twist_gate_dist: 10000.0
2023

21-
# for process model
22-
proc_stddev_yaw_c: 0.005
23-
proc_stddev_vx_c: 10.0
24-
proc_stddev_wz_c: 5.0
24+
process_noise:
25+
# for process model
26+
proc_stddev_yaw_c: 0.005
27+
proc_stddev_vx_c: 10.0
28+
proc_stddev_wz_c: 5.0
2529

26-
#Simple1DFilter parameters
27-
z_filter_proc_dev: 1.0
28-
roll_filter_proc_dev: 0.01
29-
pitch_filter_proc_dev: 0.01
30-
# for diagnostics
31-
pose_no_update_count_threshold_warn: 50
32-
pose_no_update_count_threshold_error: 100
33-
twist_no_update_count_threshold_warn: 50
34-
twist_no_update_count_threshold_error: 100
30+
simple_1d_filter_parameters:
31+
#Simple1DFilter parameters
32+
z_filter_proc_dev: 1.0
33+
roll_filter_proc_dev: 0.01
34+
pitch_filter_proc_dev: 0.01
3535

36-
# for velocity measurement limitation (Set 0.0 if you want to ignore)
37-
threshold_observable_velocity_mps: 0.0 # [m/s]
36+
diagnostics:
37+
# for diagnostics
38+
pose_no_update_count_threshold_warn: 50
39+
pose_no_update_count_threshold_error: 100
40+
twist_no_update_count_threshold_warn: 50
41+
twist_no_update_count_threshold_error: 100
42+
43+
misc:
44+
# for velocity measurement limitation (Set 0.0 if you want to ignore)
45+
threshold_observable_velocity_mps: 0.0 # [m/s]
46+
pose_frame_id: "map"
Original file line numberDiff line numberDiff line change
@@ -1,103 +1,114 @@
11
/**:
22
ros__parameters:
3-
# Vehicle reference frame
4-
base_frame: "base_link"
3+
frame:
4+
# Vehicle reference frame
5+
base_frame: "base_link"
56

6-
# NDT reference frame
7-
ndt_base_frame: "ndt_base_link"
7+
# NDT reference frame
8+
ndt_base_frame: "ndt_base_link"
89

9-
# map frame
10-
map_frame: "map"
10+
# Map frame
11+
map_frame: "map"
1112

12-
# Subscriber queue size
13-
input_sensor_points_queue_size: 1
1413

15-
# The maximum difference between two consecutive
16-
# transformations in order to consider convergence
17-
trans_epsilon: 0.01
14+
ndt:
15+
# The maximum difference between two consecutive
16+
# transformations in order to consider convergence
17+
trans_epsilon: 0.01
1818

19-
# The newton line search maximum step length
20-
step_size: 0.1
19+
# The newton line search maximum step length
20+
step_size: 0.1
2121

22-
# The ND voxel grid resolution
23-
resolution: 2.0
22+
# The ND voxel grid resolution
23+
resolution: 2.0
2424

25-
# The number of iterations required to calculate alignment
26-
max_iterations: 30
25+
# The number of iterations required to calculate alignment
26+
max_iterations: 30
2727

28-
# Converged param type
29-
# 0=TRANSFORM_PROBABILITY, 1=NEAREST_VOXEL_TRANSFORMATION_LIKELIHOOD
30-
converged_param_type: 1
28+
# Number of threads used for parallel computing
29+
num_threads: 4
3130

32-
# If converged_param_type is 0
33-
# Threshold for deciding whether to trust the estimation result
34-
converged_param_transform_probability: 3.0
31+
regularization:
32+
enable: false
3533

36-
# If converged_param_type is 1
37-
# Threshold for deciding whether to trust the estimation result
38-
converged_param_nearest_voxel_transformation_likelihood: 2.3
34+
# Regularization scale factor
35+
scale_factor: 0.01
3936

40-
# The number of particles to estimate initial pose
41-
initial_estimate_particles_num: 200
4237

43-
# The number of initial random trials in the TPE (Tree-Structured Parzen Estimator).
44-
# This value should be equal to or less than 'initial_estimate_particles_num' and more than 0.
45-
# If it is equal to 'initial_estimate_particles_num', the search will be the same as a full random search.
46-
n_startup_trials: 20
38+
initial_pose_estimation:
39+
# The number of particles to estimate initial pose
40+
particles_num: 200
4741

48-
# Tolerance of timestamp difference between current time and sensor pointcloud. [sec]
49-
lidar_topic_timeout_sec: 1.0
42+
# The number of initial random trials in the TPE (Tree-Structured Parzen Estimator).
43+
# This value should be equal to or less than 'initial_estimate_particles_num' and more than 0.
44+
# If it is equal to 'initial_estimate_particles_num', the search will be the same as a full random search.
45+
n_startup_trials: 20
5046

51-
# Tolerance of timestamp difference between initial_pose and sensor pointcloud. [sec]
52-
initial_pose_timeout_sec: 1.0
5347

54-
# Tolerance of distance difference between two initial poses used for linear interpolation. [m]
55-
initial_pose_distance_tolerance_m: 10.0
48+
validation:
49+
# Tolerance of timestamp difference between current time and sensor pointcloud. [sec]
50+
lidar_topic_timeout_sec: 1.0
5651

57-
# Number of threads used for parallel computing
58-
num_threads: 4
52+
# Tolerance of timestamp difference between initial_pose and sensor pointcloud. [sec]
53+
initial_pose_timeout_sec: 1.0
5954

60-
# The covariance of output pose
61-
# Note that this covariance matrix is empirically derived
62-
output_pose_covariance:
63-
[
64-
0.0225, 0.0, 0.0, 0.0, 0.0, 0.0,
65-
0.0, 0.0225, 0.0, 0.0, 0.0, 0.0,
66-
0.0, 0.0, 0.0225, 0.0, 0.0, 0.0,
67-
0.0, 0.0, 0.0, 0.000625, 0.0, 0.0,
68-
0.0, 0.0, 0.0, 0.0, 0.000625, 0.0,
69-
0.0, 0.0, 0.0, 0.0, 0.0, 0.000625,
70-
]
55+
# Tolerance of distance difference between two initial poses used for linear interpolation. [m]
56+
initial_pose_distance_tolerance_m: 10.0
7157

72-
# 2D Real-time covariance estimation with multiple searches (output_pose_covariance is the minimum value)
73-
use_covariance_estimation: false
58+
# The execution time which means probably NDT cannot matches scans properly. [ms]
59+
critical_upper_bound_exe_time_ms: 100.0
7460

75-
# Offset arrangement in covariance estimation [m]
76-
# initial_pose_offset_model_x & initial_pose_offset_model_y must have the same number of elements.
77-
initial_pose_offset_model_x: [0.0, 0.0, 0.5, -0.5, 1.0, -1.0]
78-
initial_pose_offset_model_y: [0.5, -0.5, 0.0, 0.0, 0.0, 0.0]
7961

80-
# Regularization switch
81-
regularization_enabled: false
62+
score_estimation:
63+
# Converged param type
64+
# 0=TRANSFORM_PROBABILITY, 1=NEAREST_VOXEL_TRANSFORMATION_LIKELIHOOD
65+
converged_param_type: 1
8266

83-
# Regularization scale factor
84-
regularization_scale_factor: 0.01
67+
# If converged_param_type is 0
68+
# Threshold for deciding whether to trust the estimation result
69+
converged_param_transform_probability: 3.0
8570

86-
# Dynamic map loading distance
87-
dynamic_map_loading_update_distance: 20.0
71+
# If converged_param_type is 1
72+
# Threshold for deciding whether to trust the estimation result
73+
converged_param_nearest_voxel_transformation_likelihood: 2.3
8874

89-
# Dynamic map loading loading radius
90-
dynamic_map_loading_map_radius: 150.0
75+
# Scan matching score based on no ground LiDAR scan
76+
no_ground_points:
77+
enable: false
9178

92-
# Radius of input LiDAR range (used for diagnostics of dynamic map loading)
93-
lidar_radius: 100.0
79+
# If lidar_point.z - base_link.z <= this threshold , the point will be removed
80+
z_margin_for_ground_removal: 0.8
9481

95-
# cspell: ignore degrounded
96-
# A flag for using scan matching score based on de-grounded LiDAR scan
97-
estimate_scores_for_degrounded_scan: false
9882

99-
# If lidar_point.z - base_link.z <= this threshold , the point will be removed
100-
z_margin_for_ground_removal: 0.8
83+
covariance:
84+
# The covariance of output pose
85+
# Note that this covariance matrix is empirically derived
86+
output_pose_covariance:
87+
[
88+
0.0225, 0.0, 0.0, 0.0, 0.0, 0.0,
89+
0.0, 0.0225, 0.0, 0.0, 0.0, 0.0,
90+
0.0, 0.0, 0.0225, 0.0, 0.0, 0.0,
91+
0.0, 0.0, 0.0, 0.000625, 0.0, 0.0,
92+
0.0, 0.0, 0.0, 0.0, 0.000625, 0.0,
93+
0.0, 0.0, 0.0, 0.0, 0.0, 0.000625,
94+
]
10195

102-
# The execution time which means probably NDT cannot matches scans properly. [ms]
103-
critical_upper_bound_exe_time_ms: 100
96+
# 2D Real-time covariance estimation with multiple searches (output_pose_covariance is the minimum value)
97+
covariance_estimation:
98+
enable: false
99+
100+
# Offset arrangement in covariance estimation [m]
101+
# initial_pose_offset_model_x & initial_pose_offset_model_y must have the same number of elements.
102+
initial_pose_offset_model_x: [0.0, 0.0, 0.5, -0.5, 1.0, -1.0]
103+
initial_pose_offset_model_y: [0.5, -0.5, 0.0, 0.0, 0.0, 0.0]
104+
105+
106+
dynamic_map_loading:
107+
# Dynamic map loading distance
108+
update_distance: 20.0
109+
110+
# Dynamic map loading loading radius
111+
map_radius: 150.0
112+
113+
# Radius of input LiDAR range (used for diagnostics of dynamic map loading)
114+
lidar_radius: 100.0

autoware_launch/config/localization/pose_initializer.param.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
ros__parameters:
33
gnss_pose_timeout: 3.0 # [sec]
44
stop_check_duration: 3.0 # [sec]
5+
ekf_enabled: $(var ekf_enabled)
6+
gnss_enabled: $(var gnss_enabled)
7+
yabloc_enabled: $(var yabloc_enabled)
8+
ndt_enabled: $(var ndt_enabled)
9+
stop_check_enabled: $(var stop_check_enabled)
510

611
# from gnss
712
gnss_particle_covariance:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/**:
2+
ros__parameters:
3+
use_odom: true
4+
accel_lowpass_gain: 0.9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/**:
2+
ros__parameters:
3+
map_projector_info_path: $(var map_projector_info_path)
4+
lanelet2_map_path: $(var lanelet2_map_path)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/**:
2+
ros__parameters:
3+
map_frame: map
4+
viewer_frame: viewer

autoware_launch/config/perception/object_recognition/detection/lidar_model/centerpoint.param.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,14 @@
1313
iou_nms_search_distance_2d: 10.0
1414
iou_nms_threshold: 0.1
1515
yaw_norm_thresholds: [0.3, 0.3, 0.3, 0.3, 0.0]
16+
score_threshold: 0.35
17+
has_twist: false
18+
trt_precision: fp16
19+
densification_num_past_frames: 1
20+
densification_world_frame_id: map
21+
22+
# weight files
23+
encoder_onnx_path: "$(var model_path)/pts_voxel_encoder_$(var model_name).onnx"
24+
encoder_engine_path: "$(var model_path)/pts_voxel_encoder_$(var model_name).engine"
25+
head_onnx_path: "$(var model_path)/pts_backbone_neck_head_$(var model_name).onnx"
26+
head_engine_path: "$(var model_path)/pts_backbone_neck_head_$(var model_name).engine"

autoware_launch/config/perception/object_recognition/detection/lidar_model/centerpoint_tiny.param.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,15 @@
1313
iou_nms_search_distance_2d: 10.0
1414
iou_nms_threshold: 0.1
1515
yaw_norm_thresholds: [0.3, 0.3, 0.3, 0.3, 0.0]
16+
score_threshold: 0.35
17+
build_only: false # shutdown node after TensorRT engine file is built
18+
has_twist: false
19+
trt_precision: fp16
20+
densification_num_past_frames: 1
21+
densification_world_frame_id: map
22+
23+
# weight files
24+
encoder_onnx_path: "$(var model_path)/pts_voxel_encoder_$(var model_name).onnx"
25+
encoder_engine_path: "$(var model_path)/pts_voxel_encoder_$(var model_name).engine"
26+
head_onnx_path: "$(var model_path)/pts_backbone_neck_head_$(var model_name).onnx"
27+
head_engine_path: "$(var model_path)/pts_backbone_neck_head_$(var model_name).engine"

autoware_launch/config/perception/object_recognition/detection/lidar_model/detection_class_remapper.param.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
max_area_matrix:
3030
#UNKNOWN, CAR, TRUCK, BUS, TRAILER, MOTORBIKE, BICYCLE, PEDESTRIAN
3131
[ 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, #UNKNOWN
32-
0.000, 0.000, 36.000, 0.000, inf, 0.000, 0.000, 0.000, #CAR
33-
0.000, 0.000, 0.000, 0.000, inf, 0.000, 0.000, 0.000, #TRUCK
34-
0.000, 0.000, 0.000, 0.000, inf, 0.000, 0.000, 0.000, #BUS
32+
0.000, 0.000, 36.000, 0.000, 999.999, 0.000, 0.000, 0.000, #CAR
33+
0.000, 0.000, 0.000, 0.000, 999.999, 0.000, 0.000, 0.000, #TRUCK
34+
0.000, 0.000, 0.000, 0.000, 999.999, 0.000, 0.000, 0.000, #BUS
3535
0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, #TRAILER
3636
0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, #MOTORBIKE
3737
0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, #BICYCLE

autoware_launch/config/perception/object_recognition/detection/lidar_model/pointpainting.param.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
/**:
22
ros__parameters:
3+
trt_precision: fp16
4+
encoder_onnx_path: "$(var model_path)/pts_voxel_encoder_$(var model_name).onnx"
5+
encoder_engine_path: "$(var model_path)/pts_voxel_encoder_$(var model_name).engine"
6+
head_onnx_path: "$(var model_path)/pts_backbone_neck_head_$(var model_name).onnx"
7+
head_engine_path: "$(var model_path)/pts_backbone_neck_head_$(var model_name).engine"
8+
39
model_params:
410
class_names: ["CAR", "TRUCK", "BUS", "BICYCLE", "PEDESTRIAN"]
511
paint_class_names: ["CAR", "BICYCLE", "PEDESTRIAN"]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/**:
2+
ros__parameters:
3+
split_range: 80.0
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/**:
2+
ros__parameters:
3+
split_range: 70.0
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/**:
2+
ros__parameters:
3+
velocity_threshold: 5.5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/**:
2+
ros__parameters:
3+
velocity_threshold: 4.5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/**:
2+
ros__parameters:
3+
angle_threshold: 1.2210
4+
velocity_threshold: 1.5

autoware_launch/config/perception/object_recognition/prediction/map_based_prediction.param.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
use_vehicle_acceleration: false # whether to consider current vehicle acceleration when predicting paths or not
2020
speed_limit_multiplier: 1.5 # When using vehicle acceleration. Set vehicle's maximum predicted speed as the legal speed limit in that lanelet times this value
2121
acceleration_exponential_half_life: 2.5 # [s] When using vehicle acceleration. The decaying acceleration model considers that the current vehicle acceleration will be halved after this many seconds
22+
use_crosswalk_signal: true
2223
# parameter for shoulder lane prediction
2324
prediction_time_horizon_rate_for_validate_shoulder_lane_length: 0.8
2425

0 commit comments

Comments
 (0)