{
"show": false,
"loading": true,
"id": "",
"last_modified": "",
"name": "sensor_20240819_KDs0c",
"name_en": "sensor_20240819_KDs0c",
"desc": "",
"desc_en": "",
"type": "sensor.other.target",
"param": {
"id": "front",
"FPS": 20,
"range": 100,
"horizontal_fov": 30,
"vertical_fov": 30,
"occlusion_thresh": 0.5,
"max_detect": 1,
"sort_order": "distance",
"position_offset": 0,
"speed_offset": 0,
"angle_offset": 0,
"lane": true,
"lane_position_error": 0,
"lane_angle_error": 0,
"lane_curvature_error": 0,
"signal_light": true
},
"system_data": false
}
curl --location --request POST '/sensors/' \
--header 'Authorization: bearer {{token}}' \
--header 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36' \
--header 'Content-Type: application/json' \
--data-raw '{
"show": false,
"loading": true,
"id": "",
"last_modified": "",
"name": "sensor_20240819_KDs0c",
"name_en": "sensor_20240819_KDs0c",
"desc": "",
"desc_en": "",
"type": "sensor.other.target",
"param": {
"id": "front",
"FPS": 20,
"range": 100,
"horizontal_fov": 30,
"vertical_fov": 30,
"occlusion_thresh": 0.5,
"max_detect": 1,
"sort_order": "distance",
"position_offset": 0,
"speed_offset": 0,
"angle_offset": 0,
"lane": true,
"lane_position_error": 0,
"lane_angle_error": 0,
"lane_curvature_error": 0,
"signal_light": true
},
"system_data": false
}'
{
"code": 200,
"result": {
"param": {
"id": "front",
"FPS": 20,
"range": 100,
"horizontal_fov": 30,
"vertical_fov": 30,
"occlusion_thresh": 0.5,
"max_detect": 1,
"sort_order": "distance",
"position_offset": 0,
"speed_offset": 0,
"angle_offset": 0,
"lane": true,
"lane_position_error": 0,
"lane_angle_error": 0,
"lane_curvature_error": 0,
"signal_light": true,
"sensor_tick": 0.05
},
"system_data": false,
"name_en": "sensor_20240819_KDs0c",
"desc_en": "",
"type": "sensor.other.target",
"created_at": "2024-08-19T14:24:20.420881+08:00",
"group_type": "goal",
"user_id": 1,
"desc": "",
"modified_at": "2024-08-19T14:24:20.420900+08:00",
"invalid": 0,
"name": "sensor_20240819_KDs0c",
"id": 15,
"company_id": 1
},
"message": ""
}