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
-
Timestamp unpacking is discussed here: https://mbientlab.com/community/discussion/1934/metabase-streaming-timestamps#latest Align the data from the two sensors such that the initial epoch values have the smallest distance between them, then disc…
-
A good first step to getting help is to post the errors you are receiving and what you have tried so far to resolve them. Try importing the tutorial project (https://github.com/mbientlab/MetaWear-Tutorial-Android).
-
Quoting myself from your other thread (https://mbientlab.com/community/discussion/comment/6125/#Comment_6125) @Eric said: If you aren't at least seeing the sensor data in Logcat, then you probably are not running the code correctly. Use th…
-
Try testing your code on another Android device and test the MetaBase further to see if you do experience this download issue with the MetaBase app.
-
The disconnect issue was patched in a C++ SDK update; the JavaScript SDK must still be referencing an earlier release. You can work around this for now by initializing a new MblMwMetaWearBoard object
-
Pairing is not needed to use the boards and it is not a recommended use case. We had experimented with bonding before (hence needing pairing) but we don't officially support either.
-
How much power are these components drawing? Given that everything works fine when you don't have them connected, try your third and second suggestions.
-
Use discoverAll and stopDiscoverAll https://github.com/noble/noble-device#discovery-api
-
* What kind of analog sensor did you connect? Please provide a link to the spec sheet. * How are you reading data from this sensor?
-
Please post the contents of stdout & stderr leading up to the segfault.
-
Press the "log" button on the MetaBase app.
-
Yeah, running the algorithm all day will drain the the battery way faster than sporadically running it. Given that, you can probably make your original code work by letting the sensor fusion generate several samples and only recording the last samp…
-
Why are you calling attemptReconnect in the onServiceDisconnected callback function? Follow how the sample app handles reconnects.
-
https://mbientlab.com/community/discussion/1934/metahub-timestamps#latest
-
Try adding in a 1000ms delay between setting the ble conn params and creating the anonymous routes.
-
No, there is not.
-
Will have one in the future.
-
How long are you running the sensor fusion algorithm for each data session? How many sessions are you doing per day?
-
Why are you doing a scan before reconnecting? You already have the MetaWear and BluetoothDevice objects.
-
You are not logging the passthrough output and your chain has an unneeded delay component. The Euler angles route should direct its data to a passthrough limiter (first link). The switch state route will modify the passthrough limiter when the b…
-
Hrm...This download hanging issue sounds like the Bluetooth stack has locked up. Where in your code do you change the connection interval and when does this happen in relation to starting the log download?
-
Don't repeatedly start/stop the sensor fusion algorithm. Start it once and only stop it once you are done collecting data.
-
* Do you have the same issue when using the MetaBase app? * What Android device & OS are you using? * Post your log setup and download code.
-
Try modifying the ble connection parameters as outlined in the documentation: https://mbientlab.com/csdocs/0/advanced_features.html#high-frequency-streaming * What Win10 machine are you using? * Do you see the same issues if you are using an …
-
No, there have not been any updates to that project. MetaWearApiTest is an example of how to use the Swift SDK not an end user app.
-
Does the RealTimeGraph project work as is?
-
No, you cannot.
-
Read the 2nd paragraph of this section: https://mbientlab.com/androiddocs/latest/advanced_features.html#high-frequency-streaming
-
Route components that modify data are not supported. Accounter will work with linear acc but not packer.
-
MetaBase for Win10 desktop will have a real time graph and the variant included with the MetaHub also has one as well.