View Single Post
Old 01-10-2009, 11:14 AM
bharatbhushan bharatbhushan is offline
Join Date: Jan 2009
Location: Mumbai
Posts: 3
problem in using xsens motion trackers in Vizard

hello I am new to the Vizard software and started to face problems
I am using xsens MTx motion trackers which is connected through XBUS master. Right now I am connecting the XBUS master via USB on COM 10. I have written following script in Vizard for accessing the sensor data
import viz
#Create xsens extenstion
xsens = viz.add('xsens.dle')

#Connect to first available Xsens MT device
sensor = xsens.addMT(port=10,baudRate=0)

def mytimer( num ):
print sensor.getEuler()

viz.callback( viz.TIMER_EVENT, mytimer )
viz.starttimer( 0, 0.5, viz.FOREVER )

after running the script I am getting
xsens.dle Xsens Extension
** Load Time: 1.01 seconds
[0.0, 0.0, 0.0]
[0.0, 0.0, 0.0]
[0.0, 0.0, 0.0]
[0.0, 0.0, 0.0]
[0.0, 0.0, 0.0]
and so on

so what is the the problem. I have checked that the sensor is connected on COM 10 by running XBUS Example and it is giving the proper orientation data. also the xsens.dle file is present in Vizard pulg-ins directory
Reply With Quote