PDA

View Full Version : Issue getting ART SMARTTRACK and Flystick3 to work


JB_HP_Viz
05-23-2016, 03:50 PM
I’m trying to get the ART SMARTRACK and Flystick3 connected using Vizconnect.

In Vizconnect I have selected DTrack under Add a New Tracker
Information that needs to be filled out:
Name; VRPN NAME; IP address; index;

I have DTrack running and I also have started the VRPN Server, both are running on the local machine that Vizard is running on.
In VRPN config file I have uncommented the line:
vrpn_Tracker_DTrack DTrack 5000

So I assume the values for
Name = dtrack
vrpn name = DTrack
ip = 127.0.0.1
index = 0

Do those values seem correct? Any ideas what else I can try?

When I select Flystick under Add a New Input device the only value is hostname.
I have hostname = localhost.

Does this seem correct? Any ideas what else I can try?

Or if that doesn’t work should I try the Example code at the bottom of this page
http://docs.worldviz.com/vizard/#VRPN_plug-in.htm%3FTocPath%3DReference%7CInput%20Devices%7C_ ____9

If this is better, what would the code look like?

Thank you
John

Here is some additional information:
Information from DTrack configuration file:
[Controller settings]
General:
--------
Hostname : SMARTTRACK-00023
Domain : art.site
DHCP client: no
IP address : 192.168.0.1
Subnet mask: 255.255.255.0
Gateway : none
Nameserver : none


More information on ART SMARTTRACK
http://www.ar-tracking.com/products/tracking-systems/smarttrack/


More information on ART Flystick3
http://www.ar-tracking.com/products/interaction/flystick3/

Jeff
05-24-2016, 04:11 AM
Take a look at the information in this ART SmartTrack (http://forum.worldviz.com/showpost.php?p=16206&postcount=7) post and try a simple Vizard script to test the connection:

import viz
viz.go()

# VRPN Tracker connection (to ART Dtrack)
vrpn = viz.add('vrpn7.dle')
headTracker = vrpn.addTracker('DTrack@localhost') #Default sensor is 0
flystickTracker = vrpn.addTracker('DTrack@localhost',1) #Try index 1 or 2 here
flystickButtons = vrpn.addButton('DTrack@localhost') #Flystick buttons
flystickJoystick = vrpn.addAnalog('DTrack@localhost') #Flystick analog thumb joystick

JB_HP_Viz
06-02-2016, 10:14 AM
Jeff,

thank you. I got both the SmartTrack and Flystick working now.

John