WorldViz User Forum  

Go Back   WorldViz User Forum > Plug-in development

 
 
Thread Tools Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 04-03-2008, 11:54 AM
dudey12 dudey12 is offline
Member
 
Join Date: Feb 2008
Posts: 5
Send a message via MSN to dudey12
Quote:
Originally Posted by farshizzo View Post
Sorry for the delay, we've been waiting to receive a simulator from Vicon. I believe the problem is that you are trying to retrieve marker data, where as the vicon plugin only outputs body data. I was able to simulate 17 bodies and connect to all of them through the Vizard plugin.

Now that we have a simulator for testing, we will be rewriting the Vicon plugin to support both marker and body data. This will be available in the next release.
Thanks a lot, this has been helpful for tracking the markers. We are, however, having a problem tracking bodies still. The vicon.getBodyList() works correctly, however when I try to use the vicon.getBody(val) function, I receive the error "_ViconExtension object has no attribute getBody". This occurs with the sample program in the help file, shown below. The IP address was changed to the correct one.

Code:
vicon = viz.add('vicon.dle',0,'192.168.0.114')
body = vicon.getBody(0)
marker = vicon.getMarker(0)

print body.getName()
print marker.getName()
Since the bodies are accessible from the getBodyList() function I tried linking a box to the body, but it didn't work either. Any suggestions?
Reply With Quote
 


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
Vicon Plugin Micheal Plug-in development 2 08-29-2007 03:03 AM


All times are GMT -7. The time now is 06:41 AM.


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