lshachar / WiiBalanceWalker

WiiBalanceWalker reworked, updated to windows 10, with support for current vJoy driver and more
HomePage
54 stars 8 forks source link

Getting data from Wii balance board using this repo #16

Open colleenpamchen opened 8 months ago

colleenpamchen commented 8 months ago

Hi Ishachar,

I am using this repository for scientific research. Is it possible to get the wii board data into a .txt or .csv or .xdf file format? I don't see anywhere in the code where the sensor data is handled. Can you please advise. Thank you

lshachar commented 7 months ago

formMain.cs

            var rwTopLeft     = wiiDevice.WiimoteState.BalanceBoardState.SensorValuesKg.TopLeft;
            var rwTopRight    = wiiDevice.WiimoteState.BalanceBoardState.SensorValuesKg.TopRight;
            var rwBottomLeft  = wiiDevice.WiimoteState.BalanceBoardState.SensorValuesKg.BottomLeft;
            var rwBottomRight = wiiDevice.WiimoteState.BalanceBoardState.SensorValuesKg.BottomRight;
            var aButton       = wiiDevice.WiimoteState.ButtonState.A;

https://github.com/lshachar/WiiBalanceWalker/pull/6