-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LeapMotion not recognised by the programm #1
Comments
Can you include your platform and the hardware used? This project was done with the 2.0.9 SDK (source for SDK is here). If you're using a more recent LeapMotion, you probably need to replace the SDK with the new one, which will probably break the controllers. One last thing : you may want to use the v0.5 branch, the version on master was still a WIP when we quit working on it. |
Hello, I am using Windows 7 and Blender 2.74. And I replaces Leap.py, Leappython.pyd and Leap.dll with the versions that are in the last SDK I downloaded, ie. 2.2.3. But it does not work better. Now, when I do: python server.py --interactive, it accepts everythng, but "object", "pottery", "paint". And it shows always the same error for those command lines: But I noticed, in the file "C:\Users\my.name\Documents\Github\leapmotion_blender\controllers\init.py", line 188, there is: defined_controllers = {} So it seems to me that it is normal that at line 192, ctrl is not in defined_controllers, because defined_controllers is empty, and so it says 'Undefined controller' line 193. Or have I misunderstood something? |
Have you tried using the v0.5 branch? Like I said, the master branch is pretty unstable. The blame is commit 7611362, where the controllers were refactored and the dictionary used for naming controllers was cleared (called by the commands module here). You can restore the mapping here which should probably solve the problem. |
Thank you very much. (And I am sorry, I didn't understood first what you meant about v0.5 branch.) I put '127.0.0.1', 1337 in both blender.py line 144 and server.py line 60. And now there is no more error. |
This error is indeed pretty strange. As I recall, we had the Blender plugin On Tue, Jun 23, 2015 at 11:30 AM lazachemou [email protected]
|
The pottery mode works! I can make the object rotate. But I can't grab or change the size of the object or sculpt the object. |
I downloaded your files from github and maked the program start. It works with the options --interactive --no-vr. I can use the commands "object" and "center" and "over" etc in the command window (Windows 7). But my hand movements seems not to be recognised. As if the programm didn't recognised the LeapMotion. But I can see my hand in the LeapMotion Visualizer.
Have you any idea why it doesn't work?
The text was updated successfully, but these errors were encountered: