Gait-Tracking-With-x-IMU icon indicating copy to clipboard operation
Gait-Tracking-With-x-IMU copied to clipboard

Error Inputting Data

Open austin51 opened this issue 4 years ago • 3 comments

I am attempting to input my own data, with columns:

Time (sec) | ARS1 (deg/s) | ARS2 (deg/s) | ARS3 (deg/s) | Acc1 (g) | Acc2 (g) | Acc3 (g)

Is there a way to do this properly? I am getting error:

Error using xIMUdataClass (line 49) No data was imported.

Error in Script (line 32) xIMUdata = xIMUdataClass(filePath, 'InertialMagneticSampleRate', 1/samplePeriod);

Thank you!

austin51 avatar Jul 15 '21 19:07 austin51

The CSV file format needs to be the same as the example data. The column headings are ignored by the code, they only exist for a human reader.

xioTechnologies avatar Jul 19 '21 10:07 xioTechnologies

Hi , I also want to input my own data, i did followed the same format albeit i don't have magnetometer data, so i filled them with 0. I am getting: Error using xIMUdataClass (line 49) No data was imported. Error in Script (line 26) xIMUdata = xIMUdataClass(filePath, 'InertialMagneticSampleRate', 1/samplePeriod);

Do i need to create also the .BIN file? Or is the .csv enough? Thank you for your time!

exilat avatar May 16 '22 21:05 exilat

The .bin file is not used. I suggest you use the Python version of this demo because it is easier to understand what is going on from the code. It also uses the latest version of Fusion which is more accurate.

xioTechnologies avatar May 23 '22 11:05 xioTechnologies