diff --git a/Log/OrbbecSDK.log.txt b/Log/OrbbecSDK.log.txt index c6dbbf62..56d5ae34 100644 --- a/Log/OrbbecSDK.log.txt +++ b/Log/OrbbecSDK.log.txt @@ -194492,3 +194492,263 @@ transform: {rot: [0.994135, -0.00252459, 0.00230278, 0.00226079, 0.994134, 0.108 [08/06 09:16:02.117816][debug][2648][DeviceManager.cpp:64] DeviceManager Destructors done [08/06 09:16:02.118401][debug][2648][MfPal.cpp:128] WmfPal destroyed! [08/06 09:16:02.118676][info][2648][Context.cpp:84] Context destroyed +[08/06 16:03:14.044503][debug][17676][Context.cpp:30] Context creating, work_dir=D:\Trae_space\BodyBalanceEvaluation +[08/06 16:03:14.044599][debug][17676][Context.cpp:49] Config file version=1.1 +[08/06 16:03:14.044628][debug][17676][FrameBufferManager.cpp:23] Max global frame buffer size updated! size=2048.000MB +[08/06 16:03:14.044652][info][17676][Context.cpp:68] Context created with config: default config! +[08/06 16:03:14.044936][info][17676][Context.cpp:73] Work directory=D:\Trae_space\BodyBalanceEvaluation, SDK version=v1.10.11-20240724-aeaa107e5 +[08/06 16:03:14.045171][debug][17676][DeviceManager.cpp:30] DeviceManager init ... +[08/06 16:03:14.045184][info][17676][MfPal.cpp:105] createObPal: create WinPal! +[08/06 16:03:14.045278][debug][17676][MfPal.cpp:110] WmfPal init ... +[08/06 16:03:14.074226][debug][17676][MfPal.cpp:117] WmfPal created! +[08/06 16:03:14.074266][debug][17676][DeviceManager.cpp:34] Enable USB Device Enumerator ... +[08/06 16:03:14.097196][debug][17676][EnumeratorLibusb.cpp:321] queryDevicesInfo done! +[08/06 16:03:14.097473][debug][17676][MfPal.cpp:216] Create WinEventDeviceWatcher! +[08/06 16:03:14.097687][debug][17676][UsbDeviceEnumerator.cpp:78] No matched usb device found! +[08/06 16:03:14.097720][info][17676][DeviceManager.cpp:15] Current found device(s): (0) +[08/06 16:03:14.097850][debug][17676][DeviceManager.cpp:52] DeviceManager construct done! +[08/06 16:03:14.097871][debug][17676][Context.cpp:81] Context destroying ... +[08/06 16:03:14.097881][debug][17676][DeviceManager.cpp:56] DeviceManager destroy ... +[08/06 16:03:14.097890][debug][17676][DeviceManager.cpp:64] DeviceManager Destructors done +[08/06 16:03:14.098772][debug][17676][MfPal.cpp:128] WmfPal destroyed! +[08/06 16:03:14.099070][info][17676][Context.cpp:84] Context destroyed +[08/06 16:06:30.815796][debug][29672][Context.cpp:30] Context creating, work_dir=D:\Trae_space\BodyBalanceEvaluation +[08/06 16:06:30.815899][debug][29672][Context.cpp:49] Config file version=1.1 +[08/06 16:06:30.815926][debug][29672][FrameBufferManager.cpp:23] Max global frame buffer size updated! size=2048.000MB +[08/06 16:06:30.815947][info][29672][Context.cpp:68] Context created with config: default config! +[08/06 16:06:30.816126][info][29672][Context.cpp:73] Work directory=D:\Trae_space\BodyBalanceEvaluation, SDK version=v1.10.11-20240724-aeaa107e5 +[08/06 16:06:30.816393][debug][29672][DeviceManager.cpp:30] DeviceManager init ... +[08/06 16:06:30.816414][info][29672][MfPal.cpp:105] createObPal: create WinPal! +[08/06 16:06:30.816552][debug][29672][MfPal.cpp:110] WmfPal init ... +[08/06 16:06:30.844118][debug][29672][MfPal.cpp:117] WmfPal created! +[08/06 16:06:30.844165][debug][29672][DeviceManager.cpp:34] Enable USB Device Enumerator ... +[08/06 16:06:30.867078][debug][29672][EnumeratorLibusb.cpp:321] queryDevicesInfo done! +[08/06 16:06:30.867402][debug][29672][MfPal.cpp:216] Create WinEventDeviceWatcher! +[08/06 16:06:30.867705][debug][29672][UsbDeviceEnumerator.cpp:78] No matched usb device found! +[08/06 16:06:30.867736][info][29672][DeviceManager.cpp:15] Current found device(s): (0) +[08/06 16:06:30.867967][debug][29672][DeviceManager.cpp:52] DeviceManager construct done! +[08/06 16:06:30.868046][debug][29672][Context.cpp:81] Context destroying ... +[08/06 16:06:30.868082][debug][29672][DeviceManager.cpp:56] DeviceManager destroy ... +[08/06 16:06:30.868091][debug][29672][DeviceManager.cpp:64] DeviceManager Destructors done +[08/06 16:06:30.868890][debug][29672][MfPal.cpp:128] WmfPal destroyed! +[08/06 16:06:30.869245][info][29672][Context.cpp:84] Context destroyed +[08/06 16:08:52.321145][debug][26380][Context.cpp:30] Context creating, work_dir=D:\Trae_space\BodyBalanceEvaluation +[08/06 16:08:52.321267][debug][26380][Context.cpp:49] Config file version=1.1 +[08/06 16:08:52.321306][debug][26380][FrameBufferManager.cpp:23] Max global frame buffer size updated! size=2048.000MB +[08/06 16:08:52.321328][info][26380][Context.cpp:68] Context created with config: default config! +[08/06 16:08:52.321578][info][26380][Context.cpp:73] Work directory=D:\Trae_space\BodyBalanceEvaluation, SDK version=v1.10.11-20240724-aeaa107e5 +[08/06 16:08:52.321776][debug][26380][DeviceManager.cpp:30] DeviceManager init ... +[08/06 16:08:52.321793][info][26380][MfPal.cpp:105] createObPal: create WinPal! +[08/06 16:08:52.321887][debug][26380][MfPal.cpp:110] WmfPal init ... +[08/06 16:08:52.361501][debug][26380][MfPal.cpp:117] WmfPal created! +[08/06 16:08:52.361555][debug][26380][DeviceManager.cpp:34] Enable USB Device Enumerator ... +[08/06 16:08:52.392828][debug][26380][EnumeratorLibusb.cpp:321] queryDevicesInfo done! +[08/06 16:08:52.393196][debug][26380][MfPal.cpp:216] Create WinEventDeviceWatcher! +[08/06 16:08:52.393539][debug][26380][UsbDeviceEnumerator.cpp:78] No matched usb device found! +[08/06 16:08:52.393582][info][26380][DeviceManager.cpp:15] Current found device(s): (0) +[08/06 16:08:52.393837][debug][26380][DeviceManager.cpp:52] DeviceManager construct done! +[08/06 16:08:52.393864][debug][26380][Context.cpp:81] Context destroying ... +[08/06 16:08:52.393877][debug][26380][DeviceManager.cpp:56] DeviceManager destroy ... +[08/06 16:08:52.393887][debug][26380][DeviceManager.cpp:64] DeviceManager Destructors done +[08/06 16:08:52.398033][debug][26380][MfPal.cpp:128] WmfPal destroyed! +[08/06 16:08:52.398403][info][26380][Context.cpp:84] Context destroyed +[08/06 16:10:21.638974][debug][29392][Context.cpp:30] Context creating, work_dir=D:\Trae_space\BodyBalanceEvaluation +[08/06 16:10:21.639110][debug][29392][Context.cpp:49] Config file version=1.1 +[08/06 16:10:21.639149][debug][29392][FrameBufferManager.cpp:23] Max global frame buffer size updated! size=2048.000MB +[08/06 16:10:21.639172][info][29392][Context.cpp:68] Context created with config: default config! +[08/06 16:10:21.639421][info][29392][Context.cpp:73] Work directory=D:\Trae_space\BodyBalanceEvaluation, SDK version=v1.10.11-20240724-aeaa107e5 +[08/06 16:10:21.639616][debug][29392][DeviceManager.cpp:30] DeviceManager init ... +[08/06 16:10:21.639637][info][29392][MfPal.cpp:105] createObPal: create WinPal! +[08/06 16:10:21.639888][debug][29392][MfPal.cpp:110] WmfPal init ... +[08/06 16:10:21.684336][debug][29392][MfPal.cpp:117] WmfPal created! +[08/06 16:10:21.684398][debug][29392][DeviceManager.cpp:34] Enable USB Device Enumerator ... +[08/06 16:10:21.721401][debug][29392][EnumeratorLibusb.cpp:321] queryDevicesInfo done! +[08/06 16:10:21.721922][debug][29392][MfPal.cpp:216] Create WinEventDeviceWatcher! +[08/06 16:10:21.722414][debug][29392][UsbDeviceEnumerator.cpp:78] No matched usb device found! +[08/06 16:10:21.722485][info][29392][DeviceManager.cpp:15] Current found device(s): (0) +[08/06 16:10:21.722732][debug][29392][DeviceManager.cpp:52] DeviceManager construct done! +[08/06 16:10:21.722788][debug][29392][Context.cpp:81] Context destroying ... +[08/06 16:10:21.722811][debug][29392][DeviceManager.cpp:56] DeviceManager destroy ... +[08/06 16:10:21.722831][debug][29392][DeviceManager.cpp:64] DeviceManager Destructors done +[08/06 16:10:21.726464][debug][29392][MfPal.cpp:128] WmfPal destroyed! +[08/06 16:10:21.726866][info][29392][Context.cpp:84] Context destroyed +[08/06 16:10:57.645092][debug][20760][Context.cpp:30] Context creating, work_dir=D:\Trae_space\BodyBalanceEvaluation +[08/06 16:10:57.645324][debug][20760][Context.cpp:49] Config file version=1.1 +[08/06 16:10:57.645407][debug][20760][FrameBufferManager.cpp:23] Max global frame buffer size updated! size=2048.000MB +[08/06 16:10:57.645444][info][20760][Context.cpp:68] Context created with config: default config! +[08/06 16:10:57.645773][info][20760][Context.cpp:73] Work directory=D:\Trae_space\BodyBalanceEvaluation, SDK version=v1.10.11-20240724-aeaa107e5 +[08/06 16:10:57.646061][debug][20760][DeviceManager.cpp:30] DeviceManager init ... +[08/06 16:10:57.646083][info][20760][MfPal.cpp:105] createObPal: create WinPal! +[08/06 16:10:57.646291][debug][20760][MfPal.cpp:110] WmfPal init ... +[08/06 16:10:57.693789][debug][20760][MfPal.cpp:117] WmfPal created! +[08/06 16:10:57.693860][debug][20760][DeviceManager.cpp:34] Enable USB Device Enumerator ... +[08/06 16:10:57.734267][debug][20760][EnumeratorLibusb.cpp:321] queryDevicesInfo done! +[08/06 16:10:57.734690][debug][20760][MfPal.cpp:216] Create WinEventDeviceWatcher! +[08/06 16:10:57.734988][debug][20760][UsbDeviceEnumerator.cpp:78] No matched usb device found! +[08/06 16:10:57.735041][info][20760][DeviceManager.cpp:15] Current found device(s): (0) +[08/06 16:10:57.735528][debug][20760][DeviceManager.cpp:52] DeviceManager construct done! +[08/06 16:10:57.735616][debug][20760][Context.cpp:81] Context destroying ... +[08/06 16:10:57.735659][debug][20760][DeviceManager.cpp:56] DeviceManager destroy ... +[08/06 16:10:57.735689][debug][20760][DeviceManager.cpp:64] DeviceManager Destructors done +[08/06 16:10:57.741115][debug][20760][MfPal.cpp:128] WmfPal destroyed! +[08/06 16:10:57.741988][info][20760][Context.cpp:84] Context destroyed +[08/06 16:12:16.098220][debug][28004][Context.cpp:30] Context creating, work_dir=D:\Trae_space\BodyBalanceEvaluation +[08/06 16:12:16.098394][debug][28004][Context.cpp:49] Config file version=1.1 +[08/06 16:12:16.098436][debug][28004][FrameBufferManager.cpp:23] Max global frame buffer size updated! size=2048.000MB +[08/06 16:12:16.098468][info][28004][Context.cpp:68] Context created with config: default config! +[08/06 16:12:16.098742][info][28004][Context.cpp:73] Work directory=D:\Trae_space\BodyBalanceEvaluation, SDK version=v1.10.11-20240724-aeaa107e5 +[08/06 16:12:16.098886][debug][28004][DeviceManager.cpp:30] DeviceManager init ... +[08/06 16:12:16.098901][info][28004][MfPal.cpp:105] createObPal: create WinPal! +[08/06 16:12:16.099085][debug][28004][MfPal.cpp:110] WmfPal init ... +[08/06 16:12:16.134815][debug][28004][MfPal.cpp:117] WmfPal created! +[08/06 16:12:16.134858][debug][28004][DeviceManager.cpp:34] Enable USB Device Enumerator ... +[08/06 16:12:16.172781][debug][28004][EnumeratorLibusb.cpp:321] queryDevicesInfo done! +[08/06 16:12:16.173306][debug][28004][MfPal.cpp:216] Create WinEventDeviceWatcher! +[08/06 16:12:16.173613][debug][28004][UsbDeviceEnumerator.cpp:78] No matched usb device found! +[08/06 16:12:16.173659][info][28004][DeviceManager.cpp:15] Current found device(s): (0) +[08/06 16:12:16.173897][debug][28004][DeviceManager.cpp:52] DeviceManager construct done! +[08/06 16:12:16.173941][debug][28004][Context.cpp:81] Context destroying ... +[08/06 16:12:16.173956][debug][28004][DeviceManager.cpp:56] DeviceManager destroy ... +[08/06 16:12:16.173968][debug][28004][DeviceManager.cpp:64] DeviceManager Destructors done +[08/06 16:12:16.175519][debug][28004][MfPal.cpp:128] WmfPal destroyed! +[08/06 16:12:16.176049][info][28004][Context.cpp:84] Context destroyed +[08/06 16:13:23.391846][debug][13332][Context.cpp:30] Context creating, work_dir=D:\Trae_space\BodyBalanceEvaluation +[08/06 16:13:23.391992][debug][13332][Context.cpp:49] Config file version=1.1 +[08/06 16:13:23.392025][debug][13332][FrameBufferManager.cpp:23] Max global frame buffer size updated! size=2048.000MB +[08/06 16:13:23.392050][info][13332][Context.cpp:68] Context created with config: default config! +[08/06 16:13:23.392226][info][13332][Context.cpp:73] Work directory=D:\Trae_space\BodyBalanceEvaluation, SDK version=v1.10.11-20240724-aeaa107e5 +[08/06 16:13:23.392496][debug][13332][DeviceManager.cpp:30] DeviceManager init ... +[08/06 16:13:23.392526][info][13332][MfPal.cpp:105] createObPal: create WinPal! +[08/06 16:13:23.392681][debug][13332][MfPal.cpp:110] WmfPal init ... +[08/06 16:13:23.435989][debug][13332][MfPal.cpp:117] WmfPal created! +[08/06 16:13:23.436054][debug][13332][DeviceManager.cpp:34] Enable USB Device Enumerator ... +[08/06 16:13:23.466488][debug][13332][EnumeratorLibusb.cpp:321] queryDevicesInfo done! +[08/06 16:13:23.466890][debug][13332][MfPal.cpp:216] Create WinEventDeviceWatcher! +[08/06 16:13:23.467292][debug][13332][UsbDeviceEnumerator.cpp:78] No matched usb device found! +[08/06 16:13:23.467338][info][13332][DeviceManager.cpp:15] Current found device(s): (0) +[08/06 16:13:23.467777][debug][13332][DeviceManager.cpp:52] DeviceManager construct done! +[08/06 16:13:23.467808][debug][13332][Context.cpp:81] Context destroying ... +[08/06 16:13:23.467821][debug][13332][DeviceManager.cpp:56] DeviceManager destroy ... +[08/06 16:13:23.467831][debug][13332][DeviceManager.cpp:64] DeviceManager Destructors done +[08/06 16:13:23.474014][debug][13332][MfPal.cpp:128] WmfPal destroyed! +[08/06 16:13:23.474445][info][13332][Context.cpp:84] Context destroyed +[08/06 16:15:59.453762][debug][13332][Context.cpp:30] Context creating, work_dir=D:\Trae_space\BodyBalanceEvaluation +[08/06 16:15:59.453814][debug][13332][Context.cpp:49] Config file version=1.1 +[08/06 16:15:59.453833][debug][13332][FrameBufferManager.cpp:23] Max global frame buffer size updated! size=2048.000MB +[08/06 16:15:59.453848][info][13332][Context.cpp:68] Context created with config: default config! +[08/06 16:15:59.453949][info][13332][Context.cpp:73] Work directory=D:\Trae_space\BodyBalanceEvaluation, SDK version=v1.10.11-20240724-aeaa107e5 +[08/06 16:15:59.454063][debug][13332][DeviceManager.cpp:30] DeviceManager init ... +[08/06 16:15:59.454074][info][13332][MfPal.cpp:105] createObPal: create WinPal! +[08/06 16:15:59.454171][debug][13332][MfPal.cpp:110] WmfPal init ... +[08/06 16:15:59.478375][debug][13332][MfPal.cpp:117] WmfPal created! +[08/06 16:15:59.478410][debug][13332][DeviceManager.cpp:34] Enable USB Device Enumerator ... +[08/06 16:15:59.503981][debug][13332][EnumeratorLibusb.cpp:321] queryDevicesInfo done! +[08/06 16:15:59.504283][debug][13332][MfPal.cpp:216] Create WinEventDeviceWatcher! +[08/06 16:15:59.504495][debug][13332][UsbDeviceEnumerator.cpp:78] No matched usb device found! +[08/06 16:15:59.504521][info][13332][DeviceManager.cpp:15] Current found device(s): (0) +[08/06 16:15:59.504714][debug][13332][DeviceManager.cpp:52] DeviceManager construct done! +[08/06 16:15:59.504732][debug][13332][Context.cpp:81] Context destroying ... +[08/06 16:15:59.504742][debug][13332][DeviceManager.cpp:56] DeviceManager destroy ... +[08/06 16:15:59.504751][debug][13332][DeviceManager.cpp:64] DeviceManager Destructors done +[08/06 16:15:59.505619][debug][13332][MfPal.cpp:128] WmfPal destroyed! +[08/06 16:15:59.506002][info][13332][Context.cpp:84] Context destroyed +[08/06 16:16:20.739938][debug][18856][Context.cpp:30] Context creating, work_dir=D:\Trae_space\BodyBalanceEvaluation +[08/06 16:16:20.740031][debug][18856][Context.cpp:49] Config file version=1.1 +[08/06 16:16:20.740058][debug][18856][FrameBufferManager.cpp:23] Max global frame buffer size updated! size=2048.000MB +[08/06 16:16:20.740075][info][18856][Context.cpp:68] Context created with config: default config! +[08/06 16:16:20.740333][info][18856][Context.cpp:73] Work directory=D:\Trae_space\BodyBalanceEvaluation, SDK version=v1.10.11-20240724-aeaa107e5 +[08/06 16:16:20.740472][debug][18856][DeviceManager.cpp:30] DeviceManager init ... +[08/06 16:16:20.740485][info][18856][MfPal.cpp:105] createObPal: create WinPal! +[08/06 16:16:20.740642][debug][18856][MfPal.cpp:110] WmfPal init ... +[08/06 16:16:20.768187][debug][18856][MfPal.cpp:117] WmfPal created! +[08/06 16:16:20.768248][debug][18856][DeviceManager.cpp:34] Enable USB Device Enumerator ... +[08/06 16:16:20.791752][debug][18856][EnumeratorLibusb.cpp:321] queryDevicesInfo done! +[08/06 16:16:20.792149][debug][18856][MfPal.cpp:216] Create WinEventDeviceWatcher! +[08/06 16:16:20.792375][debug][18856][UsbDeviceEnumerator.cpp:78] No matched usb device found! +[08/06 16:16:20.792412][info][18856][DeviceManager.cpp:15] Current found device(s): (0) +[08/06 16:16:20.792631][debug][18856][DeviceManager.cpp:52] DeviceManager construct done! +[08/06 16:16:20.792653][debug][18856][Context.cpp:81] Context destroying ... +[08/06 16:16:20.792664][debug][18856][DeviceManager.cpp:56] DeviceManager destroy ... +[08/06 16:16:20.792673][debug][18856][DeviceManager.cpp:64] DeviceManager Destructors done +[08/06 16:16:20.794234][debug][18856][MfPal.cpp:128] WmfPal destroyed! +[08/06 16:16:20.794542][info][18856][Context.cpp:84] Context destroyed +[08/06 18:49:39.320553][debug][7128][Context.cpp:30] Context creating, work_dir=D:\Trae_space\BodyBalanceEvaluation +[08/06 18:49:39.321439][debug][7128][Context.cpp:49] Config file version=1.1 +[08/06 18:49:39.321794][debug][7128][FrameBufferManager.cpp:23] Max global frame buffer size updated! size=2048.000MB +[08/06 18:49:39.321861][info][7128][Context.cpp:68] Context created with config: default config! +[08/06 18:49:39.322297][info][7128][Context.cpp:73] Work directory=D:\Trae_space\BodyBalanceEvaluation, SDK version=v1.10.11-20240724-aeaa107e5 +[08/06 18:49:39.322605][debug][7128][DeviceManager.cpp:30] DeviceManager init ... +[08/06 18:49:39.322653][info][7128][MfPal.cpp:105] createObPal: create WinPal! +[08/06 18:49:39.324634][debug][7128][MfPal.cpp:110] WmfPal init ... +[08/06 18:49:39.397789][debug][7128][MfPal.cpp:117] WmfPal created! +[08/06 18:49:39.397898][debug][7128][DeviceManager.cpp:34] Enable USB Device Enumerator ... +[08/06 18:49:39.480505][debug][7128][EnumeratorLibusb.cpp:321] queryDevicesInfo done! +[08/06 18:49:39.481199][debug][7128][MfPal.cpp:216] Create WinEventDeviceWatcher! +[08/06 18:49:39.481472][debug][7128][UsbDeviceEnumerator.cpp:78] No matched usb device found! +[08/06 18:49:39.481703][info][7128][DeviceManager.cpp:15] Current found device(s): (0) +[08/06 18:49:39.482334][debug][7128][DeviceManager.cpp:52] DeviceManager construct done! +[08/06 18:49:39.482711][debug][7128][Context.cpp:81] Context destroying ... +[08/06 18:49:39.482753][debug][7128][DeviceManager.cpp:56] DeviceManager destroy ... +[08/06 18:49:39.482846][debug][7128][DeviceManager.cpp:64] DeviceManager Destructors done +[08/06 18:49:39.484599][debug][7128][MfPal.cpp:128] WmfPal destroyed! +[08/06 18:49:39.485324][info][7128][Context.cpp:84] Context destroyed +[08/07 08:37:04.330106][debug][1608][Context.cpp:30] Context creating, work_dir=D:\Trae_space\BodyBalanceEvaluation +[08/07 08:37:04.331001][debug][1608][Context.cpp:49] Config file version=1.1 +[08/07 08:37:04.331403][debug][1608][FrameBufferManager.cpp:23] Max global frame buffer size updated! size=2048.000MB +[08/07 08:37:04.331481][info][1608][Context.cpp:68] Context created with config: default config! +[08/07 08:37:04.331980][info][1608][Context.cpp:73] Work directory=D:\Trae_space\BodyBalanceEvaluation, SDK version=v1.10.11-20240724-aeaa107e5 +[08/07 08:37:04.332345][debug][1608][DeviceManager.cpp:30] DeviceManager init ... +[08/07 08:37:04.332393][info][1608][MfPal.cpp:105] createObPal: create WinPal! +[08/07 08:37:04.332702][debug][1608][MfPal.cpp:110] WmfPal init ... +[08/07 08:37:04.392689][debug][1608][MfPal.cpp:117] WmfPal created! +[08/07 08:37:04.392788][debug][1608][DeviceManager.cpp:34] Enable USB Device Enumerator ... +[08/07 08:37:04.434990][debug][1608][EnumeratorLibusb.cpp:321] queryDevicesInfo done! +[08/07 08:37:04.435417][debug][1608][MfPal.cpp:216] Create WinEventDeviceWatcher! +[08/07 08:37:04.435774][debug][1608][UsbDeviceEnumerator.cpp:78] No matched usb device found! +[08/07 08:37:04.436028][info][1608][DeviceManager.cpp:15] Current found device(s): (0) +[08/07 08:37:04.436282][debug][1608][DeviceManager.cpp:52] DeviceManager construct done! +[08/07 08:37:04.436602][debug][1608][Context.cpp:81] Context destroying ... +[08/07 08:37:04.436640][debug][1608][DeviceManager.cpp:56] DeviceManager destroy ... +[08/07 08:37:04.436974][debug][1608][DeviceManager.cpp:64] DeviceManager Destructors done +[08/07 08:37:04.438813][debug][1608][MfPal.cpp:128] WmfPal destroyed! +[08/07 08:37:04.439737][info][1608][Context.cpp:84] Context destroyed +[08/07 08:53:58.557016][debug][26392][Context.cpp:30] Context creating, work_dir=D:\Trae_space\BodyBalanceEvaluation +[08/07 08:53:58.557193][debug][26392][Context.cpp:49] Config file version=1.1 +[08/07 08:53:58.557237][debug][26392][FrameBufferManager.cpp:23] Max global frame buffer size updated! size=2048.000MB +[08/07 08:53:58.557265][info][26392][Context.cpp:68] Context created with config: default config! +[08/07 08:53:58.557495][info][26392][Context.cpp:73] Work directory=D:\Trae_space\BodyBalanceEvaluation, SDK version=v1.10.11-20240724-aeaa107e5 +[08/07 08:53:58.557711][debug][26392][DeviceManager.cpp:30] DeviceManager init ... +[08/07 08:53:58.557731][info][26392][MfPal.cpp:105] createObPal: create WinPal! +[08/07 08:53:58.557935][debug][26392][MfPal.cpp:110] WmfPal init ... +[08/07 08:53:58.610665][debug][26392][MfPal.cpp:117] WmfPal created! +[08/07 08:53:58.610706][debug][26392][DeviceManager.cpp:34] Enable USB Device Enumerator ... +[08/07 08:53:58.642596][debug][26392][EnumeratorLibusb.cpp:321] queryDevicesInfo done! +[08/07 08:53:58.642997][debug][26392][MfPal.cpp:216] Create WinEventDeviceWatcher! +[08/07 08:53:58.643262][debug][26392][UsbDeviceEnumerator.cpp:78] No matched usb device found! +[08/07 08:53:58.643306][info][26392][DeviceManager.cpp:15] Current found device(s): (0) +[08/07 08:53:58.643483][debug][26392][DeviceManager.cpp:52] DeviceManager construct done! +[08/07 08:53:58.643513][debug][26392][Context.cpp:81] Context destroying ... +[08/07 08:53:58.643527][debug][26392][DeviceManager.cpp:56] DeviceManager destroy ... +[08/07 08:53:58.643540][debug][26392][DeviceManager.cpp:64] DeviceManager Destructors done +[08/07 08:53:58.644558][debug][26392][MfPal.cpp:128] WmfPal destroyed! +[08/07 08:53:58.644986][info][26392][Context.cpp:84] Context destroyed +[08/07 09:03:51.600617][debug][5460][Context.cpp:30] Context creating, work_dir=D:\Trae_space\BodyBalanceEvaluation +[08/07 09:03:51.600710][debug][5460][Context.cpp:49] Config file version=1.1 +[08/07 09:03:51.600737][debug][5460][FrameBufferManager.cpp:23] Max global frame buffer size updated! size=2048.000MB +[08/07 09:03:51.600755][info][5460][Context.cpp:68] Context created with config: default config! +[08/07 09:03:51.600863][info][5460][Context.cpp:73] Work directory=D:\Trae_space\BodyBalanceEvaluation, SDK version=v1.10.11-20240724-aeaa107e5 +[08/07 09:03:51.600973][debug][5460][DeviceManager.cpp:30] DeviceManager init ... +[08/07 09:03:51.600985][info][5460][MfPal.cpp:105] createObPal: create WinPal! +[08/07 09:03:51.601138][debug][5460][MfPal.cpp:110] WmfPal init ... +[08/07 09:03:51.629206][debug][5460][MfPal.cpp:117] WmfPal created! +[08/07 09:03:51.629309][debug][5460][DeviceManager.cpp:34] Enable USB Device Enumerator ... +[08/07 09:03:51.652743][debug][5460][EnumeratorLibusb.cpp:321] queryDevicesInfo done! +[08/07 09:03:51.653156][debug][5460][MfPal.cpp:216] Create WinEventDeviceWatcher! +[08/07 09:03:51.653432][debug][5460][UsbDeviceEnumerator.cpp:78] No matched usb device found! +[08/07 09:03:51.653463][info][5460][DeviceManager.cpp:15] Current found device(s): (0) +[08/07 09:03:51.653658][debug][5460][DeviceManager.cpp:52] DeviceManager construct done! +[08/07 09:03:51.653680][debug][5460][Context.cpp:81] Context destroying ... +[08/07 09:03:51.653690][debug][5460][DeviceManager.cpp:56] DeviceManager destroy ... +[08/07 09:03:51.653698][debug][5460][DeviceManager.cpp:64] DeviceManager Destructors done +[08/07 09:03:51.654355][debug][5460][MfPal.cpp:128] WmfPal destroyed! +[08/07 09:03:51.654625][info][5460][Context.cpp:84] Context destroyed diff --git a/backend/Log/OrbbecSDK.log.txt b/backend/Log/OrbbecSDK.log.txt new file mode 100644 index 00000000..199e94f3 --- /dev/null +++ b/backend/Log/OrbbecSDK.log.txt @@ -0,0 +1,20 @@ +[08/06 16:05:29.947597][debug][29212][Context.cpp:30] Context creating, work_dir=D:\Trae_space\BodyBalanceEvaluation\backend +[08/06 16:05:29.947770][debug][29212][Context.cpp:49] Config file version=1.1 +[08/06 16:05:29.947818][debug][29212][FrameBufferManager.cpp:23] Max global frame buffer size updated! size=2048.000MB +[08/06 16:05:29.947857][info][29212][Context.cpp:68] Context created with config: default config! +[08/06 16:05:29.948048][info][29212][Context.cpp:73] Work directory=D:\Trae_space\BodyBalanceEvaluation\backend, SDK version=v1.10.11-20240724-aeaa107e5 +[08/06 16:05:29.948256][debug][29212][DeviceManager.cpp:30] DeviceManager init ... +[08/06 16:05:29.948529][info][29212][MfPal.cpp:105] createObPal: create WinPal! +[08/06 16:05:29.948659][debug][29212][MfPal.cpp:110] WmfPal init ... +[08/06 16:05:29.984405][debug][29212][MfPal.cpp:117] WmfPal created! +[08/06 16:05:29.984501][debug][29212][DeviceManager.cpp:34] Enable USB Device Enumerator ... +[08/06 16:05:30.020645][debug][29212][EnumeratorLibusb.cpp:321] queryDevicesInfo done! +[08/06 16:05:30.021037][debug][29212][MfPal.cpp:216] Create WinEventDeviceWatcher! +[08/06 16:05:30.021274][debug][29212][UsbDeviceEnumerator.cpp:78] No matched usb device found! +[08/06 16:05:30.021308][info][29212][DeviceManager.cpp:15] Current found device(s): (0) +[08/06 16:05:30.021507][debug][29212][DeviceManager.cpp:52] DeviceManager construct done! +[08/06 16:05:30.021539][debug][29212][Context.cpp:81] Context destroying ... +[08/06 16:05:30.021552][debug][29212][DeviceManager.cpp:56] DeviceManager destroy ... +[08/06 16:05:30.021562][debug][29212][DeviceManager.cpp:64] DeviceManager Destructors done +[08/06 16:05:30.030937][debug][29212][MfPal.cpp:128] WmfPal destroyed! +[08/06 16:05:30.031392][info][29212][Context.cpp:84] Context destroyed diff --git a/backend/app.py b/backend/app.py index c941eea9..5b09c4c7 100644 --- a/backend/app.py +++ b/backend/app.py @@ -113,7 +113,8 @@ def init_app(): except Exception as e: logger.error(f'应用初始化失败: {e}') - raise + logger.warning('部分功能可能不可用,但服务将继续运行') + # 不再抛出异常,让应用继续运行 # ==================== 基础API ==================== @@ -773,6 +774,68 @@ def get_detection_status(session_id): logger.error(f'获取检测状态失败: {e}') return jsonify({'success': False, 'error': str(e)}), 500 +@app.route('/api/detection//save-info', methods=['POST']) +def save_session_info(session_id): + """保存会话信息(诊断、处理、建议、状态)""" + try: + if not db_manager: + return jsonify({'success': False, 'error': '数据库管理器未初始化'}), 500 + + if not session_id: + return jsonify({ + 'success': False, + 'error': '缺少会话ID' + }), 400 + + # 获取请求数据 + data = flask_request.get_json() or {} + diagnosis_info = data.get('diagnosis_info') + treatment_info = data.get('treatment_info') + suggestion_info = data.get('suggestion_info') + status = data.get('status') + + # 验证至少提供一个要更新的字段 + if not any([diagnosis_info, treatment_info, suggestion_info, status]): + return jsonify({ + 'success': False, + 'error': '至少需要提供一个要更新的字段(diagnosis_info, treatment_info, suggestion_info, status)' + }), 400 + + # 调用数据库管理器的批量更新方法 + db_manager.update_session_all_info( + session_id=session_id, + diagnosis_info=diagnosis_info, + treatment_info=treatment_info, + suggestion_info=suggestion_info, + status=status + ) + + # 构建更新信息反馈 + updated_fields = [] + if diagnosis_info is not None: + updated_fields.append('诊断信息') + if treatment_info is not None: + updated_fields.append('处理信息') + if suggestion_info is not None: + updated_fields.append('建议信息') + if status is not None: + updated_fields.append(f'状态({status})') + + logger.info(f'会话信息保存成功: {session_id}, 更新字段: {", ".join(updated_fields)}') + + return jsonify({ + 'success': True, + 'message': f'会话信息保存成功,更新字段: {", ".join(updated_fields)}', + 'data': { + 'session_id': session_id, + 'updated_fields': updated_fields + } + }) + + except Exception as e: + logger.error(f'保存会话信息失败: {e}') + return jsonify({'success': False, 'error': str(e)}), 500 + @app.route('/api/detection//collect', methods=['POST']) def collect_detection_data(session_id): """采集检测数据""" diff --git a/backend/database.py b/backend/database.py index ea242972..cd9d20c1 100644 --- a/backend/database.py +++ b/backend/database.py @@ -276,7 +276,7 @@ class DatabaseManager: diagnosis_info TEXT, -- 诊断信息 treatment_info TEXT, -- 处理信息 suggestion_info TEXT, -- 建议信息 - status TEXT DEFAULT 'created', -- 会话状态(created/running/completed/failed) + status TEXT DEFAULT 'created', -- 会话状态(created/running/diagnosed/completed) created_at TIMESTAMP, -- 记录创建时间 FOREIGN KEY (patient_id) REFERENCES patients (id), -- 患者表外键约束 FOREIGN KEY (creator_id) REFERENCES users (id) -- 用户表外键约束 @@ -825,6 +825,69 @@ class DatabaseManager: logger.error(f'更新会话建议信息失败: {e}') raise + def update_session_all_info(self, session_id: str, diagnosis_info: str = None, treatment_info: str = None, suggestion_info: str = None, status: str = None): + """同时更新会话的诊断信息、处理信息、建议信息和状态""" + conn = self.get_connection() + cursor = conn.cursor() + + try: + # 构建动态SQL语句,只更新非None的字段 + update_fields = [] + update_values = [] + + if diagnosis_info is not None: + update_fields.append('diagnosis_info = ?') + update_values.append(diagnosis_info) + + if treatment_info is not None: + update_fields.append('treatment_info = ?') + update_values.append(treatment_info) + + if suggestion_info is not None: + update_fields.append('suggestion_info = ?') + update_values.append(suggestion_info) + + if status is not None: + update_fields.append('status = ?') + update_values.append(status) + + # 如果状态是完成、停止或错误,同时更新结束时间 + if status in ['completed', 'stopped', 'error']: + update_fields.append('end_time = ?') + update_values.append(self.get_china_time()) + + if not update_fields: + logger.warning(f'没有提供要更新的信息: {session_id}') + return + + # 添加session_id到参数列表 + update_values.append(session_id) + + sql = f''' + UPDATE detection_sessions SET {', '.join(update_fields)} + WHERE id = ? + ''' + + cursor.execute(sql, update_values) + conn.commit() + + updated_info = [] + if diagnosis_info is not None: + updated_info.append('诊断信息') + if treatment_info is not None: + updated_info.append('处理信息') + if suggestion_info is not None: + updated_info.append('建议信息') + if status is not None: + updated_info.append(f'状态({status})') + + logger.info(f'批量更新会话信息成功: {session_id}, 更新字段: {", ".join(updated_info)}') + + except Exception as e: + conn.rollback() + logger.error(f'批量更新会话信息失败: {e}') + raise + def get_detection_sessions(self, page: int = 1, size: int = 10, patient_id: str = None) -> List[Dict]: diff --git a/backend/device_manager.py b/backend/device_manager.py index 51951e9e..81802dfc 100644 --- a/backend/device_manager.py +++ b/backend/device_manager.py @@ -66,8 +66,12 @@ class DeviceManager: # 推流状态和线程 self.camera_streaming = False self.femtobolt_streaming = False + self.imu_streaming = False + self.pressure_streaming = False self.camera_streaming_thread = None self.femtobolt_streaming_thread = None + self.imu_thread = None + self.pressure_thread = None self.streaming_stop_event = threading.Event() # 全局帧缓存机制 @@ -244,17 +248,22 @@ class DeviceManager: self.femtobolt_config.synchronized_images_only = True # 视效范围参数示例,假设SDK支持depth_range_min和depth_range_max - # 直接尝试启动设备(pykinect_azure库没有设备数量检测API) - logger.info('准备启动FemtoBolt设备...') - - # 启动FemtoBolt设备 + # 启动FemtoBolt设备(直接尝试启动,失败时优雅处理) logger.info('尝试启动FemtoBolt设备...') - self.femtobolt_camera = pykinect.start_device(config=self.femtobolt_config) - if self.femtobolt_camera: - self.device_status['femtobolt'] = True - logger.info('✓ FemtoBolt深度相机初始化成功!') - else: - raise Exception('设备启动返回None') + try: + self.femtobolt_camera = pykinect.start_device(config=self.femtobolt_config) + if self.femtobolt_camera: + self.device_status['femtobolt'] = True + logger.info('✓ FemtoBolt深度相机初始化成功!') + else: + logger.warning('FemtoBolt设备启动失败:设备返回None(可能未连接设备)') + self.femtobolt_camera = None + self.device_status['femtobolt'] = False + except BaseException as device_error: + logger.warning(f'FemtoBolt设备启动失败: {device_error}') + logger.info('这通常表示没有连接FemtoBolt设备,系统将继续运行但不包含深度相机功能') + self.femtobolt_camera = None + self.device_status['femtobolt'] = False except Exception as e: logger.warning(f'FemtoBolt深度相机初始化失败: {e}') @@ -856,9 +865,7 @@ class DeviceManager: head_pose_data = { 'rotation': head_pose['rotation'], # 旋转角:左旋(-), 右旋(+) 'tilt': head_pose['tilt'], # 倾斜角:左倾(-), 右倾(+) - 'pitch': head_pose['pitch'], # 俯仰角:俯角(-), 仰角(+) - - 'temperature': imu_data.get('temperature', 25), + 'pitch': head_pose['pitch'], # 俯仰角:俯角(-), 仰角(+) 'timestamp': imu_data['timestamp'] } @@ -904,6 +911,14 @@ class DeviceManager: # 计算总压力 total_pressure = left_total + right_total + # 计算各区域压力百分比 + left_front_percent = (left_front / total_pressure * 100) if total_pressure > 0 else 0 + left_rear_percent = (left_rear / total_pressure * 100) if total_pressure > 0 else 0 + right_front_percent = (right_front / total_pressure * 100) if total_pressure > 0 else 0 + right_rear_percent = (right_rear / total_pressure * 100) if total_pressure > 0 else 0 + left_total_percent = (left_total / total_pressure * 100) if total_pressure > 0 else 0 + right_total_percent = (right_total / total_pressure * 100) if total_pressure > 0 else 0 + # 计算平衡比例(左脚压力占总压力的比例) balance_ratio = left_total / total_pressure if total_pressure > 0 else 0.5 @@ -916,15 +931,15 @@ class DeviceManager: # 构建完整的足部压力数据 complete_pressure_data = { - # 分区压力值 + # 分区压力百分比 'pressure_zones': { - 'left_front': left_front, - 'left_rear': left_rear, - 'right_front': right_front, - 'right_rear': right_rear, - 'left_total': left_total, - 'right_total': right_total, - 'total_pressure': total_pressure + 'left_front': round(left_front_percent, 1), + 'left_rear': round(left_rear_percent, 1), + 'right_front': round(right_front_percent,1), + 'right_rear': round(right_rear_percent, 1), + 'left_total': round(left_total_percent, 1), + 'right_total': round(right_total_percent, 1), + 'total_pressure': 100.0 # 总压力百分比始终为100% }, # 平衡分析 'balance_analysis': { diff --git a/frontend/src/renderer/src/assets/record.png b/frontend/src/renderer/src/assets/record.png new file mode 100644 index 00000000..8ff06209 Binary files /dev/null and b/frontend/src/renderer/src/assets/record.png differ diff --git a/frontend/src/renderer/src/assets/svg/datalist.svg b/frontend/src/renderer/src/assets/svg/datalist.svg new file mode 100644 index 00000000..3b32515b --- /dev/null +++ b/frontend/src/renderer/src/assets/svg/datalist.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/frontend/src/renderer/src/assets/svg/del.svg b/frontend/src/renderer/src/assets/svg/del.svg new file mode 100644 index 00000000..061cc4b2 --- /dev/null +++ b/frontend/src/renderer/src/assets/svg/del.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/frontend/src/renderer/src/assets/svg/edit.svg b/frontend/src/renderer/src/assets/svg/edit.svg new file mode 100644 index 00000000..a0f6ffe3 --- /dev/null +++ b/frontend/src/renderer/src/assets/svg/edit.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/frontend/src/renderer/src/assets/svg/u125.svg b/frontend/src/renderer/src/assets/svg/u125.svg new file mode 100644 index 00000000..c34c2cc3 --- /dev/null +++ b/frontend/src/renderer/src/assets/svg/u125.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/frontend/src/renderer/src/assets/svg/u14.svg b/frontend/src/renderer/src/assets/svg/u14.svg new file mode 100644 index 00000000..03f39ab4 --- /dev/null +++ b/frontend/src/renderer/src/assets/svg/u14.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/frontend/src/renderer/src/assets/svg/u155.svg b/frontend/src/renderer/src/assets/svg/u155.svg new file mode 100644 index 00000000..2654638d --- /dev/null +++ b/frontend/src/renderer/src/assets/svg/u155.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/frontend/src/renderer/src/assets/svg/u164.svg b/frontend/src/renderer/src/assets/svg/u164.svg new file mode 100644 index 00000000..5f3b3988 --- /dev/null +++ b/frontend/src/renderer/src/assets/svg/u164.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/frontend/src/renderer/src/assets/svg/u58.svg b/frontend/src/renderer/src/assets/svg/u58.svg new file mode 100644 index 00000000..c2bf1820 --- /dev/null +++ b/frontend/src/renderer/src/assets/svg/u58.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/frontend/src/renderer/src/assets/svg/u67.svg b/frontend/src/renderer/src/assets/svg/u67.svg new file mode 100644 index 00000000..fc3452ee --- /dev/null +++ b/frontend/src/renderer/src/assets/svg/u67.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/frontend/src/renderer/src/assets/svg/u7.svg b/frontend/src/renderer/src/assets/svg/u7.svg new file mode 100644 index 00000000..c34790d2 --- /dev/null +++ b/frontend/src/renderer/src/assets/svg/u7.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/frontend/src/renderer/src/assets/u45.png b/frontend/src/renderer/src/assets/u45.png new file mode 100644 index 00000000..e64eb882 Binary files /dev/null and b/frontend/src/renderer/src/assets/u45.png differ diff --git a/frontend/src/renderer/src/services/api.js b/frontend/src/renderer/src/services/api.js index 694ef4e5..bc94bc2a 100644 --- a/frontend/src/renderer/src/services/api.js +++ b/frontend/src/renderer/src/services/api.js @@ -16,7 +16,8 @@ api.interceptors.request.use( if (window.electronAPI) { config.baseURL = window.electronAPI.getBackendUrl() } else { - config.baseURL = 'http://192.168.1.173:5000' + config.baseURL = 'http://192.168.1.58:5000' + } // 添加时间戳防止缓存 @@ -112,6 +113,11 @@ export const deviceAPI = { return api.post('/api/devices/calibrate') }, + // 校准IMU头部姿态传感器 + calibrateIMU() { + return api.post('/api/devices/calibrate/imu') + }, + // 测试设备 testDevice() { return api.post('/api/devices/test') @@ -594,7 +600,7 @@ export const getBackendUrl = () => { if (window.electronAPI) { return window.electronAPI.getBackendUrl() } else { - return 'http://192.168.1.173:5000' + return 'http://192.168.1.58:5000' } } diff --git a/frontend/src/renderer/src/views/Dashboard.vue b/frontend/src/renderer/src/views/Dashboard.vue index c08ab4f9..85ca187e 100644 --- a/frontend/src/renderer/src/views/Dashboard.vue +++ b/frontend/src/renderer/src/views/Dashboard.vue @@ -34,14 +34,21 @@ - - - - - - + + + + + + + + + + @@ -253,6 +260,7 @@ import { ElMessage, ElMessageBox } from 'element-plus' import { patientAPI } from '../services/api.js' import { useAuthStore } from '../stores/index.js' import Header from '@/views/Header.vue' +import { color } from 'echarts' const router = useRouter() const authStore = useAuthStore() @@ -347,6 +355,7 @@ const filteredPatients = computed(() => { if (!searchKeyword.value) { return patients.value } + return patients.value.filter(patient => patient.name.toLowerCase().includes(searchKeyword.value.toLowerCase()) ) @@ -759,10 +768,10 @@ function delClick(id) { } .section-header { - display: flex; - justify-content: space-between; + /* display: flex; + justify-content: space-between; */ align-items: center; - margin-bottom: 20px; + margin-bottom: 15px; } .section-header h2 { @@ -773,6 +782,7 @@ function delClick(id) { .search-box { width: 250px; + margin-top: 15px; } .patient-list { @@ -971,18 +981,18 @@ function delClick(id) { display: flex; justify-content: center; box-sizing: border-box; - padding-top: 10px; + padding-top: 13px; width: 100%; } .basic-info-text { width: 33%; text-align: center; - font-size: 13px; + font-size: 20px; } .basic-info-textcolor { - color: rgb(48, 205, 223); + color: #30F3FF; padding-bottom: 8px; } @@ -1075,9 +1085,18 @@ function delClick(id) { border-color: rgba(215, 215, 215, 1); color: #FFFFFF; } +:deep(.el-table th .cell){ + color: #30F3FF ; + font-weight: 400; + font-size: 18px; +} +:deep(.el-table--border .el-table__inner-wrapper){ + border-right: 1px solid #434343; +} +:deep(.el-table .cell){ + font-size: 18px; +} - - \ No newline at end of file