-
Notifications
You must be signed in to change notification settings - Fork 668
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(control-lane-departure-checker): rework parameters (#5789)
* control-lane-departure-checker Signed-off-by: karishma <[email protected]> * control-lane-departure-checker Signed-off-by: karishma <[email protected]> --------- Signed-off-by: karishma <[email protected]> Co-authored-by: KK <[email protected]>
- Loading branch information
1 parent
743eb0e
commit 3b0c254
Showing
1 changed file
with
79 additions
and
0 deletions.
There are no files selected for viewing
79 changes: 79 additions & 0 deletions
79
control/lane_departure_checker/schema/lane_departure_checker.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,79 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Parameters for lane_departure_checker", | ||
"type": "object", | ||
"definitions": { | ||
"lane_departure_checker": { | ||
"type": "object", | ||
"properties": { | ||
"footprint_margin_scale": { | ||
"type": "number", | ||
"default": 1.0, | ||
"description": "Coefficient for expanding footprint margin. Multiplied by 1 standard deviation." | ||
}, | ||
"resample_interval": { | ||
"type": "number", | ||
"default": 0.3, | ||
"description": "Minimum Euclidean distance between points when resample trajectory.[m]." | ||
}, | ||
"max_deceleration": { | ||
"type": "number", | ||
"default": 2.8, | ||
"description": "Maximum deceleration when calculating braking distance." | ||
}, | ||
"delay_time": { | ||
"type": "number", | ||
"default": 1.3, | ||
"description": "Delay time which took to actuate brake when calculating braking distance. [second]." | ||
}, | ||
"max_lateral_deviation": { | ||
"type": "number", | ||
"default": 2.0, | ||
"description": "Maximum lateral deviation in vehicle coordinate. [m]." | ||
}, | ||
"max_longitudinal_deviation": { | ||
"type": "number", | ||
"default": 2.0, | ||
"description": "Maximum longitudinal deviation in vehicle coordinate. [m]." | ||
}, | ||
"max_yaw_deviation_deg": { | ||
"type": "number", | ||
"default": 60.0, | ||
"description": "Maximum ego yaw deviation from trajectory. [deg]." | ||
}, | ||
"ego_nearest_dist_threshold": { | ||
"type": "number" | ||
}, | ||
"ego_nearest_yaw_threshold": { | ||
"type": "number" | ||
}, | ||
"min_braking_distance": { | ||
"type": "number" | ||
} | ||
}, | ||
"required": [ | ||
"footprint_margin_scale", | ||
"resample_interval", | ||
"max_deceleration", | ||
"max_lateral_deviation", | ||
"max_longitudinal_deviation", | ||
"max_yaw_deviation_deg", | ||
"ego_nearest_dist_threshold", | ||
"ego_nearest_yaw_threshold", | ||
"min_braking_distance" | ||
] | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/lane_departure_checker" | ||
} | ||
}, | ||
"required": ["ros__parameters"] | ||
} | ||
}, | ||
"required": ["/**"] | ||
} |