hi IOHannes,
Thanks a lot for your external and I really enjoy it. However I met the problem on it.
I compiled wiimote under your instruction on ubuntu 14.04
The problem is I get always *1 1 1* with low_speed(motionplus).
*low_speed 1 1 1*
I patched and recompiled, but still I got 1 1 1.
I created Make.local (beside wiimote.c and its Makefile) and put only this line: *CFLAGS += -DHAVE_CWIID_MOTIONPLUS_LOWSPEED*
But still no luck. How to resolve it?
Many thanks, Jonghyun Kim
update:
I have some change, and now "low_speed" gives me "1 or 0"
However it seems not correct...
On Tue, Mar 31, 2015 at 4:25 AM, Jonghyun Kim agitato816@gmail.com wrote:
hi IOHannes,
Thanks a lot for your external and I really enjoy it. However I met the problem on it.
I compiled wiimote under your instruction on ubuntu 14.04
The problem is I get always *1 1 1* with low_speed(motionplus).
*low_speed 1 1 1*
I patched and recompiled, but still I got 1 1 1.
I created Make.local (beside wiimote.c and its Makefile) and put only this line: *CFLAGS += -DHAVE_CWIID_MOTIONPLUS_LOWSPEED*
But still no luck. How to resolve it?
Many thanks, Jonghyun Kim
hi,
first of all, i'm surprised that it still works...the wii support on linux has changed considerably since libcwiid (on which [wiimote] relies) has been written. actually, libcwiid is considered dead [1], so i think that [wiimote] should be re-implemented (as an abstraction building on [hid]).
On 2015-03-30 22:24, Jonghyun Kim wrote:
update:
I have some change, and now "low_speed" gives me "1 or 0"
However it seems not correct...
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.
fgmasdr IOhannes
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
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_F...
LG, 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 agitato816@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_F...
LG, Jonghyun Kim