Skip to content

Commit 88f4f81

Browse files
pre-commit-ci[bot]Motsu-san
authored andcommitted
style(pre-commit): autofix
1 parent ae97acd commit 88f4f81

8 files changed

+248
-266
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
{
2-
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"title": "EKF Localizer Configuration for Diagnostics",
4-
"definitions": {
5-
"diagnostics": {
6-
"type": "object",
7-
"properties": {
8-
"pose_no_update_count_threshold_warn": {
9-
"type": "integer",
10-
"description": "The threshold at which a WARN state is triggered due to the Pose Topic update not happening continuously for a certain number of times",
11-
"default": 50
12-
},
13-
"pose_no_update_count_threshold_error": {
14-
"type": "integer",
15-
"description": "The threshold at which an ERROR state is triggered due to the Pose Topic update not happening continuously for a certain number of times",
16-
"default": 100
17-
},
18-
"twist_no_update_count_threshold_warn": {
19-
"type": "integer",
20-
"description": "The threshold at which a WARN state is triggered due to the Twist Topic update not happening continuously for a certain number of times",
21-
"default": 50
22-
},
23-
"twist_no_update_count_threshold_error": {
24-
"type": "integer",
25-
"description": "The threshold at which an ERROR state is triggered due to the Twist Topic update not happening continuously for a certain number of times",
26-
"default": 100
27-
}
28-
},
29-
"required": [
30-
"pose_no_update_count_threshold_warn",
31-
"pose_no_update_count_threshold_error",
32-
"twist_no_update_count_threshold_warn",
33-
"twist_no_update_count_threshold_error"
34-
],
35-
"additionalProperties": false
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "EKF Localizer Configuration for Diagnostics",
4+
"definitions": {
5+
"diagnostics": {
6+
"type": "object",
7+
"properties": {
8+
"pose_no_update_count_threshold_warn": {
9+
"type": "integer",
10+
"description": "The threshold at which a WARN state is triggered due to the Pose Topic update not happening continuously for a certain number of times",
11+
"default": 50
12+
},
13+
"pose_no_update_count_threshold_error": {
14+
"type": "integer",
15+
"description": "The threshold at which an ERROR state is triggered due to the Pose Topic update not happening continuously for a certain number of times",
16+
"default": 100
17+
},
18+
"twist_no_update_count_threshold_warn": {
19+
"type": "integer",
20+
"description": "The threshold at which a WARN state is triggered due to the Twist Topic update not happening continuously for a certain number of times",
21+
"default": 50
22+
},
23+
"twist_no_update_count_threshold_error": {
24+
"type": "integer",
25+
"description": "The threshold at which an ERROR state is triggered due to the Twist Topic update not happening continuously for a certain number of times",
26+
"default": 100
3627
}
28+
},
29+
"required": [
30+
"pose_no_update_count_threshold_warn",
31+
"pose_no_update_count_threshold_error",
32+
"twist_no_update_count_threshold_warn",
33+
"twist_no_update_count_threshold_error"
34+
],
35+
"additionalProperties": false
3736
}
37+
}
3838
}
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,52 @@
11
{
2-
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"title": "EKF Localizer Configuration",
4-
"type": "object",
5-
"properties": {
6-
"/**": {
7-
"type": "object",
8-
"properties": {
9-
"ros__parameters": {
10-
"type": "object",
11-
"properties": {
12-
"node": {
13-
"$ref": "node.schema.json#/definitions/node"
14-
},
15-
"pose_measurement": {
16-
"$ref": "pose_measurement.schema.json#/definitions/pose_measurement"
17-
},
18-
"twist_measurement": {
19-
"$ref": "twist_measurement.schema.json#/definitions/twist_measurement"
20-
},
21-
"process_noise": {
22-
"$ref": "process_noise.schema.json#/definitions/process_noise"
23-
},
24-
"simple_1d_filter_parameters": {
25-
"$ref": "simple_1d_filter_parameters.schema.json#/definitions/simple_1d_filter_parameters"
26-
},
27-
"diagnostics": {
28-
"$ref": "diagnostics.schema.json#/definitions/diagnostics"
29-
},
30-
"misc": {
31-
"$ref": "misc.schema.json#/definitions/misc"
32-
}
33-
},
34-
"required": [
35-
"node",
36-
"pose_measurement",
37-
"twist_measurement",
38-
"process_noise",
39-
"simple_1d_filter_parameters",
40-
"diagnostics",
41-
"misc"
42-
],
43-
"additionalProperties": false
44-
}
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "EKF Localizer Configuration",
4+
"type": "object",
5+
"properties": {
6+
"/**": {
7+
"type": "object",
8+
"properties": {
9+
"ros__parameters": {
10+
"type": "object",
11+
"properties": {
12+
"node": {
13+
"$ref": "node.schema.json#/definitions/node"
4514
},
46-
"required": [
47-
"ros__parameters"
48-
],
49-
"additionalProperties": false
15+
"pose_measurement": {
16+
"$ref": "pose_measurement.schema.json#/definitions/pose_measurement"
17+
},
18+
"twist_measurement": {
19+
"$ref": "twist_measurement.schema.json#/definitions/twist_measurement"
20+
},
21+
"process_noise": {
22+
"$ref": "process_noise.schema.json#/definitions/process_noise"
23+
},
24+
"simple_1d_filter_parameters": {
25+
"$ref": "simple_1d_filter_parameters.schema.json#/definitions/simple_1d_filter_parameters"
26+
},
27+
"diagnostics": {
28+
"$ref": "diagnostics.schema.json#/definitions/diagnostics"
29+
},
30+
"misc": {
31+
"$ref": "misc.schema.json#/definitions/misc"
32+
}
33+
},
34+
"required": [
35+
"node",
36+
"pose_measurement",
37+
"twist_measurement",
38+
"process_noise",
39+
"simple_1d_filter_parameters",
40+
"diagnostics",
41+
"misc"
42+
],
43+
"additionalProperties": false
5044
}
51-
},
52-
"required": [
53-
"/**"
54-
],
55-
"additionalProperties": false
45+
},
46+
"required": ["ros__parameters"],
47+
"additionalProperties": false
48+
}
49+
},
50+
"required": ["/**"],
51+
"additionalProperties": false
5652
}
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
{
2-
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"title": "EKF Localizer Configuration for MISC",
4-
"definitions": {
5-
"misc": {
6-
"type": "object",
7-
"properties": {
8-
"threshold_observable_velocity_mps": {
9-
"type": "number",
10-
"description": "Minimum value for velocity that will be used for EKF. Mainly used for dead zone in velocity sensor [m/s] (0.0 means disabled)",
11-
"default": 0.0
12-
}
13-
},
14-
"required": [
15-
"threshold_observable_velocity_mps"
16-
],
17-
"additionalProperties": false
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "EKF Localizer Configuration for MISC",
4+
"definitions": {
5+
"misc": {
6+
"type": "object",
7+
"properties": {
8+
"threshold_observable_velocity_mps": {
9+
"type": "number",
10+
"description": "Minimum value for velocity that will be used for EKF. Mainly used for dead zone in velocity sensor [m/s] (0.0 means disabled)",
11+
"default": 0.0
1812
}
13+
},
14+
"required": ["threshold_observable_velocity_mps"],
15+
"additionalProperties": false
1916
}
17+
}
2018
}
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,50 @@
11
{
2-
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"title": "EKF Localizer Configuration for node",
4-
"definitions": {
5-
"node": {
6-
"type": "object",
7-
"properties": {
8-
"show_debug_info": {
9-
"type": "boolean",
10-
"description": "Flag to display debug info",
11-
"default": false
12-
},
13-
"predict_frequency": {
14-
"type": "number",
15-
"description": "Frequency for filtering and publishing [Hz]",
16-
"default": 50.0
17-
},
18-
"tf_rate": {
19-
"type": "number",
20-
"description": "Frequency for tf broadcasting [Hz]",
21-
"default": 50.0
22-
},
23-
"publish_tf": {
24-
"type": "boolean",
25-
"description": "Whether to publish tf",
26-
"default": true
27-
},
28-
"extend_state_step": {
29-
"type": "integer",
30-
"description": "Max delay step which can be dealt with in EKF. Large number increases computational cost.",
31-
"default": 50
32-
},
33-
"enable_yaw_bias_estimation": {
34-
"type": "boolean",
35-
"description": "Flag to enable yaw bias estimation",
36-
"default": true
37-
}
38-
},
39-
"required": [
40-
"show_debug_info",
41-
"predict_frequency",
42-
"tf_rate",
43-
"publish_tf",
44-
"extend_state_step",
45-
"enable_yaw_bias_estimation"
46-
],
47-
"additionalProperties": false
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "EKF Localizer Configuration for node",
4+
"definitions": {
5+
"node": {
6+
"type": "object",
7+
"properties": {
8+
"show_debug_info": {
9+
"type": "boolean",
10+
"description": "Flag to display debug info",
11+
"default": false
12+
},
13+
"predict_frequency": {
14+
"type": "number",
15+
"description": "Frequency for filtering and publishing [Hz]",
16+
"default": 50.0
17+
},
18+
"tf_rate": {
19+
"type": "number",
20+
"description": "Frequency for tf broadcasting [Hz]",
21+
"default": 50.0
22+
},
23+
"publish_tf": {
24+
"type": "boolean",
25+
"description": "Whether to publish tf",
26+
"default": true
27+
},
28+
"extend_state_step": {
29+
"type": "integer",
30+
"description": "Max delay step which can be dealt with in EKF. Large number increases computational cost.",
31+
"default": 50
32+
},
33+
"enable_yaw_bias_estimation": {
34+
"type": "boolean",
35+
"description": "Flag to enable yaw bias estimation",
36+
"default": true
4837
}
38+
},
39+
"required": [
40+
"show_debug_info",
41+
"predict_frequency",
42+
"tf_rate",
43+
"publish_tf",
44+
"extend_state_step",
45+
"enable_yaw_bias_estimation"
46+
],
47+
"additionalProperties": false
4948
}
49+
}
5050
}
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
{
2-
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"title": "EKF Localizer Configuration for Pose Measurement",
4-
"definitions": {
5-
"pose_measurement": {
6-
"type": "object",
7-
"properties": {
8-
"pose_additional_delay": {
9-
"type": "number",
10-
"description": "Additional delay time for pose measurement [s]",
11-
"default": 0.0
12-
},
13-
"pose_measure_uncertainty_time": {
14-
"type": "number",
15-
"description": "Measured time uncertainty used for covariance calculation [s]",
16-
"default": 0.01
17-
},
18-
"pose_smoothing_steps": {
19-
"type": "integer",
20-
"description": "A value for smoothing steps",
21-
"default": 5
22-
},
23-
"pose_gate_dist": {
24-
"type": "number",
25-
"description": "Limit of Mahalanobis distance used for outliers detection",
26-
"default": 10000.0
27-
}
28-
},
29-
"required": [
30-
"pose_additional_delay",
31-
"pose_measure_uncertainty_time",
32-
"pose_smoothing_steps",
33-
"pose_gate_dist"
34-
],
35-
"additionalProperties": false
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "EKF Localizer Configuration for Pose Measurement",
4+
"definitions": {
5+
"pose_measurement": {
6+
"type": "object",
7+
"properties": {
8+
"pose_additional_delay": {
9+
"type": "number",
10+
"description": "Additional delay time for pose measurement [s]",
11+
"default": 0.0
12+
},
13+
"pose_measure_uncertainty_time": {
14+
"type": "number",
15+
"description": "Measured time uncertainty used for covariance calculation [s]",
16+
"default": 0.01
17+
},
18+
"pose_smoothing_steps": {
19+
"type": "integer",
20+
"description": "A value for smoothing steps",
21+
"default": 5
22+
},
23+
"pose_gate_dist": {
24+
"type": "number",
25+
"description": "Limit of Mahalanobis distance used for outliers detection",
26+
"default": 10000.0
3627
}
28+
},
29+
"required": [
30+
"pose_additional_delay",
31+
"pose_measure_uncertainty_time",
32+
"pose_smoothing_steps",
33+
"pose_gate_dist"
34+
],
35+
"additionalProperties": false
3736
}
37+
}
3838
}

0 commit comments

Comments
 (0)