|
| 1 | +{ |
| 2 | + "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | + "title": "Parameters for Lidar Centerpoint Tiny Node", |
| 4 | + "type": "object", |
| 5 | + "definitions": { |
| 6 | + "centerpoint_tiny": { |
| 7 | + "type": "object", |
| 8 | + "properties": { |
| 9 | + "encoder_onnx_path": { |
| 10 | + "type": "string", |
| 11 | + "description": "Path to VoxelFeatureEncoder ONNX file.", |
| 12 | + "default": "" |
| 13 | + }, |
| 14 | + "encoder_engine_path": { |
| 15 | + "type": "string", |
| 16 | + "description": "Path to VoxelFeatureEncoder TensorRT Engine file.", |
| 17 | + "default": "" |
| 18 | + }, |
| 19 | + "head_onnx_path": { |
| 20 | + "type": "string", |
| 21 | + "description": "Path to DetectionHead ONNX file.", |
| 22 | + "default": "" |
| 23 | + }, |
| 24 | + "head_engine_path": { |
| 25 | + "type": "string", |
| 26 | + "description": "Path to DetectionHead TensorRT Engine file.", |
| 27 | + "default": "" |
| 28 | + }, |
| 29 | + "trt_precision": { |
| 30 | + "type": "string", |
| 31 | + "description": "TensorRT inference precision.", |
| 32 | + "default": "fp16", |
| 33 | + "enum": ["fp32", "fp16"] |
| 34 | + }, |
| 35 | + "post_process_params": { |
| 36 | + "type": "object", |
| 37 | + "properties": { |
| 38 | + "score_threshold": { |
| 39 | + "type": "number", |
| 40 | + "description": "A threshold value of existence probability score, all of objects with score less than this threshold are ignored.", |
| 41 | + "default": 0.35, |
| 42 | + "minimum": 0.0, |
| 43 | + "maximum": 1.0 |
| 44 | + }, |
| 45 | + "yaw_norm_thresholds": { |
| 46 | + "type": "array", |
| 47 | + "description": "An array of distance threshold values of norm of yaw [rad].", |
| 48 | + "default": [0.3, 0.3, 0.3, 0.3, 0.0], |
| 49 | + "items": { |
| 50 | + "type": "number", |
| 51 | + "minimum": 0.0, |
| 52 | + "maximum": 1.0 |
| 53 | + } |
| 54 | + }, |
| 55 | + "circle_nms_dist_threshold": { |
| 56 | + "type": "number", |
| 57 | + "description": "The distance threshold for circle NMS.", |
| 58 | + "default": 0.5, |
| 59 | + "minimum": 0.0, |
| 60 | + "maximum": 1.0 |
| 61 | + }, |
| 62 | + "iou_nms_target_class_names": { |
| 63 | + "type": "array", |
| 64 | + "description": "An array of class names to be target in NMS.", |
| 65 | + "default": ["CAR"], |
| 66 | + "items": { |
| 67 | + "type": "string" |
| 68 | + }, |
| 69 | + "uniqueItems": true |
| 70 | + }, |
| 71 | + "iou_nms_search_distance_2d": { |
| 72 | + "type": "number", |
| 73 | + "description": "A maximum distance value to search the nearest objects.", |
| 74 | + "default": 10.0, |
| 75 | + "minimum": 0.0 |
| 76 | + }, |
| 77 | + "iou_nms_threshold": { |
| 78 | + "type": "number", |
| 79 | + "description": "A threshold value of NMS using IoU score.", |
| 80 | + "default": 0.1, |
| 81 | + "minimum": 0.0, |
| 82 | + "maximum": 1.0 |
| 83 | + } |
| 84 | + }, |
| 85 | + "required": [ |
| 86 | + "score_threshold", |
| 87 | + "yaw_norm_thresholds", |
| 88 | + "circle_nms_dist_threshold", |
| 89 | + "iou_nms_target_class_names", |
| 90 | + "iou_nms_search_distance_2d", |
| 91 | + "iou_nms_threshold" |
| 92 | + ] |
| 93 | + }, |
| 94 | + "densification_params": { |
| 95 | + "type": "object", |
| 96 | + "description": "Parameters for pointcloud densification.", |
| 97 | + "properties": { |
| 98 | + "world_frame_id": { |
| 99 | + "type": "string", |
| 100 | + "description": "A name of frame id where world coordinates system is defined with respect to.", |
| 101 | + "default": "map" |
| 102 | + }, |
| 103 | + "num_past_frames": { |
| 104 | + "type": "integer", |
| 105 | + "description": "A number of past frames to be considered as same input frame.", |
| 106 | + "default": 1, |
| 107 | + "minimum": 0 |
| 108 | + } |
| 109 | + }, |
| 110 | + "required": ["world_frame_id", "num_past_frames"] |
| 111 | + } |
| 112 | + }, |
| 113 | + "required": [ |
| 114 | + "encoder_onnx_path", |
| 115 | + "encoder_engine_path", |
| 116 | + "head_onnx_path", |
| 117 | + "head_engine_path", |
| 118 | + "trt_precision", |
| 119 | + "post_process_params", |
| 120 | + "densification_params" |
| 121 | + ] |
| 122 | + } |
| 123 | + }, |
| 124 | + "properties": { |
| 125 | + "/**": { |
| 126 | + "type": "object", |
| 127 | + "properties": { |
| 128 | + "ros__parameters": { |
| 129 | + "$ref": "#/definitions/centerpoint_tiny" |
| 130 | + } |
| 131 | + }, |
| 132 | + "required": ["ros__parameters"] |
| 133 | + } |
| 134 | + }, |
| 135 | + "required": ["/**"] |
| 136 | +} |
0 commit comments