Eric
Do not send private messages with technical questions; they will be discarded. All technical questions must be posted publicly on the forum.
About
- Username
- Eric
- Joined
- Visits
- 9,275
- Last Active
- Roles
- Administrator
Comments
-
What exactly did you change?
-
Asynchronous tasks need to be chained. See:https://github.com/BoltsFramework/Bolts-Android#chaining-tasks-together Also, see this unit test for relevant macro example. https://github.com/mbientlab/MetaWear-SDK-Android/blob/v3/library/src/test…
-
Correct, sensor fusion is not available on CPRO firmware. You will need to incorporate a third party library to do sensor fusion.
-
What do you mean by "more expensive hardware"? Over a large data set, the 4 and 6ms offsets will average each other out to 5ms so you look at the collected data as a whole to gauge sampling frequency rather than individual offsets especially if th…
-
Which sensors are you using and are you stopping them before closing the application?
-
Are you using a metamotion board?
-
No, I can run logging just fine on my PC. As previously mentioned, try decreasing the max connection interval or increasing the time for response. You should give MetaBase a try and see if it also crashes when trying to log data: https://www.mic…
-
Filters can be saved as described in this tutorial:https://mbientlab.com/docs/apis/objective-c/persistent-events-and-filters/ You can't store arbitrary data in the flash memory but we'll work on getting the offset registers supported in the API…
-
That is expected. The data has to be timestamped by the firmware and the sensor itself has a 1% error for the data rate.
-
I am able to run your app and create a csv file. Try decreasing the max connection interval to 7.5ms or increase the time for response to 1000ms.
-
Are you using a MetaMotion board with firmware v1.3.3?
-
You have to first allocate a block of unmanaged memory to hold the struct before calling StructureToPtr. Since this is unmanaged memory, you are responsible for releasing the memory. See the example code on the MSDN page:https://msdn.microsoft.com…
-
* The sensor fusion module configures the required sensors internally. You can configure motion detection after you have written the sensor fusion configuration, but you should not modify the range and odr. * No, you need two routes. * Yes
-
* What was the error message from the crash? * What parts of the tutorial are unclear to you? This tutorial explains how to stream acceleration data to your Android device. You should have a working app based on this tutorial and update it to…
-
App says i need to copy a 'loops.json' file to the 'LocalState' folder.
-
* That is by design. You can add a frequency selector to the app if you want. * Did any data appear in the real time graph? If not, then you didn't start the sensors so there isn't any data to save. * Have you gone through the tutorials (https://m…
-
No, registers revert to their default value after a reset. See this section in the iOS documentation for writing commands to flash memory: https://mbientlab.com/iosdocs/2.8.4/advanced_features.html#persistent-configuration
-
The iOS API currently does not support setting the offset registers but we can add that in the next release. Alternatively, you could try using the SPI module to directly write to the registers. You can use the macro module to write the calibrati…
-
* What platform are you running the MetaBase app on? * How are you rotating the board? * Do you see the same issue when viewing the CSV files stored on your local device? * If you compare the locally stored CSV data with its synced version in th…
-
No, all sensor data is recorded as is in the MetaBase app.
-
Ok, so what does the data you have been receiving look like?
-
Yeah its possible but there is little value gained writing it in firmware. You can probably implement the algorithm the MMA8452Q uses at the app side.
-
v3.0.32 is released, see first post for change summary
-
Hrm, the code looks fine except for 2 things: * Do not configure the gyro when using sensor fusion. * Async tasks need to be chained. Have you tested that the routes individually are working as expected?
-
The MetaWear app is not that complex. It would take more time to build a UML diagram than to just look at the code yourself. What specifically about the code is unclear to you?
-
Is the onDestroy method getting called?
-
http://community.mbientlab.com/discussion/comment/4310/#Comment_4310
-
http://community.mbientlab.com/discussion/comment/1856/#Comment_1856
-
Yes. Also, in addition to my previous questions, which platform are you using MetaHub on?
-
Put it on GitHub