-
Notifications
You must be signed in to change notification settings - Fork 676
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(autoware_planning_evaluator): devops node dojo (#8746)
Signed-off-by: odra <[email protected]>
- Loading branch information
Showing
6 changed files
with
104 additions
and
12 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -31,6 +31,6 @@ endif() | |
|
||
ament_auto_package( | ||
INSTALL_TO_SHARE | ||
param | ||
launch | ||
config | ||
) |
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
File renamed without changes.
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
100 changes: 100 additions & 0 deletions
100
evaluator/autoware_planning_evaluator/schema/autoware_planning_evaluator.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,100 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Parameters for Autoware Planning Evaluator Nodes", | ||
"type": "object", | ||
"definitions": { | ||
"autoware_planning_evaluator": { | ||
"type": "object", | ||
"properties": { | ||
"output_file": { | ||
"description": "output metrics file path", | ||
"type": "string", | ||
"default": "" | ||
}, | ||
"ego_frame": { | ||
"description": "reference frame of ego", | ||
"type": "string", | ||
"default": "base_link" | ||
}, | ||
"selected_metrics": { | ||
"description": "metrics to collect/record", | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"default": [ | ||
"curvature", | ||
"point_interval", | ||
"relative_angle", | ||
"length", | ||
"duration", | ||
"velocity", | ||
"acceleration", | ||
"jerk", | ||
"lateral_deviation", | ||
"yaw_deviation", | ||
"velocity_deviation", | ||
"stability", | ||
"stability_frechet", | ||
"obstacle_distance", | ||
"obstacle_ttc", | ||
"modified_goal_longitudinal_deviation", | ||
"modified_goal_lateral_deviation", | ||
"modified_goal_yaw_deviation" | ||
] | ||
}, | ||
"trajectory": { | ||
"description": "trajectory object", | ||
"type": "object", | ||
"properties": { | ||
"min_point_dist_m": { | ||
"description": "minimum distance between two successive points to use for angle calculation", | ||
"type": "number", | ||
"default": 0.1 | ||
}, | ||
"lookahead": { | ||
"description": "lookahead object", | ||
"type": "object", | ||
"properties": { | ||
"max_dist_m": { | ||
"description": "maximum distance from ego along the trajectory to use for calculation", | ||
"type": "number", | ||
"default": 5.0 | ||
}, | ||
"max_time_s": { | ||
"description": "maximum time ahead of ego along the trajectory to use for calculation", | ||
"type": "number", | ||
"default": 3.0 | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"obstacle": { | ||
"description": "obstacle object", | ||
"type": "object", | ||
"properties": { | ||
"dist_thr_m": { | ||
"description": "distance between ego and the obstacle below which a collision is considered", | ||
"type": "number", | ||
"default": 1.0 | ||
} | ||
} | ||
} | ||
}, | ||
"required": ["ego_frame", "selected_metrics", "trajectory", "obstacle"] | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/autoware_planning_evaluator" | ||
} | ||
}, | ||
"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