highmatergogo It's a shame you have constant drift on your sensors and it's really strange as I believe you had a beta kit?
That's a really strange thing. He's one of our first betatesters, and the KCeptors he received are from the exact same batch than the ones we used for several months as the R2.2 prototype. They were all tested before shipping, so the only possible hardware issue is damage while transportation, be it seems like an unlikely thing to happen: According to the LSM9DS1 datasheet the sensor has to be exposed to 3000+ g, or 125+ ºC to cause permanent damage.
@AxonSpark did you tried calibrating outside of the enclosure?
The other problems you are experimenting might be caused by the add-on. In order to debug the possible network congestion I made a little python program which outputs the receiving rate coming from the notochord:
while doing it I discovered a silly bug: in order to receive messages from the notochord at 50Hz you should set the -s
flag to 51
, otherwise you should receive them at 25Hz. But this problem is not the reason of the lag you are experiencing, the capture should look smooth even if it's received at 25Hz.
Could you guys try running it?
paste the python code in some file, for example test_notochord_send_rate.py
it depends on osc4py3
so you should install it with pip
first
run:
pip install --user osc4py3
python ./test_notochord_send_rate.py
note: This is a python3 program,
depending on your installation you might need to use 'pip3' to install python3 packages
and run it with 'python3'
(edit: the script should now work in windows, and catch ZeroDivisionError)