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
-
Can you try updating the firmware and trying the sensors again?
-
This was added in the previous firmware and android api release.
-
Hrm, yes this definitely sounds like a defective battery / board. Reply in your email with your order # and that the final verdict is the faulty battery/board so we can get it replaced.
-
Unfortunately, the accelerometer we use (BMI160) does not report angles, only portrait/landscape + front/back.
-
The XYZ values start in position 2 and are packed: XX YY ZZ. So in your response, the corresponding values would be: X= 0xfb07 Y= 0x06fa Z= 0x43f3 These values are interpreted as an int16_t and need to be divided by a scale to obtain the g …
-
Can you connect to your board with the latest Android app on your device? The app uses API v2.3.0.
-
At this time, no, our primary focus is on the mobile platforms, of which Android and iOS dominate. We just don't have the bandwidth to support additional platforms. Some community members do help us out with some of these other development platfor…
-
It does look like you are filling up the flash memory given how much data you are logging and how frequently you are logging. The nRF chip cannot clear the on board memory until the BTLE link is dropped so you need to disconnect every time you comp…
-
You can use the hotfix by downloading the source code of the library at that commit hash and importing the code directly into your main project. The next APi release will happen sometime next week.
-
I pushed a commit to the GitHub that addresses the undersampling issue, commit fdcd84d5. You should give the update a whirl to see if you can sample at lower frequencies. To use lower frequencies, you must explicitly enable undersampling when conf…
-
The C++ library compiles as shared library, which can be called into from higher level languages. Unit testing of the C++ library is done in Python.
-
For the new math features, something like this: accelModule.routeData().fromAxes().stream("accelSub") .process(new Maths(Maths.Operation.RIGHT_SHIFT, 8)).stream("shift_sub") .commit().onComplete(new CompletionHandler() { @Override…
-
There is a bug in the API with regards to undersampling. It accidentally combines low power mode with undersampling which results ina fixed sampling rate of 0.78125Hz. This will be fixed in the next API update along with an updated way to enable …
-
Hey Gadget, I haven't added tap detection yet to the library. Tap detection on the BMI160 accelerometer has been finicky and I haven't been able to get consistent results.
-
The iOS sample app has a live graph for accelerometer and gyro data. The app's source code is available on GitHub so you can take a look at it to see how the app does graphing. https://github.com/mbientlab/metawear-sampleiosapp
-
You will have to give more information about your crash before we can help you. For starters, you should provide: * A stacktrace of the crash. * The code being executed and any relevant code to provide more context. * The steps taken to cause the c…
-
Support for free fall detection is in the pipeline however, the team is still scattered around for winter break so I do not have an ETA on hand for you. In the meantime, you can hack together a rudimentary free fall detector using the on-board data…
-
I've let our iOS dev know about providing some swift pointers. The team is still scattered around on winter vacation so responses will be slow in the meantime.
-
The Swift starter app is on our GitHub page: https://github.com/mbientlab/Metawear-SwiftStarter
-
@propanSorry about that. The readData variant that returns an AsyncOperation should have been marked as deprecated. Use the version that uses the data route system. @matthewpjw Another user is reporting a similar (same?) error as you here: …
-
* Your code looks fine as is * No, one route to one sensor * Simultaneously streaming and logging data is not a recommended use case. If you have a stable BTLE connection, you do not need logging. On the flip side, if you are only intermittently c…
-
The difference is most likely caused by the different choices of ranges. I see in your project that you have chosen a range of 2000 degrees/sec whereas the app by default uses 125 degrees/sec.
-
The accelerometer and gyro send data at a fixed rate. If you set the ODR to 25Hz, then the sensor will produce data approximately every 40ms. Knowing this, you can store the data you received in order, and use the sensor's ODR and the data's list …
-
You need to be connected to the board before you can retrieve references to the modules otherwise getModule will return null. https://mbientlab.com/androiddocs/#m-modules
-
i.e. MetaWear R uses a different accelerometer than RG, RPro, and C and the two accelerometers have different power features.
-
That's good hear! At this time, we don't have any plans to expand the I2C functionality.
-
The accelerometer on C is the same as RG and RPro. It does not have a "wake on event" mode.
-
@minmax The cause of the exceptions is most likely due to reusing processor and logger keys. Each process and logger key must be unique.
-
A log entry is not that big. There is no way to compact 600 data samples into a few bytes unless you use the data processor.
-
I think there is some confusion with the previous posts. The accelerometer on the MetaWear R has a mode where it will enter a sleep state and wake up when there is an interrupt. This mode does not exist on the RG and RPro accelerometers. The use…