This fixes:
Traceback (most recent call last):
File "<stdin>", line 31, in <module>
File "lib/mpos/main.py", line 150, in <module>
File "lib/mpos/board/linux.py", line 133, in <module>
File "lib/mpos/sensor_manager.py", line 286, in class_method
File "lib/mpos/sensor_manager.py", line 109, in init_iio
File "lib/mpos/imu/manager.py", line 52, in init_iio
File "lib/mpos/imu/drivers/iio.py", line 21, in __init__
File "lib/mpos/imu/drivers/iio.py", line 129, in ensure_sampling_frequency_max
TypeError: unsupported types for __add__: 'NoneType', 'str'
* iio: switch to maximum sampling frequency, apply mount matrix
* mag: Apply mount matrix for magnetometer, too
* iio: allow separate path for gyro sensor
* gyro: fork from compass, get drawing back to work
* iio: add todo.
* gyro: gyro seems to work way better on pinephone
* iio: move scale conversion where it belongs
* gyro: rely of iio driver providing right scale of values
* iio: Turn down debugging, but I still get framerate drops
* gyro: add reset and calibration support, introduce vectors, display help image
Host everything on the device itself, rather than redirecting
to https://micropython.org/webrepl/ because that doesn't work when
there is not internet, including when the device is in Access Point
mode.
This was a bit slow, because of the many files and being pretty large,
but the inline_minify_webrepl.py makes this much better and brings it
down to around 1s to load the page, versus 20 seconds.
The minification also reduces the size from around 160KB to 80KB.