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,270
Last Active
Roles
Administrator

Comments

  • * Did you get further in the initialization process when increasing the timeout? * Use btmon to log the bt adapter activity * Try connecting with the python or C# netstandard SDKs * They also use Warble to initialize their internal state * Loo…
  • There is no such sample application.
    in select data type Comment by Eric May 24
  • It looks like everything is correctly setup since you are receiving notifications. My guess is the response time between your ble adapter is too slow so you can try increasing the time for response with mbl_mw_metawearboard_set_time_for_response. …
  • Metabase doesn't filter the sensor data.
  • https://mbientlab.com/androiddocs/3/metawearboard.html#tear-down Also, your code doesn't check if creating the data route succeeded or not, it just checks if the issuing the accelerometer commands did, which it always does. NJ
  • @dorlev22 said: Hi, I am doing an university project in which i need to stream eauler angles from 3 metamotionR sensors. I have tried the multimw and it is working great with 3 sensors streaming the positioning. I'm a little confuse…
  • only the nodejs version shipped with the metahub supports command line arguments
  • what specifically do you want to know about the timestamp?
    in time stamp Comment by Eric April 25
  • @guilhermesilveira said: Now, on to the scan_connect.py script from github: * run the script twice, in two different terminal windows * both list both devices * choose FB on one, worked fine, quit * choose E9 on the second one…
    in Buffer overflow Comment by Eric April 18
  • @guilhermesilveira said: Any suggestions on how to tackle the buffer overflow error? Is there any flag I can pass to the C library compilation or runtime that enables more debug information so we can better detect where the buffer overflow occurs…
    in Buffer overflow Comment by Eric April 18
  • See the logging example script: https://github.com/mbientlab/MetaWear-SDK-Python/blob/0.7.0/examples/log_temp.py#L51
  • Swift closures don't work as usual when calling into C code. They are treated as C style functions meaning they have the same limitations with regards to scope. To work around this, all callback function signature have a context parameter that the…
  • @Aubrey_1 said: line 26. where im capturing the data into the "euler_callback" variable and print the type of variable on line 33 the result comes out as a . while at first i thought its a dictionary. I would like to extract the data i ge…
  • You have a reset method, copied below, but you never call it. def reset(self): try: libmetawear.mbl_mw_logging_stop(self.d.board) libmetawear.mbl_mw_logging_clear_entries(self.d.board) libmetawear.mbl_mw_macro_erase_al…
  • @rain8dome9 said: They are not correct. I only have one MMR to log with and as my manual stamps show the date on one is completely off. specifically your timestamp should be about 6 hours ahead of mine 20.3.7.1_MetaWear_2020-03-06T18.51.15.607 A…
  • @zhatiayua said: *Edit: Looks like it cannot be updated by metabase app, if I try, the metabase app crashes. Is "downloadFirmwareUpdateFilesAsync" the only way to update firmware? (My device is Pixel 2, Android 10.) I pushed out a MetaBas…
  • As stated in the documentation: They are used to retrieved logged data from a board that was not programmed by the current Android device. There's nothing else to discuss.
  • @CLB said: I have now been able to stream both linear acceleration data and quaternion data using the dataprocessor_fuser_create function. However, the quaternion data is VERY unstable, even when the sensor is static (in a fixed position). I have…
  • Our python example scripts demonstrate how to use on_disconnect. https://github.com/mbientlab/MetaWear-SDK-Python/blob/master/examples/macro_remove.py https://github.com/mbientlab/MetaWear-SDK-Python/blob/master/examples/log_acc.py#L57-L60
  • @danielj said: I'm trying to make sense of why the success rate for the first connection is so much higher on metabase. MetaBase does a BLE scan for the device selection UI. You can try using the BLE scan API to obtain the BluetoothDevic…
  • Your issue appears to the be same as in this thread, https://mbientlab.com/community/discussion/3324/a-problem-about-serialization-and-deserialization-of-board/p1
  • Where is the attached code?
  • There's a corner case where the intended fix does not work with deserialization: https://github.com/mbientlab/MetaWear-SDK-Cpp/blob/0.18.4/test/test_metawearboard.py#L777 For now, you can manually scale the value passed into mbl_mw_dataprocessor…
  • @u0078867 said: Hi, I understand by myself that this has to be edited for the platform: https://github.com/mbientlab/MetaWear-SDK-Cpp/blob/c07a693f49df3a96064f70077cc90b61d24790ba/src/metawear/platform/btle_connection.h But are ther…
  • @abferm said: Unfortunately, mbl_mw_datasignal_read seems to perform a one-time read of the data signal. Is there any way to start periodic sampling of the battery, or a generic operation that periodically samples any signal? If there is, I can't…
  • there is no support for that in the underlying bluetooth le APIs.
    in Monitor RSSI? Comment by Eric January 17
  • @CLB said: Exxcelius, Did you ever figure this out? I would like to do the same thing. Didn't understand the comment regarding BLE bandwidth as this is logged data, not streamed data. Any feedback would be much appreciated. What…
  • * Does performance improve if you reduce to 3 devices? * Try using the packed variants of the acc, gyro, and mag signals * Use an external USB BT adapter instead of the pi's integrated one
  • * Does resetting the bt radio help? * Do you see the same behavior when using command line to do a ble scan?
  • This is a bug in the SDK that we'll fix. converter should be default for on_detect: https://github.com/mbientlab/MetaWear-SDK-Cpp/blob/master/src/metawear/processor/cpp/dataprocessor.cpp#L255 but when modifying the processor, it should use it…