WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-16-2016, 03:47 AM
rajnishv rajnishv is offline
Member
 
Join Date: Jan 2016
Location: Kalina,Sanatcruz(East),Mumbai,Maharashtra,India
Posts: 94
Question Regarding getting yaw, pitch, roll separately frm 'vizconnect.getEuler('trac') functn

Hi Jeff,
I need each of the euler values separately from
vizconnect.getTracker('HeadTracker').getEuler():
I have managed to get the euler values of the head tracker by the code thrugh vizconnect.
Code:
#------------------------------Vizrad Code Start---------------------------------#

def restrictRollFromHeadTracker():
headTracker=vizconnect.getTracker('dtrackheadtrack er')
eulrHeadTracker=headTracker.getEuler()
print 'the position and euler are',eulrHeadTracker
vizact.ontimer(0,restrictRollFromHeadTracker)

#------------------------------Vizrad Code End---------------------------------#

But i need each of the values 'separately' such as..yaw,pitch and roll and want to store into 3 separate variables and then want to apply on the tracker node with some different values.

I am not able to found the code or command to deal with it.

Waiting for ur reply.
Thanx & Regards!!!

Mr.Rajnish Vishwakarma
Software Developer
at
Xenium Digital Pvt. Ltd,Mumbai
(Customer of world viz)
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
The problem of tracker using via VRPN _kj_ Vizard 2 08-13-2009 12:03 AM
question about yaw, pitch, roll TunTun Vizard 2 05-23-2007 12:46 PM


All times are GMT -7. The time now is 03:10 PM.


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