aleph00
About
- Username
- aleph00
- Joined
- Visits
- 72
- Last Active
- Roles
- Member
Comments
-
@Laura According to the file, acceleration data is collected every 80ms. Even though I set it to 2Hz, I think the MMS accelerometer is set to 12.5Hz.
-
@Laura Also, the "accelerometerBMI160StopLog" function is called after app restart. The progress is: connect to the board -> press "StartLog" button. Device starts logging -> App close, save logger pointer to UserDefaults -> reconnect to …
-
@Laura When I tested the code through streaming, the data was collected too frequently. mbl_mw_acc_set_odr(device.board, 2.0) doesn't seem to work. Below is my test code. func accelerometerStartLog(device: MetaWear) { mbl_mw_acc_set_o…
-
@Laura Thank you for replying. What do you mean by "restart the download by restarting it from accelLogger"? "accelLogger" is successfully retrieved from UserDefaults after the app restart.
-
Thank you for replying. @Laura said: Do you get any print statements at all? Can you share the output? The print functions inside the closure did not work. The only output is: self.log: Also, the streaming task works well. The c…
-
@aleph00 said: @Laura Thank you! However, the problem is that the functions inside the closure did not work. I putted in three print functions for debugging but nothing printed out. Also the line print("self.log: (self.log)") only prin…
-
Maybe I should specify my question. In the MetaWear document [https://mbientlab.com/iosdocs/latest/logger.html], there is the following code. let signal = mbl_mw_gyro_bmi160_get_rotation_data_signal(device.board)! mbl_mw_datasignal_log(signal, br…
-
@Laura Thank you! However, the problem is that the functions inside the closure did not work. I putted in three print functions for debugging but nothing printed out. Also the line print("self.log: (self.log)") only prints out "self.log: ". …
-
Thank you! It was very helpful.