WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-03-2015, 12:44 AM
Samuli Samuli is offline
Member
 
Join Date: Aug 2015
Posts: 15
How to use grabber tool with wand?

Hi Jeff,
I'd appreciate if you have some knowledge on how to use grabber tool with wand using ppt-tracking and wand 2014? Few more questions: What are proxy tools? What is the proxywrapper/grabberwrapper, their functions and what does the following code snippet from box stacker demo code do?
Code:
def init():
	"""Initialize the demo, only called once"""
	# add grabber tools based on proxy tools
	for proxyWrapper in vizconnect.getToolsWithMode('Proxy'):
		grabberTool = tools.grabber.HandGrabber(usingPhysics=True,
												usingSprings=True,
												placementMode=tools.placer.MODE_MID_AIR)
		
		name = 'box_stacker_grabber_tool_based_on_'+proxyWrapper.getName()
		grabberWrapper = vizconnect.addTool(raw=grabberTool,
											name=name,
											make='Virtual',
											model='Grabber')
		# parent the grabber wrapper to the proxy's parent
		grabberWrapper.setParent(proxyWrapper.getParent())
I can't find any relevant information about these things in the Vizard documentation/reference.
Reply With Quote
  #2  
Old 11-03-2015, 03:54 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You can add a grabber tool and map the wand input signals to the grabber functions in vizconnect. The vizconnect avatars and tools tutorial covers this topic using a desktop setup but the same concepts apply if you're using PPT tracking and wand. The proxy tool is used with the demo launcher as a placeholder tool. This is most likely unnecessary for your application but a description of the proxy tool is shown when you select it in the vizconnect > tools dialog.
Reply With Quote
Reply

Tags
box stacker, grabber, proxy, wand, wrapper

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
Using highlighter tool with wand Samuli Vizard 2 09-24-2015 01:50 PM
How to get wand tracker? Samuli Vizard 4 09-18-2015 01:09 PM
Wand triggers event Samuli Vizard 1 09-02-2015 04:32 AM
Intersense wand and Head tracker blessonisaac Vizard 0 01-10-2011 04:39 PM
CAVE, navigation, tracked wand, coordinate systems JimC Vizard 6 10-09-2009 01:43 PM


All times are GMT -7. The time now is 10:04 AM.


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