#1
|
|||
|
|||
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) 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? |
#2
|
|||
|
|||
There was a change that broke the roboChase.py script in the latest version. To fix that replace:
Code:
player_matrix = viz.Matrix() Code:
player_matrix = viz.addGroup() |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
win32ui winviz.exe has stopped working | TarkaDahl | Vizard | 3 | 08-10-2010 05:19 PM |