flashing lights, and numbers!
I've managed to start reading data from the board. Good progress.
Things that annoy me / limitations:
* WiiRemoteJ is closed source (to those in the meeting, sorry I was thinking about something else being open source. my bad)
* The board sends too much data.
Well alright its not huge problem when someone's standing on the board, because its useful and changes in data are important.
However!
Currently, the board listener is firing off button presses and mass readings when its just sitting there. If its an implementation detail on the PC side its no problem, however if the board is actually sending all that, I can only imagine the batteries giving up sometime soon.
* Connection is annoying! Each time I want to re-run the program, I must press the red discovery button located "conveniently" under the board, next to where the batteries are placed.
Also, if the program is terminated without disconnecting the board and shutting down the bluetooth stack properly, it won't connect the next time...
* Its accurate. (A great thing! but I need to do more exercise oO)
Here's a snippet of some of the readings I got from it by pressing my hand down on the board:
Board found! 001FC5AFCFD2
--Status--
Battery:0.885
LED: true
~~Mass~~
total weight: 2.0945097456241313
Top Left: 0.2508513053348468
Top Right: 0.30131503716409375
Bottom Left: 0.8152753108348135
Bottom Right: 0.727068092290377
~~Mass~~
total weight: 2.323162019423905
Top Left: 0.27014755959137343
Top Right: 0.2624356775300172
Bottom Left: 0.8052101835405565
Bottom Right: 0.9853685987619584
~~Mass~~
total weight: 3.4545152931615912
Top Left: 0.22190692395005673
Top Right: 0.38879359634076616
Bottom Left: 1.0165778567199526
Bottom Right: 1.827236916150816
What are the readings measured in (I mean they look like pretty low numbers)? I guess maybe its just background noise (oh it's the wind =D).
ReplyDeletekilograms.
ReplyDeleteIt was just resting my hand on the board a bit to get some readings popup (I put a bit of code to ignore super low readings - i.e. the noise)