dcb6

About

Username
dcb6
Joined
Visits
109
Last Active
Roles
Member

Comments

  • I just realized I made a mistake in the code that I posted. Below is the correct code: var settings = metawears[i].GetModule(); settings.EditBleConnParams(maxConnInterval: 7.5f);
  • Hey Eric, Thanks so much for that link. I had seen that portion of the documentation, but didn't realize that it was needed for my application given I was having issues streaming just one sensor at 100 Hz. I'm now able to stream data from both se…
  • Hey Eric, Thanks for the advice about the MetaBase app. I uploaded firmware 1.3.4 onto Sensor 2 and it didn't actually seem to change anything. I am now getting a streaming frequency of 80-85 Hz with both sensors no matter what using my applicati…
  • Hey Eric, The situation has changed a little bit, and now neither of my sensors are working well with my application. Lets call the sensor that I was previously having issues with Sensor 1. The other sensor I had been using successfully at 100 Hz w…
  • Hi Eric, No, I am streaming from them one at a time. Dan
  • I was able to download the code and build the library. I've tried to look up how to add the reference to my the complied assembly in my project, but I haven't had any luck. Could you help with me this and/or point me to a relevant resource?
  • Any updates on this? I'm having the same issues as you described, and haven't had any success with the fixes I've found online.
  • Hi Eric, I'm having the same issue as Uldrendan, getting the 'GATT service does not exist' message. This happened when I updated my computer to the Fall Creators Update. I know that this may be a silly question, but how do I use the C# SDK that yo…
  • Hey Eric, I was incorrect in what I said. Any Sensor Fusion mode/setting has the same problem, including streaming euler angles or linear acceleration. Reducing the accelerometer range does not help the problem. Dan
  • One more piece of information to add -- as soon as the quaternions stop working, streaming all other types of data stops working as well. 
  • I should mention that I'm using a Metawear R sensor. I have reset the sensor using the Metawear iOS app and it has not helped.
  • Eric, I can log raw accelerometer, magnetometer, and gyroscope data just fine, starting and stopping as a I please. The issue only occurs with quaternions, and it happens with all of the sensor fusion outputs (Compass, NDOF, IMU_PLUS, M4G). Dan
  • Eric, Thank you, this works. Dan
  • Hi Eric, Sorry about the late reply. Adjusting the gyro range with the following line worked for me: mbl_mw_sensor_fusion_set_gyro_range(cppBoard, SensorFusion.GyroRange.GR_2000DPS); Thank you for that advice. Regarding the errors, this …
  • Eric, I tried changing the settings to those that you suggested and it seemed to keep the app from failing. Thanks! I tried to use MetaHub, and the text below the sensor never turns green as it does in my Sensor Fusion app. When I try select…
  • Also, sometimes when I run my program, I get an error on the line  mbl_mw_connection_notify_char_changed(cppBoard, response, (byte)response.Length); "System.AccessViolationException: 'Attempted to read or write protected memory. This is ofte…
  • Hi Eric, I actually already have this. The line for my connection parameters is the following: mbl_mw_settings_set_connection_parameters(cppBoard, 2F, 7.5F, 0, 5000); Do you have anything else I could try? Thanks! Dan
  • Hi Eric, I appreciate your always quick responses. Today the template is working just fine for me in VS 2017. I'm not sure what was going on yesterday, but it's all good now. Best, Dan
  • Hi again, Just to add a little more information, I added print statement as seen below to see if this code was being run: private Fn_IntPtr accDataHandler = new Fn_IntPtr(pointer => {             System.Diagnostics.Debug.WriteLine("I wonde…
  • Thanks a lot, I really appreciate your quick responses and help. I'll check out those resources. Dan
  • I see. Do you provide any libraries for performing sensor fusion on the computer itself? 
  • Oh, in some emails with mbientlabs about the various sensor I was told that the sensor fusion app should work with the C and the CPRO. Here's a direct quote from the email: The Sensor fusion App works with the C and the CPRO. Is this not the c…
  • Interesting. I'm using a CPRO. Dan
  • Hi Eric, I tried to implement Sensor Fusion, but am getting the following error: System.Runtime.InteropServices.SEHException occurred   HResult=0x80004005   Message=External component has thrown an exception.   Source=   StackTrace:    at M…
  • Hi liuk, Thanks so much for posting this. I've been trying to create a UWP app that streams quaternions, and now I have this to work with. Cheers! Dan
  • Hi again Eric, I really appreciate your help. I'm now closer than ever to getting this project done. The only thing I'm not sure about is what I put in for MBL_MW_SENSOR_FUSION_DATA_QUATERION in the following line: mbl_mw_sensor_fusion_enable_dat…
  • Hi Eric, Thanks for the response. I have done this tutorial before. Could you give me some idea of how closely this would parallel the process of getting data with sensor fusion?  Dan