Need help with freepie (video)
-
- One Eyed Hopeful
- Posts: 14
- Joined: Sun Jan 26, 2014 4:10 pm
-
- Petrif-Eyed
- Posts: 2166
- Joined: Mon Jun 22, 2009 8:36 am
- Location: Stockholm, Sweden
Re: Need help with freepie (video)
Strange, i will write you a PC program that does the same thing as the Android app to see if its something on the PC/FreePIE side or the app
-
- Petrif-Eyed
- Posts: 2166
- Joined: Mon Jun 22, 2009 8:36 am
- Location: Stockholm, Sweden
Re: Need help with freepie (video)
I added some more debug features to this apk please install and try
You do not have the required permissions to view the files attached to this post.
-
- One Eyed Hopeful
- Posts: 14
- Joined: Sun Jan 26, 2014 4:10 pm
Re: Need help with freepie (video)
OK now the mouse move but it's not really working like when i put my cellphone up the mouse is doing crazy thing and i'm using this script :
def update():
#Apply deadband filter to avoid drift
#And continousRotation filter to yaw axis to avoid jumps when passing tracker center
x = filters.deadband(filters.delta(math.degrees(filters.continousRotation(android[0].yaw))), deadband)
y = filters.deadband(filters.delta(math.degrees(android[0].pitch)), deadband)
mouse.deltaX = x * multiply
mouse.deltaY = y * multiply
if starting:
deadband = 0.01
multiply = 5
android[0].update += update
def update():
#Apply deadband filter to avoid drift
#And continousRotation filter to yaw axis to avoid jumps when passing tracker center
x = filters.deadband(filters.delta(math.degrees(filters.continousRotation(android[0].yaw))), deadband)
y = filters.deadband(filters.delta(math.degrees(android[0].pitch)), deadband)
mouse.deltaX = x * multiply
mouse.deltaY = y * multiply
if starting:
deadband = 0.01
multiply = 5
android[0].update += update
-
- Petrif-Eyed
- Posts: 2166
- Joined: Mon Jun 22, 2009 8:36 am
- Location: Stockholm, Sweden
Re: Need help with freepie (video)
Then you probably didnt have the latest version of the APK in the first place because I havent changed anythin in the code other than some debug stuff.
Use googleYaw etc instead, it works better when you hold the phone like you do when used as a HMD.
Uncheck Send Raw and check Send Orientation
Use googleYaw etc instead, it works better when you hold the phone like you do when used as a HMD.
Uncheck Send Raw and check Send Orientation
-
- One Eyed Hopeful
- Posts: 14
- Joined: Sun Jan 26, 2014 4:10 pm
Re: Need help with freepie (video)
Now the app crash when the mouse start moving but it's still moving wierdly do you want that i record that for showing it to you what happen ?
-
- Petrif-Eyed
- Posts: 2166
- Joined: Mon Jun 22, 2009 8:36 am
- Location: Stockholm, Sweden
-
- One Eyed Hopeful
- Posts: 14
- Joined: Sun Jan 26, 2014 4:10 pm
Re: Need help with freepie (video)
the android app and the mouse still working wierd
-
- Petrif-Eyed
- Posts: 2166
- Joined: Mon Jun 22, 2009 8:36 am
- Location: Stockholm, Sweden
Re: Need help with freepie (video)
Please try the app from the latest installer instead
-
- One Eyed Hopeful
- Posts: 14
- Joined: Sun Jan 26, 2014 4:10 pm
Re: Need help with freepie (video)
I use the new version for android but it still don't work :/