WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 06-29-2015, 01:55 AM
Pip Pip is offline
Join Date: Aug 2014
Posts: 3
LEAP Motion Listener

Hi everyone,

I am trying to use the LEAP Motion Controller in a Vizard 5.1 script. Creating a Controller is not a problem but everytime I try to register a Listener, Vizard crashes. Here's my code:
class SampleListener(Leap.Listener):
    finger_names = ['Thumb', 'Index', 'Middle', 'Ring', 'Pinky']
    bone_names = ['Metacarpal', 'Proximal', 'Intermediate', 'Distal']

    def on_init(self, controller):
        print "Initialized"

    def on_connect(self, controller):
        print "Connected"

def main():

	import viz
	# Create a sample listener and controller
	listener = SampleListener()
	# Have the sample listener receive events from the controller
When using the parent class Leap.Listener(), we experience no crashes.

Any helpful ideas?

For additional hints, I've added the crashrpt.xml
Attached Files
File Type: zip (16.9 KB, 934 views)

Last edited by Pip; 06-29-2015 at 01:57 AM. Reason: file added
Reply With Quote
Old 07-09-2015, 09:50 AM
Goof Goof is offline
Join Date: Nov 2014
Posts: 9
Is this the complete code that worked with Leap.Listener?

You never created a controller.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Leap Motion rlh001 Vizard 2 01-22-2015 04:46 AM
PPT Mocap and Motion Builder Connection Problem hxphan Precision Position Tracker (PPT) 3 02-22-2011 11:01 AM
an object in motion does not stay in motion? driechers Vizard 2 11-09-2010 03:51 PM
Motion Capture & CyberGloves EnvisMJ Vizard 1 10-01-2009 04:21 PM
Eliminate Sideways Motion when colliding w/Objects Feuereissen Vizard 3 07-09-2009 12:43 PM

All times are GMT -7. The time now is 01:09 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2023, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC