|
| 1 | +{ |
| 2 | + "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | + "title": "Parameters for pure_pursuit", |
| 4 | + "type": "object", |
| 5 | + "definitions": { |
| 6 | + "pure_pursuit_params": { |
| 7 | + "type": "object", |
| 8 | + "properties": { |
| 9 | + "ld_velocity_ratio": { |
| 10 | + "type": "number", |
| 11 | + "default": 2.4, |
| 12 | + "description": "Velocity ratio for lookahead distance." |
| 13 | + }, |
| 14 | + "ld_lateral_error_ratio": { |
| 15 | + "type": "number", |
| 16 | + "default": 3.6, |
| 17 | + "description": "Lateral error ratio for lookahead distance." |
| 18 | + }, |
| 19 | + "ld_curvature_ratio": { |
| 20 | + "type": "number", |
| 21 | + "default": 120.0, |
| 22 | + "description": "Curvature ratio for lookahead distance." |
| 23 | + }, |
| 24 | + "long_ld_lateral_error_threshold": { |
| 25 | + "type": "number", |
| 26 | + "default": 0.5, |
| 27 | + "description": "Threshold for lateral error in long lookahead distance." |
| 28 | + }, |
| 29 | + "min_lookahead_distance": { |
| 30 | + "type": "number", |
| 31 | + "default": 4.35, |
| 32 | + "description": "Minimum lookahead distance." |
| 33 | + }, |
| 34 | + "max_lookahead_distance": { |
| 35 | + "type": "number", |
| 36 | + "default": 15.0, |
| 37 | + "description": "Maximum lookahead distance." |
| 38 | + }, |
| 39 | + "converged_steer_rad": { |
| 40 | + "type": "number", |
| 41 | + "default": 0.1, |
| 42 | + "description": "Steering angle considered as converged." |
| 43 | + }, |
| 44 | + "reverse_min_lookahead_distance": { |
| 45 | + "type": "number", |
| 46 | + "default": 7.0, |
| 47 | + "description": "Minimum lookahead distance for reversing." |
| 48 | + }, |
| 49 | + "prediction_ds": { |
| 50 | + "type": "number", |
| 51 | + "default": 0.3, |
| 52 | + "description": "Prediction step size." |
| 53 | + }, |
| 54 | + "prediction_distance_length": { |
| 55 | + "type": "number", |
| 56 | + "default": 21.0, |
| 57 | + "description": "Prediction distance length." |
| 58 | + }, |
| 59 | + "resampling_ds": { |
| 60 | + "type": "number", |
| 61 | + "default": 0.1, |
| 62 | + "description": "Resampling step size." |
| 63 | + }, |
| 64 | + "curvature_calculation_distance": { |
| 65 | + "type": "number", |
| 66 | + "default": 4.0, |
| 67 | + "description": "Distance for curvature calculation." |
| 68 | + }, |
| 69 | + "enable_path_smoothing": { |
| 70 | + "type": "boolean", |
| 71 | + "default": false, |
| 72 | + "description": "Enable or disable path smoothing." |
| 73 | + }, |
| 74 | + "path_filter_moving_ave_num": { |
| 75 | + "type": "number", |
| 76 | + "default": 25, |
| 77 | + "description": "Number of points for moving average path filter." |
| 78 | + }, |
| 79 | + "control_period": { |
| 80 | + "type": "number", |
| 81 | + "default": 0.03, |
| 82 | + "description": "Control period." |
| 83 | + } |
| 84 | + }, |
| 85 | + "required": [ |
| 86 | + "ld_velocity_ratio", |
| 87 | + "ld_lateral_error_ratio", |
| 88 | + "ld_curvature_ratio", |
| 89 | + "long_ld_lateral_error_threshold", |
| 90 | + "min_lookahead_distance", |
| 91 | + "max_lookahead_distance", |
| 92 | + "converged_steer_rad", |
| 93 | + "reverse_min_lookahead_distance", |
| 94 | + "prediction_ds", |
| 95 | + "prediction_distance_length", |
| 96 | + "resampling_ds", |
| 97 | + "curvature_calculation_distance", |
| 98 | + "enable_path_smoothing", |
| 99 | + "path_filter_moving_ave_num", |
| 100 | + "control_period" |
| 101 | + ] |
| 102 | + } |
| 103 | + }, |
| 104 | + "properties": { |
| 105 | + "/**": { |
| 106 | + "type": "object", |
| 107 | + "properties": { |
| 108 | + "ros__parameters": { |
| 109 | + "$ref": "#/definitions/pure_pursuit_params" |
| 110 | + } |
| 111 | + }, |
| 112 | + "required": ["ros__parameters"] |
| 113 | + } |
| 114 | + }, |
| 115 | + "required": ["/**"] |
| 116 | +} |
0 commit comments