Speed-up the time connexion for logging

Hello everyone,

For a projet we use the accelerometer and the gyroscope while someone is training and we want to know when the person is running to collect only this data. We think that we have found a solution to our problem but two others came up.
As the training can be in a long range we must send the data in logging mode and not in stream but in most of the examples we've read about data processing, the data is sent in streaming mode ( e.g https://github.com/mbientlab/MetaWear-SDK-Python/blob/master/examples/data_processor.py). Is it possible to adapt these functions to work in logging mode (by creating a new signal and send it at the end) ?
In addition, to speed up the connexion we have thought to use libmetawear.mbl_mw_dataprocessor_packer_create or libmetawear.mbl_mw_dataprocessor_fuser_create but we have seen this functions used only with streaming mode. While we tried to used it in logging mode different errors occured (like : interrupted by signal 11 : SIGSEGV), is it normal ?

Thank you very much for your time !

Comments

  • Yes, just check an example for logging and update the code accordingly.

  • If you have an error, it is because of bad code.

Sign In or Register to comment.