Iāve been working with the off-board thermal calibration process for the past few days and Iāve got almost everything functioning. However, when I run my .ulg file through the processing script (process_sensor_caldata.py) the script only detects baro data and none of the other sensors that should have data. I would expect to see 2 accelerometers and 2 gyros as well as the baro.
I will note that I was only using a class 10 micro SD for logging. Maybe that isnāt good enough to keep up with the logger for this calibration?
Looking at the code, the wiki instructions have been obsoleted by the changes to the logger. Please set SDLOG_PROFILE to 4 and see if that logs the required messages.
@Paul_Riseborough Iāve been working with this calibration a bit more. Iām not sure if Iāve encountered another bug or not. However, I keep getting the following error when I run the script:
āTraceback (most recent call last):
File āprocess_sensor_caldata.pyā, line 712, in
baro_0_params[āTC_B0_IDā] = int(np.median(sensor_baro_0[ādevice_idā]))
NameError: name āsensor_baro_0ā is not definedā
Iām fairly certain I have everything logging correctly and the plots that show up on flight review looks like all of the data is there. Thoughts?
I tried everything out again with several different autopilots and determined that the one I was using in the instance above was in a strange state where the autopilot was unable to change its logging profile state. After resetting the board I was able to perform a calibration successfully.