View Single Post
  #1  
Old 11-10-2012, 04:57 PM
tokola tokola is offline
Member
 
Join Date: Nov 2012
Posts: 67
Unhappy steve setTracker not working anymore

Hi there,

I have been trying to use the robot (steve) in one of my projects, but I get the following error when calling the setTracker function
Code:
Traceback (most recent call last):
  File "C:\Program Files (x86)\WorldViz\Vizard4\python\vizact.py", line 3615, in _callGroup
    val = e.call(arg)
  File "C:\Program Files (x86)\WorldViz\Vizard4\python\vizact.py", line 3385, in _callStatic
    return func(*args,**kwargs)
  File "C:\Program Files (x86)\WorldViz\Vizard4\python\steve.py", line 190, in _updateBodyTrackYaw
    yaw,pitch,roll = self._tracker.getEuler(self._trackerFlag)
TypeError: getEuler() takes exactly 1 argument (2 given)
I am using the exact same code that there is in the networking example. I have also tested a project using steve which I made in Spring and it doesn't work either. I assume you have changed something in steve.py recently (I have the latest Viz4.0 update) that causes this error. Can you help please?

Also, is using the setTracker command the best way to connect steve with a view (i.e. setting the view's matrix as its tracker matrix) or there's a more efficient way?
Reply With Quote