Skip to content

Commit eb8dab7

Browse files
style(pre-commit): autofix
1 parent ca3e6da commit eb8dab7

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

localization/ndt_scan_matcher/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ initial_pose_offset_model_x & initial_pose_offset_model_y must have the same num
266266
| ----------------------------------------- | -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------- | --------------------------------------------------------------------------------------------------- |
267267
| `topic_time_stamp` | the time stamp of input topic | none | none | no |
268268
| `sensor_points_size` | the size of sensor points | the size is 0 | none | yes |
269-
| `sensor_points_delay_time_sec` | the delay time of sensor points | the time is **longer** than `sensor_points.timeout_sec` | none | yes |
269+
| `sensor_points_delay_time_sec` | the delay time of sensor points | the time is **longer** than `sensor_points.timeout_sec` | none | yes |
270270
| `is_succeed_transform_sensor_points` | whether transform sensor points is succeed or not | none | failed | yes |
271271
| `sensor_points_max_distance` | the max distance of sensor points | the max distance is **shorter** than `sensor_points.required_distance` | none | yes |
272272
| `is_activated` | whether the node is in the "activate" state or not | not "activate" state | none | if `is_activated` is false, then estimation is not executed and `skipping_publish_num` is set to 0. |
@@ -276,9 +276,9 @@ initial_pose_offset_model_x & initial_pose_offset_model_y must have the same num
276276
| `local_optimal_solution_oscillation_num` | the number of times the solution is judged to be oscillating | the number of times is **larger** than 10 | none | yes |
277277
| `transform_probability` | the score of how well the map aligns with the sensor points | the score is **smaller** than`score_estimation.converged_param_transform_probability` (only in the case of `score_estimation.converged_param_type` is 0=TRANSFORM_PROBABILITY) | none | yes |
278278
| `nearest_voxel_transformation_likelihood` | the score of how well the map aligns with the sensor points | the score is **smaller** than `score_estimation.converged_param_nearest_voxel_transformation_likelihood` (only in the case of `score_estimation.converged_param_type` is 1=NEAREST_VOXEL_TRANSFORMATION_LIKELIHOOD) | none | yes |
279-
| `distance_initial_to_result` | the distance between the position before convergence processing and the position after | the distance is **longer** than `validation.initial_to_result_distance_tolerance_m` | none | no |
279+
| `distance_initial_to_result` | the distance between the position before convergence processing and the position after | the distance is **longer** than `validation.initial_to_result_distance_tolerance_m` | none | no |
280280
| `execution_time` | the time for convergence processing | the time is **longer** than `validation.critical_upper_bound_exe_time_ms` | none | no |
281-
| `skipping_publish_num` | the number of times rejected estimation results consecutively | the number of times is `validation.skipping_publish_num` or more | none | - |
281+
| `skipping_publish_num` | the number of times rejected estimation results consecutively | the number of times is `validation.skipping_publish_num` or more | none | - |
282282

283283
※The `sensor_points_callback` shares the same callback group as the `trigger_node_service` and `ndt_align_service`. Consequently, if the initial pose estimation takes too long, this diagnostic may become stale.
284284

localization/ndt_scan_matcher/include/ndt_scan_matcher/hyper_parameters.hpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@ struct HyperParameters
9999
frame.ndt_base_frame = node->declare_parameter<std::string>("frame.ndt_base_frame");
100100
frame.map_frame = node->declare_parameter<std::string>("frame.map_frame");
101101

102-
sensor_points.timeout_sec =
103-
node->declare_parameter<double>("sensor_points.timeout_sec");
102+
sensor_points.timeout_sec = node->declare_parameter<double>("sensor_points.timeout_sec");
104103
sensor_points.required_distance =
105104
node->declare_parameter<double>("sensor_points.required_distance");
106105

localization/ndt_scan_matcher/schema/sub/sensor_points.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717
"default": "10.0"
1818
}
1919
},
20-
"required": ["timeout_sec",
21-
"required_distance"
22-
],
20+
"required": ["timeout_sec", "required_distance"],
2321
"additionalProperties": false
2422
}
2523
}

0 commit comments

Comments
 (0)