#1
|
|||
|
|||
How to use vicon plug-in?
I tried to use the HMD to track the marker from the vicon motion capture system. But it always says: Failed to create Socket, although I addressed the port of the vicon server.
And I remember you said: the plugin allows to add as many sensors as there are bodies. What do you mean by body? |
#2
|
|||
|
|||
Are you using the vicon.dls plugin or the vicon.dle plugin? Also, are you sure the Vicon server has real-time streaming enabled?
|
#3
|
|||
|
|||
I am using the vicon.dls and I am sure that the real-time streaming is enabled.
I am using the simple.py that you provide for vicon hardware. I just don't know where is the problem. Is there any specific configuration in Vizard or Vicon? Do you have any steps that I can follow to do it? Last edited by llqqff; 05-05-2009 at 08:25 PM. |
#4
|
|||
|
|||
I set the real time server acitive in Vicon
And there are three connections on my computer with vicon: connection to Internet: IP address: 129.59.70.136 connection to vicon ultranet: IP address: 192.168.10.1 connection to local area switch: IP address: 192.168.1.100 I tried all the three IP address, but when I run the simple.py in vizard, it still can not create the socket. Can you see where is the problem? Thanks a lot! |
#5
|
|||
|
|||
Try using the newer version of the Vicon plugin (vicon.dle). The documentation has sample code showing how to use the plugin. Do you know what port the Vicon is streaming data over?
|
#6
|
|||
|
|||
Sorry, I don't know the port. I tried both 800 and 803 when I used vicon.dls.
But I will try the vicon.dle to see how it works. Last edited by llqqff; 05-07-2009 at 12:59 PM. |
#7
|
|||
|
|||
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? |
#8
|
|||
|
|||
You might be connecting on the wrong port. The default port should be 800. If you are positive that you are connecting over the correct port, then you might have a firewall that is blocking the connection request. Check if the server is running a firewall and try disabling it to see if Vizard can connect.
|
#9
|
|||
|
|||
Once I done the connection, how can I animate the avatar in Vizard through Vicon?
|
#10
|
|||
|
|||
See my reply in this thread. In the future, please post your question once in a new thread.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vicon Plug-in | sscovil | Plug-in development | 3 | 12-16-2009 12:53 AM |
Integrating InertiaCube and Vicon data | roman_suvorov | Vizard | 10 | 05-20-2008 05:30 PM |
Vicon plug-in | dudey12 | Plug-in development | 11 | 04-25-2008 09:59 AM |
Vicon Plugin | Micheal | Plug-in development | 2 | 08-29-2007 04:03 AM |