Re: [PD] wiimote motionplus with low_speed gives always 1 1 1

2015-04-01 Thread Jonghyun Kim
[wiimote] works on ubuntu 14.04, but on 14.10 it doesn't work.

it works only with buttons. neither acceleration nor motionplus.


On Wed, Apr 1, 2015 at 3:02 AM, Jonghyun Kim agitato...@gmail.com wrote:

 AFAIR (but keep in mind that it has been a *long* time), the low_speed
 message gives you a boolean value (1 or 0), whether the angle_rate
 values should be interpreted as high-speed or low-speed. since i
 haven't found any documentation what high-speed vs low-speed
 actually means in hard numbers, this has been exposed to the patch.


 I see why you said high-speed vs low-speed.

 If the speed is high(0), then divide by 4. If it is low(1), then divide by
 20. (what you did in pd-patch)

 I'm searching documentation of the high/low speed, but I don't know these
 divide factors(4 and 20) are good number yet.

 Orientations from motionplus seems works, but I have to calibrate it too
 often. For example, at first time, the range was -180 to 180, but after
 some time, it change to -210 to 150, or below...

 Here is a document about it, but I'm not good at electronics...

 http://wiibrew.org/wiki/Wiimote/Extension_Controllers/Wii_Motion_Plus#Data_Format

 LG,
 Jonghyun Kim

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] wiimote motionplus with low_speed gives always 1 1 1

2015-03-31 Thread Jonghyun Kim
Thanks for the answer iohannes,

actually, libcwiid is considered dead [1], so i think that [wiimote]
 should be re-implemented (as an abstraction building on [hid]).


So, you meant your [wiimote] also dead? but it still works for me, except
motionplus.

If it totally dead(or will dead), which is best way to use wii
remote(+motionplus) on PD and Linux currently?

i think it looks fine.
 AFAIR (but keep in mind that it has been a *long* time), the low_speed
 message gives you a boolean value (1 or 0), whether the angle_rate
 values should be interpreted as high-speed or low-speed. since i
 haven't found any documentation what high-speed vs low-speed
 actually means in hard numbers, this has been exposed to the patch.


I think [wiimote] still works, and if possible, I wanna get the more
precised orientation(pitch, roll, yaw) from [wiimote] and motionplus. I
have already the orientation from acceleration, but from gyro(motionplus)
has better quality.

I have to calculate the *angle_rate* and *low_speed* to get the
orientation, but I don't know how to get the orientation from motionplus.

Could you give me any clew? or any suggest?

Many thanks,
Jonghyun Kim
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list