Tools: Upgrade tempcal_IMU.py
Upgrade to python > 3.6 Added progress bar support Use logging best practices Lint with pylint, mypy, pyright and ruff Added type annotations Added pytests assertion tests
@peterbarker can you take a look at the tests? I don't think we run pytest yet in CI do we?
@amilcarlucas I'd like to see it being used with SITL, using SIM_IMUT parameters to setup a known temperature curve then checking the tool produces the same result both with and without the --online option it should be the plane.IMUTempCal test, check with that log that we get the same resulting calibration parameters, both with and without --offline
@amilcarlucas tridge asked for some specific testing on this PR. Are you planning on doing that testing?
@peterbarker do we have a pytest running CI job now? If not, I can do the tests that tridge wanted and add that.
I will do this at the conference, with some help from tridge.