-
Notifications
You must be signed in to change notification settings - Fork 631
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(autoware_velocity_smoother): rework parameters
Signed-off-by: batuhanbeytekin <[email protected]>
- Loading branch information
1 parent
0effdfa
commit 6c5f637
Showing
4 changed files
with
43 additions
and
13 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
planning/autoware_velocity_smoother/config/default_nearest_search.param.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/**: | ||
ros__parameters: | ||
ego_nearest_dist_threshold: 0.3 # threshold to find the nearest point on the trajectory [m] | ||
ego_nearest_yaw_threshold: 1.046 # threshold to find the nearest point on the trajectory [rad] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
planning/autoware_velocity_smoother/schema/default_nearest_search.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Parameters for default_nearest_search_params", | ||
"type": "object", | ||
"definitions": { | ||
"default_nearest_search_params": { | ||
"type": "object", | ||
"properties": { | ||
"ego_nearest_dist_threshold": { | ||
"type": "number", | ||
"default": 0.3, | ||
"description": "Threshold to find the nearest point on the trajectory [m]" | ||
}, | ||
"ego_nearest_yaw_threshold": { | ||
"type": "number", | ||
"default": 1.046, | ||
"description": "Threshold to find the nearest point on the trajectory [rad]" | ||
} | ||
}, | ||
"required": [ | ||
"ego_nearest_dist_threshold", | ||
"ego_nearest_yaw_threshold" | ||
] | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/default_nearest_search_params" | ||
} | ||
}, | ||
"required": ["ros__parameters"] | ||
} | ||
}, | ||
"required": ["/**"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters