Skip to content

Commit e67438b

Browse files
style(pre-commit): autofix
1 parent 8f849ac commit e67438b

8 files changed

+640
-649
lines changed

planning/autoware_velocity_smoother/README.ja.md

-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@
118118

119119
{{json_to_markdown("planning/autoware_velocity_smoother/schema/Linf.schema.json")}}
120120

121-
122121
### Constraint parameters
123122

124123
| Name | Type | Description | Default value |

planning/autoware_velocity_smoother/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ After the optimization, a resampling called `post resampling` is performed befor
131131

132132
{{json_to_markdown("planning/autoware_velocity_smoother/schema/Linf.schema.json")}}
133133

134-
135134
### Constraint parameters
136135

137136
| Name | Type | Description | Default value |
Original file line numberDiff line numberDiff line change
@@ -1,140 +1,146 @@
11
{
2-
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"title": "Parameters for analytical",
4-
"type": "object",
5-
"definitions": {
6-
"analytical_params": {
7-
"type": "object",
8-
"properties": {
9-
"resample": {
10-
"type": "object",
11-
"properties": {
12-
"ds_resample": {
13-
"type": "number",
14-
"default": 0.1,
15-
"description": "Enable resampling"
16-
},
17-
"num_resample": {
18-
"type": "number",
19-
"default": 1,
20-
"description": "Resample interval"
21-
},
22-
"delta_yaw_threshold": {
23-
"type": "number",
24-
"default": 0.785,
25-
"description": "Threshold for yaw change"
26-
}
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "Parameters for analytical",
4+
"type": "object",
5+
"definitions": {
6+
"analytical_params": {
7+
"type": "object",
8+
"properties": {
9+
"resample": {
10+
"type": "object",
11+
"properties": {
12+
"ds_resample": {
13+
"type": "number",
14+
"default": 0.1,
15+
"description": "Enable resampling"
2716
},
28-
"required": ["ds_resample", "num_resample", "delta_yaw_threshold"],
29-
"additionalProperties": false
30-
},
31-
"latacc": {
32-
"type": "object",
33-
"properties": {
34-
"enable_constant_velocity_while_turning": {
35-
"type": "boolean",
36-
"default": false,
37-
"description": "Enable constant velocity while turning"
38-
},
39-
"constant_velocity_dist_threshold": {
40-
"type": "number",
41-
"default": 2.0,
42-
"description": "Threshold for constant velocity"
43-
}
17+
"num_resample": {
18+
"type": "number",
19+
"default": 1,
20+
"description": "Resample interval"
4421
},
45-
"required": [
46-
"enable_constant_velocity_while_turning",
47-
"constant_velocity_dist_threshold"
48-
],
49-
"additionalProperties": false
22+
"delta_yaw_threshold": {
23+
"type": "number",
24+
"default": 0.785,
25+
"description": "Threshold for yaw change"
26+
}
5027
},
51-
"forward": {
52-
"type": "object",
53-
"properties": {
54-
"max_acc": {
55-
"type": "number",
56-
"default": 1.0,
57-
"description": "Maximum forward acceleration"
58-
},
59-
"min_acc": {
60-
"type": "number",
61-
"default": -1.0,
62-
"description": "Minimum forward acceleration"
63-
},
64-
"max_jerk": {
65-
"type": "number",
66-
"default": 0.3,
67-
"description": "Maximum forward jerk"
68-
},
69-
"min_jerk": {
70-
"type": "number",
71-
"default": -0.3,
72-
"description": "Minimum forward jerk"
73-
},
74-
"kp": {
75-
"type": "number",
76-
"default": 0.3,
77-
"description": "Proportional gain for forward control"
78-
}
28+
"required": ["ds_resample", "num_resample", "delta_yaw_threshold"],
29+
"additionalProperties": false
30+
},
31+
"latacc": {
32+
"type": "object",
33+
"properties": {
34+
"enable_constant_velocity_while_turning": {
35+
"type": "boolean",
36+
"default": false,
37+
"description": "Enable constant velocity while turning"
7938
},
80-
"required": ["max_acc", "min_acc", "max_jerk", "min_jerk", "kp"],
81-
"additionalProperties": false
39+
"constant_velocity_dist_threshold": {
40+
"type": "number",
41+
"default": 2.0,
42+
"description": "Threshold for constant velocity"
43+
}
8244
},
83-
"backward": {
84-
"type": "object",
85-
"properties": {
86-
"start_jerk": {
87-
"type": "number",
88-
"default": -0.1,
89-
"description": "Jerk at the start of backward motion"
90-
},
91-
"min_jerk_mild_stop": {
92-
"type": "number",
93-
"default": -0.3,
94-
"description": "Minimum jerk for mild stopping"
95-
},
96-
"min_jerk": {
97-
"type": "number",
98-
"default": -1.5,
99-
"description": "Minimum backward jerk"
100-
},
101-
"min_acc_mild_stop": {
102-
"type": "number",
103-
"default": -1.0,
104-
"description": "Minimum acceleration for mild stopping"
105-
},
106-
"min_acc": {
107-
"type": "number",
108-
"default": -2.5,
109-
"description": "Minimum backward acceleration"
110-
},
111-
"span_jerk": {
112-
"type": "number",
113-
"default": -0.01,
114-
"description": "Span jerk value for backward motion"
115-
}
116-
},
117-
"required": ["start_jerk", "min_jerk_mild_stop", "min_jerk", "min_acc_mild_stop", "min_acc", "span_jerk"],
118-
"additionalProperties": false
119-
}
45+
"required": [
46+
"enable_constant_velocity_while_turning",
47+
"constant_velocity_dist_threshold"
48+
],
49+
"additionalProperties": false
12050
},
121-
"required": ["resample", "latacc", "forward", "backward"],
122-
"additionalProperties": false
123-
}
124-
},
125-
"properties": {
126-
"/**": {
127-
"type": "object",
128-
"properties": {
129-
"ros__parameters": {
130-
"$ref": "#/definitions/analytical_params"
131-
}
51+
"forward": {
52+
"type": "object",
53+
"properties": {
54+
"max_acc": {
55+
"type": "number",
56+
"default": 1.0,
57+
"description": "Maximum forward acceleration"
58+
},
59+
"min_acc": {
60+
"type": "number",
61+
"default": -1.0,
62+
"description": "Minimum forward acceleration"
63+
},
64+
"max_jerk": {
65+
"type": "number",
66+
"default": 0.3,
67+
"description": "Maximum forward jerk"
68+
},
69+
"min_jerk": {
70+
"type": "number",
71+
"default": -0.3,
72+
"description": "Minimum forward jerk"
73+
},
74+
"kp": {
75+
"type": "number",
76+
"default": 0.3,
77+
"description": "Proportional gain for forward control"
78+
}
79+
},
80+
"required": ["max_acc", "min_acc", "max_jerk", "min_jerk", "kp"],
81+
"additionalProperties": false
13282
},
133-
"required": ["ros__parameters"],
134-
"additionalProperties": false
135-
}
136-
},
137-
"required": ["/**"],
138-
"additionalProperties": false
139-
}
140-
83+
"backward": {
84+
"type": "object",
85+
"properties": {
86+
"start_jerk": {
87+
"type": "number",
88+
"default": -0.1,
89+
"description": "Jerk at the start of backward motion"
90+
},
91+
"min_jerk_mild_stop": {
92+
"type": "number",
93+
"default": -0.3,
94+
"description": "Minimum jerk for mild stopping"
95+
},
96+
"min_jerk": {
97+
"type": "number",
98+
"default": -1.5,
99+
"description": "Minimum backward jerk"
100+
},
101+
"min_acc_mild_stop": {
102+
"type": "number",
103+
"default": -1.0,
104+
"description": "Minimum acceleration for mild stopping"
105+
},
106+
"min_acc": {
107+
"type": "number",
108+
"default": -2.5,
109+
"description": "Minimum backward acceleration"
110+
},
111+
"span_jerk": {
112+
"type": "number",
113+
"default": -0.01,
114+
"description": "Span jerk value for backward motion"
115+
}
116+
},
117+
"required": [
118+
"start_jerk",
119+
"min_jerk_mild_stop",
120+
"min_jerk",
121+
"min_acc_mild_stop",
122+
"min_acc",
123+
"span_jerk"
124+
],
125+
"additionalProperties": false
126+
}
127+
},
128+
"required": ["resample", "latacc", "forward", "backward"],
129+
"additionalProperties": false
130+
}
131+
},
132+
"properties": {
133+
"/**": {
134+
"type": "object",
135+
"properties": {
136+
"ros__parameters": {
137+
"$ref": "#/definitions/analytical_params"
138+
}
139+
},
140+
"required": ["ros__parameters"],
141+
"additionalProperties": false
142+
}
143+
},
144+
"required": ["/**"],
145+
"additionalProperties": false
146+
}

0 commit comments

Comments
 (0)