-
Notifications
You must be signed in to change notification settings - Fork 714
/
Copy pathpure_pursuit.schema.json
116 lines (116 loc) · 3.38 KB
/
pure_pursuit.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Parameters for pure_pursuit",
"type": "object",
"definitions": {
"pure_pursuit_params": {
"type": "object",
"properties": {
"ld_velocity_ratio": {
"type": "number",
"default": 2.4,
"description": "Velocity ratio for lookahead distance."
},
"ld_lateral_error_ratio": {
"type": "number",
"default": 3.6,
"description": "Lateral error ratio for lookahead distance."
},
"ld_curvature_ratio": {
"type": "number",
"default": 120.0,
"description": "Curvature ratio for lookahead distance."
},
"long_ld_lateral_error_threshold": {
"type": "number",
"default": 0.5,
"description": "Threshold for lateral error in long lookahead distance."
},
"min_lookahead_distance": {
"type": "number",
"default": 4.35,
"description": "Minimum lookahead distance."
},
"max_lookahead_distance": {
"type": "number",
"default": 15.0,
"description": "Maximum lookahead distance."
},
"converged_steer_rad": {
"type": "number",
"default": 0.1,
"description": "Steering angle considered as converged."
},
"reverse_min_lookahead_distance": {
"type": "number",
"default": 7.0,
"description": "Minimum lookahead distance for reversing."
},
"prediction_ds": {
"type": "number",
"default": 0.3,
"description": "Prediction step size."
},
"prediction_distance_length": {
"type": "number",
"default": 21.0,
"description": "Prediction distance length."
},
"resampling_ds": {
"type": "number",
"default": 0.1,
"description": "Resampling step size."
},
"curvature_calculation_distance": {
"type": "number",
"default": 4.0,
"description": "Distance for curvature calculation."
},
"enable_path_smoothing": {
"type": "boolean",
"default": false,
"description": "Enable or disable path smoothing."
},
"path_filter_moving_ave_num": {
"type": "number",
"default": 25,
"description": "Number of points for moving average path filter."
},
"control_period": {
"type": "number",
"default": 0.03,
"description": "Control period."
}
},
"required": [
"ld_velocity_ratio",
"ld_lateral_error_ratio",
"ld_curvature_ratio",
"long_ld_lateral_error_threshold",
"min_lookahead_distance",
"max_lookahead_distance",
"converged_steer_rad",
"reverse_min_lookahead_distance",
"prediction_ds",
"prediction_distance_length",
"resampling_ds",
"curvature_calculation_distance",
"enable_path_smoothing",
"path_filter_moving_ave_num",
"control_period"
]
}
},
"properties": {
"/**": {
"type": "object",
"properties": {
"ros__parameters": {
"$ref": "#/definitions/pure_pursuit_params"
}
},
"required": ["ros__parameters"]
}
},
"required": ["/**"]
}