|
| 1 | +{ |
| 2 | + "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | + "title": "Parameters for Autoware Planning Evaluator Nodes", |
| 4 | + "type": "object", |
| 5 | + "definitions": { |
| 6 | + "autoware_planning_evaluator": { |
| 7 | + "type": "object", |
| 8 | + "properties": { |
| 9 | + "output_file": { |
| 10 | + "description": "output metrics file path", |
| 11 | + "type": "string", |
| 12 | + "default": "" |
| 13 | + }, |
| 14 | + "ego_frame": { |
| 15 | + "description": "reference frame of ego", |
| 16 | + "type": "string", |
| 17 | + "default": "base_link" |
| 18 | + }, |
| 19 | + "selected_metrics": { |
| 20 | + "description": "metrics to collect/record", |
| 21 | + "type": "array", |
| 22 | + "items": { |
| 23 | + "type": "string" |
| 24 | + }, |
| 25 | + "default": [ |
| 26 | + "curvature", |
| 27 | + "point_interval", |
| 28 | + "relative_angle", |
| 29 | + "length", |
| 30 | + "duration", |
| 31 | + "velocity", |
| 32 | + "acceleration", |
| 33 | + "jerk", |
| 34 | + "lateral_deviation", |
| 35 | + "yaw_deviation", |
| 36 | + "velocity_deviation", |
| 37 | + "stability", |
| 38 | + "stability_frechet", |
| 39 | + "obstacle_distance", |
| 40 | + "obstacle_ttc", |
| 41 | + "modified_goal_longitudinal_deviation", |
| 42 | + "modified_goal_lateral_deviation", |
| 43 | + "modified_goal_yaw_deviation" |
| 44 | + ] |
| 45 | + }, |
| 46 | + "trajectory": { |
| 47 | + "description": "trajectory object", |
| 48 | + "type": "object", |
| 49 | + "properties": { |
| 50 | + "min_point_dist_m": { |
| 51 | + "description": "minimum distance between two successive points to use for angle calculation", |
| 52 | + "type": "number", |
| 53 | + "default": 0.1 |
| 54 | + }, |
| 55 | + "lookahead": { |
| 56 | + "description": "lookahead object", |
| 57 | + "type": "object", |
| 58 | + "properties": { |
| 59 | + "max_dist_m": { |
| 60 | + "description": "maximum distance from ego along the trajectory to use for calculation", |
| 61 | + "type": "number", |
| 62 | + "default": 5.0 |
| 63 | + }, |
| 64 | + "max_time_s": { |
| 65 | + "description": "maximum time ahead of ego along the trajectory to use for calculation", |
| 66 | + "type": "number", |
| 67 | + "default": 3.0 |
| 68 | + } |
| 69 | + } |
| 70 | + } |
| 71 | + } |
| 72 | + }, |
| 73 | + "obstacle": { |
| 74 | + "description": "obstacle object", |
| 75 | + "type": "object", |
| 76 | + "properties": { |
| 77 | + "dist_thr_m": { |
| 78 | + "description": "distance between ego and the obstacle below which a collision is considered", |
| 79 | + "type": "number", |
| 80 | + "default": 1.0 |
| 81 | + } |
| 82 | + } |
| 83 | + } |
| 84 | + }, |
| 85 | + "required": ["ego_frame", "selected_metrics", "trajectory", "obstacle"] |
| 86 | + } |
| 87 | + }, |
| 88 | + "properties": { |
| 89 | + "/**": { |
| 90 | + "type": "object", |
| 91 | + "properties": { |
| 92 | + "ros__parameters": { |
| 93 | + "$ref": "#/definitions/autoware_planning_evaluator" |
| 94 | + } |
| 95 | + }, |
| 96 | + "required": ["ros__parameters"] |
| 97 | + } |
| 98 | + }, |
| 99 | + "required": ["/**"] |
| 100 | +} |
0 commit comments