Aubrey_1

About

Username
Aubrey_1
Joined
Visits
83
Last Active
Roles
Member

Comments

  • Hi @Laura, from my assumption i would say that I'm loosing connection to the Bluetooth module. based on my findings related to the specific error. I will log the Bluetooth activity and check whats happening and look for a better reconnecting solutio…
  • Hi Laura about the Quaternion example, is there another name for it? as in the repo the only example i could find are displayed on the attached screen shot from the repo.
  • Hi @Laura & @Eric I'm getting the following two errors when i run the peice of code in the attached file (text.txt) Error 1: error 1586435361.351481: Error on line: 296 (src/blestatemachine.cc): Operation now in progress *** buffer over…
  • @Eric & @Laura I would like to say thank you for your assistance with regard to the above issue i had. with you assistance i manged to figure out how save the variables as my application requires. Thank you for taking the time to help me.
  • @Eric said: @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…
  • @Laura said: I think you should read the function: "parse_value" and see how it extracts the data from the callback (from the sensor bluetooth stream). data is a pointer to the sensor data and it needs to be parsed correctly. Please see so…
  • The best method ive tried was to log the angles on a csv file but that reduced the the number of sambles i could get to 300ms which slowed down my system drastically, I've alos tried to use string IOs to print the data into a var, which worked but c…
  • @Laura said: Please get more comfortable using Python. Clearly this is simply a case of python dev limitations and not a bug with our SDK. Also read our tutorial sections on the data formats. Im not saying its a but at all i've been tr…
  • @Laura said: You could link to a file... see below code: When i run the code a get a stream of the euler angles. See below for results. line 26. where im capturing the data into the "euler_callback" variable and print the type…
  • The moment i paste it on the forum it "reformat" cant attache a file either
  • @Laura said: format your code. we cannot read this. Does that help?
  • usage: python scan_connect.py from future import print_function from mbientlab.metawear import MetaWear from mbientlab.metawear.cbindings import * from mbientlab.warble import * from mbientlab.metawear import * from datetime import * impor…
  • Hi Laura thanks you for your reply, i was not saying something is wrong with the sensors, how ever i was wondering if someone has managed to do a similar application. I've searched for a number of ways to figure it out and haven't ran into a solu…
  • Hi All I've used the above script to get the Euler angles from the sensor with ease. I would further like to know how i can save the angles on a text file in python. I've tried several ways to determine how i can extract the data and save it b…
  • @Aubrey_1 said: Hi All I've got a python script that displays Euler angles from the MMC sensor on the cmd terminal. I've beet tying to access the individual, heading, roll, yaw and pitch values and log/save them to new Variables that i can…