Hi all, I am from Spain and my english will be very bad, but I will try my best to explain:
My problem is that when adding a plugin FreePIE, don't boot and closes by returning an error code, the plugin is vireioSMT.dll, without the plugin if open but, when i run the script and I connect my nexus 5 returns an error:
4: 'GlobalIndexer[AndroidGlobal]' object has no attribute 'googleYaw'
The code is not mine, but it should work:
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.googleYaw))), deadband)
y = filters.deadband(filters.delta(math.degrees(android.googleRoll)), deadband)
vireioSMT.roll = -(android.googlePitch)
mouse.deltaX = x * multiply
mouse.deltaY = y * multiply
if starting:
deadband = 0.01
multiply = 5
android[0].update += update
FreePIE, plugin, and script fail
-
- One Eyed Hopeful
- Posts: 3
- Joined: Fri Feb 07, 2014 8:21 am
-
- Petrif-Eyed
- Posts: 2166
- Joined: Mon Jun 22, 2009 8:36 am
- Location: Stockholm, Sweden
Re: FreePIE, plugin, and script fail
Hi there.
Thats script is based on a old FreePIE version, FreePIE now as support for multiple devices.
so change android to android[0]
Thats script is based on a old FreePIE version, FreePIE now as support for multiple devices.
so change android to android[0]
-
- One Eyed Hopeful
- Posts: 3
- Joined: Fri Feb 07, 2014 8:21 am
Re: FreePIE, plugin, and script fail
The scrpt is fine, the problem I had with net framework 4, and C + + libraries, uninstall and install net framework 4 fixes the problem.
-
- Petrif-Eyed
- Posts: 2166
- Joined: Mon Jun 22, 2009 8:36 am
- Location: Stockholm, Sweden
Re: FreePIE, plugin, and script fail
Well if you use latest version of FreePIE android.yaw wont work you need to use android[0].yaw
-
- One Eyed Hopeful
- Posts: 3
- Joined: Fri Feb 07, 2014 8:21 am
Re: FreePIE, plugin, and script fail
Thank you very much, now I can use the latest version with my script