Skip to content

Commit

Permalink
refactor(control-lane-departure-checker): rework parameters (#5789)
Browse files Browse the repository at this point in the history
* 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
karishma1911 and kk2491 authored Dec 28, 2023
1 parent 743eb0e commit 3b0c254
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions control/lane_departure_checker/schema/lane_departure_checker.json
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": ["/**"]
}

0 comments on commit 3b0c254

Please sign in to comment.