intersense addTracker
Hi all,
I'm having some troubles with a small piece of code. Basically I would like to connect to the Intersense 900 and link my mainview to the tracker and apply a postTranslation to it. (I'm busy writing an exp. using a usb steering wheel and would like to translate the view using the pedals without losing tracking). I'm used to working with apparently an old intersense method and in another lab (where the experiment is working fine) with the VRPN.dle method: Code:
PORT_INTERSENSE = 0 Code:
vrpn = viz.add('vrpn7.dle') I saw the message that I should use: Code:
tracker = isense.addTracker(port=1) Code:
viz.tracker() intersense.dls Intersense Driver v4.0.4 **Connected to Intersense device on port 5001 Type: IS Precision Series Model: IS-900 Series Both Station 1 and 2 have the following values: ON ON 1 2 3 0 0 Traceback (most recent call last): File " File "intersenseTester.py", line 12, in ? tracker = intersense.addTracker(x) AttributeError: 'VizIntersense' object has no attribute 'addTracker' InterSense is connected on port 1 With the isense.DLE plugin: intersense.dle Intersense Extension InterSense is connected on port 1 ** Load Time: 1.64 seconds ** ERROR: Failed to connect to Intersense tracker on port 1 ** ERROR: Failed to create extension sensor with intersense.dle am I using an old plugin? How can I make it work with Isense like I did with the VRPN Method. Many thanks in advance, Jeroen Derks |
Mainly I can't use the addTracker function.
Code:
#Add a tracker. intersense.dle Intersense Extension InterSense is connected on port 1 ** Load Time: 1.64 seconds ** ERROR: Failed to connect to Intersense tracker on port 1 ** ERROR: Failed to create extension sensor with intersense.dle Do I need to use a more uptodate plugin? What is wrong? Thank you!! |
Please test with the following short scripts and let us know the output with each.
1. Code:
import viz Code:
import viz |
What do you think it can be?
Thanks for helping me! Output 1: Quote:
output 2: Quote:
|
Please contact support@worldviz.com for further assistance.
|
All times are GMT -7. The time now is 04:10 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC