WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #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
  #2  
Old 11-12-2012, 03:34 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
There was a change that broke the roboChase.py script in the latest version. To fix that replace:
Code:
player_matrix = viz.Matrix()
with:
Code:
player_matrix = viz.addGroup()
Reply With Quote
Reply


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
win32ui winviz.exe has stopped working TarkaDahl Vizard 3 08-10-2010 05:19 PM


All times are GMT -7. The time now is 01:36 PM.


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