Hello
I am very excited about freepie and the possibility to get it running with an android device, but i cant get a connection!
What i did so far:
- Installed FreePIE Version 0.6.277
- Installed APK from FreePIE Root on phone and tablet (galaxy s+ with 2.3.3 and archos gamepad with android 4.x)
- got own ip via: cmd "ipconfig" (192.168.0.100)
- installed programm "simple port forwarding and tested it (UDP port 5555 seems to be open, i have the shitty router dlink dir 615)
- deactivated all firewall and antivirus programms.
- startet freepie imu on phone with correct values.
- clicked in freepie on "settings" - "plugins" - "android". it asked for UDP port. i clicked ok. NOTHING happened??! Is that ok?!?!
- Run script: diagnostics.watch(android.googleYaw)
and no value changes are there. i tried also other scripts and tried on the tablet too.. no one worked. it seems that i have no connection!
please do you know where is the fault?? thank you very much!!!
regards
palux
Can't get a connection to my android phone! - SOLVED
-
- One Eyed Hopeful
- Posts: 4
- Joined: Mon May 13, 2013 6:29 am
Can't get a connection to my android phone! - SOLVED
Last edited by Palux on Mon May 13, 2013 4:41 pm, edited 1 time in total.
-
- Petrif-Eyed
- Posts: 2166
- Joined: Mon Jun 22, 2009 8:36 am
- Location: Stockholm, Sweden
Re: Help please, can't get a connection to my android phone!
Hi Palux.
If you tick the debug checkbox do you see any values there?
Tick either Raw or orientation checkbox otherwise nothing will be sent
diagnostics.watch(android.googleYaw) uses orientation data
and
diagnostics.watch(android.yaw) uses Raw data
If you tick the debug checkbox do you see any values there?
Tick either Raw or orientation checkbox otherwise nothing will be sent
diagnostics.watch(android.googleYaw) uses orientation data
and
diagnostics.watch(android.yaw) uses Raw data
-
- One Eyed Hopeful
- Posts: 4
- Joined: Mon May 13, 2013 6:29 am
thank you for your answer and help! you are fully right, i had both checked!!
ITS WORKING!! thank you very much you saved my day! its very jittering, but i am able now to continue improving it!!
thank you very very much!!!
EDIT:
The yaw input jumps from -2.9xx to -.01xx and back then it stays for some time around -2.9x. in other apps the sensor works very good and there is no big jumps in the yaw value. normal calibration didnt made it any better. it is only in this app jumping around. does somebody else experienced this? it is only the yaw input. the roll and pitch values are very good for mousemovement and relativly smooth.
i tried to calibrate the magnetic sensor (turning the phone few times around its axis) but it seems its getting to much noise, maybe from the electronic stuff in my room.
i will try a different phone the next days, because my tablett sensors are not working in the freepie app
ITS WORKING!! thank you very much you saved my day! its very jittering, but i am able now to continue improving it!!
thank you very very much!!!
EDIT:
The yaw input jumps from -2.9xx to -.01xx and back then it stays for some time around -2.9x. in other apps the sensor works very good and there is no big jumps in the yaw value. normal calibration didnt made it any better. it is only in this app jumping around. does somebody else experienced this? it is only the yaw input. the roll and pitch values are very good for mousemovement and relativly smooth.
i tried to calibrate the magnetic sensor (turning the phone few times around its axis) but it seems its getting to much noise, maybe from the electronic stuff in my room.
i will try a different phone the next days, because my tablett sensors are not working in the freepie app
-
- Petrif-Eyed
- Posts: 2166
- Joined: Mon Jun 22, 2009 8:36 am
- Location: Stockholm, Sweden
Re:
Ah, yeah, its a bug
I should really fix that for next release, so that you can have both ticked (no reason to use them both at the same time though)
What fusion are you using Googles or FreePies custom one?
I should really fix that for next release, so that you can have both ticked (no reason to use them both at the same time though)
What fusion are you using Googles or FreePies custom one?
Palux wrote:thank you for your answer and help! you are fully right, i had both checked!!
ITS WORKING!! thank you very much you saved my day! its very jittering, but i am able now to continue improving it!!
thank you very very much!!!
EDIT:
The yaw input jumps from -2.9xx to -.01xx and back then it stays for some time around -2.9x. in other apps the sensor works very good and there is no big jumps in the yaw value. normal calibration didnt made it any better. it is only in this app jumping around. does somebody else experienced this? it is only the yaw input. the roll and pitch values are very good for mousemovement and relativly smooth.
i tried to calibrate the magnetic sensor (turning the phone few times around its axis) but it seems its getting to much noise, maybe from the electronic stuff in my room.
i will try a different phone the next days, because my tablett sensors are not working in the freepie app
-
- One Eyed Hopeful
- Posts: 4
- Joined: Mon May 13, 2013 6:29 am
Re: Can't get a connection to my android phone! - SOLVED
sorry, i dont know what a fusion is.
i am using everything from stock and didnt changed more as i described in the above post. my phone is a samsung galaxy s plus with android 2.3.6
i am using everything from stock and didnt changed more as i described in the above post. my phone is a samsung galaxy s plus with android 2.3.6
-
- Petrif-Eyed
- Posts: 2166
- Joined: Mon Jun 22, 2009 8:36 am
- Location: Stockholm, Sweden
Re: Can't get a connection to my android phone! - SOLVED
android.yaw uses FreePIEs custom sensor fusion (Mahony) while android.googleYaw uses the built in fusion in the phone.
Tested both?
edit: hmm, pretty old phone, does it have a magnometer? If not that explains the yaw drift
Tested both?
edit: hmm, pretty old phone, does it have a magnometer? If not that explains the yaw drift
-
- One Eyed Hopeful
- Posts: 4
- Joined: Mon May 13, 2013 6:29 am
Re: Can't get a connection to my android phone! - SOLVED
seems that only android.googleYaw works for me. the android.yaw gives no output. ill test another phone today and will write here if something is different.
thank you!
thank you!