hi TM.
TM wrote on Jan 27th, 2008, 10:03pm:I can't manage to know the position of the wiimote. The 'senced' property only gives a value from -1 to 1. You can't tell if you are on the top or bottom, as they have the same value.
top to right --> 0.0 to -1.0
bottom to right --> 0.0 to -1.0
is your interest some mapping from the remote's state to the 2D location
i'm trying to estimate the 3D position of the remote without IRs. but i have not gotten any good result.
('sensed' is also avairable, now, ... TM)
TM wrote on Jan 27th, 2008, 10:03pm:Also in your documentation you talk about vel and pos but when I try to use them (wii.rimokon.vel.x) processing tell me that:
Semantic Error: No accessible field named "vel" was found in type "lll.wrj4P5.WiiRimokon".
so i can't impliment the vel of a rimokon, yet. (still private)
TM wrote on Jan 27th, 2008, 10:03pm:Is there a way to know the wiimote position, like roll or pitch In simpler word how do you know how the wiimote is positioned.
if you want the 2D mapping, i can set up the mappings implimented in WiiremoteJ into Wrj4P5. (roll/pitch to 2D, IR_Spot to 2D, joystick to 2D, etc.)
but i think you can impliment the similar functinality on P5.
on the other hand, for 3D mapping, please wait for a while.
(but i can't promise the completion)