PDA

View Full Version : InertiaCube settings through vizconnect


mellott124
11-14-2014, 07:52 PM
Hi,

When I create a tracker myself within Vizard I have access to things such as:

#Add the intersense tracker
isense = viz.add('intersense.dle')
tracker = isense.addTracker(port=3)
tracker.setCompass(0) #0->OFF, 2-->ON
tracker.setCompassCompensation(1)
tracker.setAccelSensitivity(1)
tracker.setEnhancement(2)
tracker.setPrediction(5)
tracker.setSensitivity(3)
tracker.setShockSuppression(1)
tracker.resetHeading()

How do I gain access to these same things through vizconnect? I cant seem to find the way to access them. I need access directly to them in my application script, not through the vizconnect panel.

Thanks,
Kevin

Jeff
11-18-2014, 10:57 AM
You can use the following code to get a handle to the sensor:

vizconnect.getTracker().getRaw()