The code stop when set accelerometer sampling to 100
Hi,
I used the "streaming" example from python documentation in this link ( https://github.com/mbientlab/MetaWear-SDK-Python/blob/master/docs/source/datasignal.rst#streaming ) but when I set mbl_mw_acc_set_odr to 100.0 the software stop with error: ( Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) ) it stops while printing the data
but when set the mbl_mw_acc_set_odr to 25 or less it will work without problem.
I use Raspberry pi 3 and Metamotion R firmware versions 1.5.0 and 1.5.1.
can you please help me to solve this problem?
Comments
Looks correct. you might need to post your entire code, I don't think the 100.0 is the issue.
there's no more code I used the example in the documentation only
works but suddenly stop with error: ( Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) ) when the sampling is 100 and when reducing the sampling for 25 as an example it will work for a longer time than 100 sampling.
Can you share the code you are running? Can you share the data you are receiving that shows 25Hz?
this is the code"
The output when set the odr to 25 and 100 in the attached file
If you set this to libmetawear.mbl_mw_acc_set_odr(s.device.board, 100.0)
It should work just fine.
Do you have data to show it does not work?
It looks like you didn't check the output in the attached file. there are two outputs first one is when I set the odr to 25 and the second one is when the odr is set to 100.
please check the attached file in my previous reply.
the situation is even worst when set the odr to 100
The file doesn't include timestamps so I can't comment.