diff --git a/backend/config.ini b/backend/config.ini index f84a9c3f..125af762 100644 --- a/backend/config.ini +++ b/backend/config.ini @@ -39,7 +39,7 @@ fourcc = MJPG backend = directshow [FEMTOBOLT] -enable = False +enable = True algorithm_type = plt color_resolution = 1080P depth_mode = NFOV_2X2BINNED @@ -54,9 +54,9 @@ imu_enable = True imu_use_mock = False imu_ble_name = WT901BLE67 imu_mac_address = FA:E8:88:06:FE:F3 -pressure_enable = False +pressure_enable = True pressure_use_mock = False -pressure_port = COM5 +pressure_port = COM3 pressure_baudrate = 115200 [REMOTE] diff --git a/backend/main.py b/backend/main.py index 6d981aac..cb1ba4ba 100644 --- a/backend/main.py +++ b/backend/main.py @@ -1366,10 +1366,8 @@ class AppServer: for item in session_data['videos']: item_copy = item.copy() item_copy['type'] = 'video' - result_data.append(item_copy) + result_data.append(item_copy) - # 按时间戳排序 - result_data.sort(key=lambda x: x.get('timestamp', ''), reverse=False) return jsonify({ 'success': True, diff --git a/frontend/src/renderer/src/views/Detection.vue b/frontend/src/renderer/src/views/Detection.vue index a2b19a32..48052cc8 100644 --- a/frontend/src/renderer/src/views/Detection.vue +++ b/frontend/src/renderer/src/views/Detection.vue @@ -39,7 +39,7 @@