Magnetometer sampling rate

With the MetaMotion board, I'm finding that the magnetometer data is only coming at 20 Hz, even in "high accuracy" preset mode.
Is there any way to get a high sampling rate?

Comments

  • Which SDK are you using?
  • See the sampleFrequency variable in the MBLMagnetometerBMM150 interface.
  • Hi - thanks.  Will this make it into the released Cocoapods version any time soon?
  • The preset modes have been tuned by the manufacture and should be good for most use cases, if you know the BMM150 well and want to fine tune the magnetometer, I would directly modify the code in MBLMagnetometerBMM150.m.  You may need to adjust the Rep X/Y and Rep Z values in addition to the sampling rate.


    As of now there are no plans for it to move into the general public release, but you can access all the private files directly via the GitHub:

    pod 'MetaWearPrivate', :git => 'https://github.com/mbientlab/MetaWear-SDK-iOS-macOS-tvOS.git', :commit => ’329b091’


    Just know the private API's may change without deprecation warning.

This discussion has been closed.