@Praskauer The data is simply sent via wifi. The PC program has a UDP server listening for the accelerometer and magnetometer , it then uses that data to calculate a rotation matrix which is applied to the object you want to manipulate (in that case the red polygon).
You are only using the rotational matrix and the compass. Won't this be a disappointment when you try to make some lateral motion? How does it respond to motion down one axis of the accelerometer? Can you actually monitor angular motion and axial motion at the same time? That will be more of a true Wii like controller with it being able to accurately show a tennis racket swing or or a bowling motion.
I never had the intention of creating lateral motion. That's why I changed the title of the video and omitted the wii keyword. I apologise for the misleading title
Just came across this tonight, and am glad to see that someone else has thought of the idea, especially someone with the skills needed to actually do it. I'm getting the Motorola Droid when it comes out, and hope that you will manage to get through the issues soon.
Cool! How do you get the data to the computer? Do you use a microcontroller as bridge? or how is the pc program made?
Praskauer 2 months ago
@Praskauer The data is simply sent via wifi. The PC program has a UDP server listening for the accelerometer and magnetometer , it then uses that data to calculate a rotation matrix which is applied to the object you want to manipulate (in that case the red polygon).
jubeidono 2 months ago
hopefully someone can figure out a way to connect it to wii. I would love to play Mario Kart Wii with my phone.
abeckring 1 year ago
THAT'S AWESOME :D
tim167246 1 year ago
I want that for complementing mouse in Google Earth!!!
latinsud 2 years ago
You are only using the rotational matrix and the compass. Won't this be a disappointment when you try to make some lateral motion? How does it respond to motion down one axis of the accelerometer? Can you actually monitor angular motion and axial motion at the same time? That will be more of a true Wii like controller with it being able to accurately show a tennis racket swing or or a bowling motion.
racrowd 2 years ago
I never had the intention of creating lateral motion. That's why I changed the title of the video and omitted the wii keyword. I apologise for the misleading title
jubeidono 2 years ago
Just came across this tonight, and am glad to see that someone else has thought of the idea, especially someone with the skills needed to actually do it. I'm getting the Motorola Droid when it comes out, and hope that you will manage to get through the issues soon.
LordAsteroth 2 years ago
working on it as we speak.
jubeidono 2 years ago
fantastic! Go on :)
ventrix24 2 years ago
This has been flagged as spam show
please let me know if u public the code
faben02 2 years ago
@faben02 the code is public now
jubeidono 1 year ago
Comment removed
feocms 2 years ago
Much better to use the accelerometer than the compass.
whogrant 2 years ago
Doesn't he use both? Should do anyway. You need the compass to get absolute rotation.
Looks like it could do with some filtering to remove glitches though.
TimmmmCam 2 years ago
I actually use both yes.
jubeidono 2 years ago
Way cool!!
LadyKokokia 2 years ago
Pretty cool
Charbax 2 years ago
Amazing potential here!
mgoho 2 years ago
yeah thats great - good job :)
SurfingNerd82 2 years ago
everybody thank you for your kind remarks!
jubeidono 2 years ago
Very nice
Any chance you'll be releasing an application based on this (at the Android Market or personal site)?
Just made a quick movie about Labirynth (with Level editor) also using the accelerometer, check it out :)
watch?v=RlfbfY6HiAg
ispaniola 2 years ago
I am working on improving this and will release it as soon as it's ready. This version doesnt work properly when the phone is flipped upside down
jubeidono 2 years ago
the source code is up
jubeidono 1 year ago
@jubeidono hi - where is the link?
zeeaj 1 year ago