Hi Farshizzo,
I tried the vicon.dle, but it still can not work, the code I am using is:
vicon = viz.add('vicon.dle',0,'192.168.1.100')
body = vicon.getBody(0)
marker = vicon.getMarker(0)
print body.getName()
print marker.getName()
The error message:
** Vicon Error: Server connection timed out (0)
** ERROR: Failed to connect to Vicon server at 192.168.1.100:803
** ERROR: Failed to create extension: vicon.dle
Traceback (most recent call last):
File "<string>", line 11, in ?
File "test1.py", line 5, in ?
body = vicon.getBody(0)
AttributeError: 'VizExtension' object has no attribute 'getBody'
Do you know what is the problem?
|