mcrooks83 / rapid_sensor_app

Rapid Sensor Desktop Analysis Suite
0 stars 0 forks source link

V2 Test Issues #4

Open jtuhtan opened 7 months ago

jtuhtan commented 7 months ago

V2 Issue 1) V2 data are placed into folders named Scenario_01/Run_01 where both .HIG and their matching .IMP files are located. The user then selects the Scenario_01 folder and then "Import Scenario". The green status bar alternates back and forth, but the data are not loaded or shown in the Console.

Error message:

loading scenario sensor version: 2 Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\Admin\AppData\Local\Programs\Spyder\pkgs\tkinter__init.py", line 1892, in call return self.func(*args) File "C:\Users\Admin\OneDrive - TalTech\Projects\2023_EE_Sensor_Software\Software\2024.02.14_Beta\rapid_sensor_app-main\UI_Components\LoadScenario.py", line 171, in load_scenario process.start() File "multiprocessing\process.py", line 121, in start File "multiprocessing\context.py", line 224, in _Popen File "multiprocessing\context.py", line 327, in _Popen File "multiprocessing\popen_spawn_win32.py", line 93, in init__ File "multiprocessing\reduction.py", line 60, in dump _pickle.PicklingError: Can't pickle <function load_scenario_from_directory at 0x000002338E423820>: it's not the same object as API.rapid_api.load_scenario_from_directory

Traceback (most recent call last): File "", line 1, in File "multiprocessing\spawn.py", line 116, in spawn_main File "multiprocessing\spawn.py", line 126, in _main EOFError: Ran out of input

jtuhtan commented 7 months ago

V2 Issue 2) After the user loads the HIG and IMP files, the accelerometer scaling of the HIG data is incorrect. The HIG values should have a mean value of nearly 10 m/s-2, which is approximately gravity, and overlay with the red IMU acceleration data. After converting the binary HIG accelerometer values to floats, they can be divided by a gain factor of 10 to convert to units of "g".

Tried to change "self.parameters['hig_gain'] = 10" in Params.py but it did not change the result?

mcrooks83 commented 7 months ago

put division back in but still isnt correct, currently not sure why

mcrooks83 commented 7 months ago

EOFError isnt yet reproducible on mac and could be a windows issue

MauroCarolli commented 6 months ago

V2 issue: HIG and IMP data in Scenario\Run. The runs are loaded but there are no runs to choose from in the drop-down menu. No EOFError, Windows OS, code launched from Anaconda using Spyder.

C:\xxx\Turbine_400m3s_16m loading scenario Turbine_400m3s_16m ['Series_08', 'Series_11'] run 1 of 2 runs loading run Series_08 sensor version: 2 run 2 of 2 runs loading run Series_11 sensor version: 2 Loading scenario

<_io.TextIOWrapper name='C:\\xxx\scenario_outputs/Turbine_400m3s_16m.json' mode='r' encoding='cp1252'>
mcrooks83 commented 6 months ago

Hi

firstly do you have latest version?

if you send me the files i can test also.

you can also email me at mike.crooks@rightstep-consulting.com and we can troubleshoot on a call?