![]()  | 
	
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
				
				IS-900 Wand linking Problems
			 
			
			
			Hi All, 
		
		
		
		
		
		
		
		
	
	I am having trouble trying to link my IS-900 wand to a 3d node. When I print the orientation data from the wand it seems normal, but when I have a shape linked to the tracker the pitch, yaw, and roll seem to be reversed and not centered properly. Here is some example code: Code: 
	cylinder = vizshape.addCylinder()
cylinder.color( viz.RED)
isense = viz.add('intersense.dle')
tr1 = isense.addTracker( port=4, station=1 )
tr2 = isense.addTracker( port=4, station=2 )
main = viz.link(tr1,viz.MainView)
cyl = viz.link(tr2,cylinder)
def printPos():
    print "cylPos ",cyl.getPosition()
    print "cylEul ",cyl.getEuler()
vizact.onkeydown( 'p' , printPos)
 | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
		
		 
			
			Does it look fine when you link the viewpoint to the tracker?
		 
		
		
		
		
		
		
		
		
	
	 | 
| 
		 
			 
			#3  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
		
		 
			
			Yes, linking the wand to the viewpoint results in normal viewpoint control.
		 
		
		
		
		
		
		
		
		
			Last edited by Kaminski; 05-17-2011 at 09:10 AM.  | 
| 
		 
			 
			#4  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
		
		 
			
			I fixed it in the process of simplifying my code.  I wish I could say how  -- thanks anyway.
		 
		
		
		
		
		
		
		
		
	
	 | 
![]()  | 
	
	
		
  | 
	
		
  | 
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Problems loading WRL file | DrunkenBrit | Vizard | 2 | 01-29-2009 01:58 AM | 
| avatar animation problems | jrodman | Vizard | 1 | 01-18-2006 10:12 AM | 
| Export/import problems and Vizard 3.0 release | searsky | Vizard | 0 | 01-03-2006 02:34 AM | 
| Problems Importing VRML Files | oscar | Vizard | 4 | 10-13-2004 06:42 PM | 
| Problems with lighting in 2.0 | murm | Vizard | 6 | 04-21-2004 10:59 AM |