#1
|
|||
|
|||
intersense.dle extension
Hi,
I'm using a development edition of Vizard v3.18.0002 with an IS900 for tracking. My question is: How can I get and set IS900 station parameters such as sensitivity and prediction while being able to get the tracking data? I am using an IS-900 with 4 stations (one head tracker, two wrist trackers and one wireless wand) and I'm having trouble being able to set the stations parameters such as sensitivity as well as getting the tracking data. I can do either of those using a different extension, but I'm having trouble doing both things using the same extension. As I can understand, there are two Intersense extensions, intersense.dls and intersense.dle. With intersense.dls, the following code Code:
station1 = viz.add('intersense.dls') station2 = viz.add('intersense.dls') Using the intersense.dle extension, the code looks like this: Code:
isense = viz.add('intersense.dle') station1 = isense.addTracker(port=1,station=1) station2 = isense.addTracker(port=1,station=2) Code:
station2.getSensitivity() Any help will be appreciated. Regis |
#2
|
|||
|
|||
The old intersense.dls plugin is deprecated and you should only use the intersense.dle extension. The sensor objects returned by both of the plugins support the standard sensor methods for retrieving orientation data, sensor.getEuler(), sensor.getQuat(), sensor.getAxisAngle(), etc..
With the newer extension, there is no need to call getData(). If you want the joystick position you can use the sensor.getJoystickPosition() command. |
#3
|
|||
|
|||
Thanks for the reply.
What I actually need is to get the state of the wand buttons, but I can't find what function I should use. It would be very helpful also if you could list all the functions implemented in intersense.dls Thank you, Regis |
#4
|
|||
|
|||
As I previously mentioned, the intersense.dls plugin has been replaced by the intersense.dle extension. All the commands for the extension are documented in the Vizard help file. The doc page for the intersense extension even contains sample code showing how to detect button presses from a wand.
|
#5
|
|||
|
|||
Thanks farshizzo. I meant the documentation for intersense.dle.
Actually, I was using the online manual, as I assumed it was the most up to date documentation. I'll use the Vizard help from now on. Thanks and sorry for the mix up. Regis |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
RE: 'ERROR: Failed to create extension sensor with wiimote.dle' | roman_suvorov | Vizard | 1 | 07-31-2008 10:43 AM |