ajayyy/Wiimote-FreePIE-VR-Controls

Lots of missing plugins and compenents

guillaumeproulx opened this issue · 34 comments

hello, I've tried your wiimote-FreePIE-VF-Controls and when I try to run your script, many errors appear. I attach a picture to show the situation. Thanks for reading.
capture
capture

Could you change the language to english so I can understand the errors better? Also, could you show me the errors that are hidden because it is not scrolled? (You sent 2 identical images)

I fixed the errors by using a different Dolphiimote.dll found on the freepie git and now my wiimote appears but the orientation value is stuck at PI and 0.
capture 2

See: #1 (comment)

Does adding that at the top work?

Also, do you have a normal wii remote or a wii motion plus?

No, It gives me this
capture 3
Also, I'm using a wii motion plus adapter on a normal wii remote
capture 4

Did you try it with wiimote_leap_vive.py also?

Yes, I have both py running at the same time.

Ok, you should only need to run one at a time. I have added 2 more files to the repo, try the no gyro one, this one uses the leap gyro instead of the wiimote gyro so it should work, but might be a little more buggy.

These files I added were made by sstf and he said "In This file, some games worked fairly good."

About "wiimote_leap_vive_2.py", he said
"In this file, wiimote is return gyro values only one side,
That is late model wiimote(Nintendo RVL-CNT-01-TR).

To make matters worse, often not return gyro values.
and my vive wands is rampage.
Because Gyro values is Drifting."

One of his controllers was not wii motion plus so that one might work for you too

EDIT: looks like wiimote_leap_vive_2.py might just be the same as wiimote_vive.py

The no gyro one is still stuck
capture 8
but the wiimote leap vive 2 works
capture 9
except that the pitch grows slowly when the wiimote doesn't move and the roll grows quickly (both in the negative).

Oh, that's what sstf meant by extreme drift probably.

What do you mean the no_gyro one is stuck?

My bad, I didn't think the no gyro meant the gyro values would be static.

Yea, try that in vr. It doesn't use the wiimote gyro at all

I'm currently trying to do the steamVR Tutorial via VRidge but it doesn't seem to receive any input from the wiimotes. Is there another script to run so that steamvr will see the input as from vive controllers?

do you have the hydra driver installed? the wiimotes should appear as razer hydras in steamvr

Yes, but maybe I didn't change the dll files correctly?

You can try running the sixsense hydra tester, it is a little easier to test with.

Pretty sure it's in the SDK here: http://sixense.com/sixensesdk

Also make sure you copied the sixsense fake.dll, and renamed it to replace the already existing dll

I think it's the one at SixenseSDK_102215\samples\win32

Thanks for the path, but it only shows this :
capture 10

Did you put in the fake sixsense dll

Also I think you have to click on the screen to bypass it, or maybe click a button on the wiimote, I forget

I changed the sixense dll but do i also have to change the sixensed dll?

what?

I already had changed the sixensed dll but I had found suspicious the presence of sixensed dll
capture 11

Replace it here
image

Where does your sixense dll come from? Mine is 608 KB while yours is 405 KB

It's a different path, look at the path I'm at

Also, I have not replaced it with the sixsense fake.

I'm still stuck on the grey screen even tough I press every button on the wiimote, enter or with the mouse

In the sixense_simple3d, it seems the orientation values are in rad while the ones given by FreePIE are in degree. What should I change in the wiimote leap vive 2 py to change the output from degree to rad?

Ooooh, that would make sense. I'm not 100% sure how that one works since I didn't write it but I can look over it and see if I can find the place you need to edit.

Looks like line 212 and 437 would need to be changed

One degree is 0.0174533 rad so just multiply it by that

Perfect thanks! I also changed the value to negative for all hydra[i] at 437. How do you think would I change the position so they are on me.
capture 12
They seem to be too far away to see them in SteamVR

You might want to try uncommenting line 457, looks like that would be tracking it. But, there might be a reason it's commented out

@guillaumeproulx how did u fix there errors at the beginning, i have the same

any help?