#1
|
|||
|
|||
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 viz.go() #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 -- regards, bharatbhushan |
#2
|
|||
|
|||
The current version of Vizard does not support the Xbus. We will be releasing a new version soon that will support it.
|
#3
|
|||
|
|||
As it has been quoted that Q1 2009 release of Vizard supports Xsens Xbus devices. But there is no help on this subject either in the Vizard help or in online tutorial, so please provide the commands and the necessary details to use XSENS XBUS master with Vizard .
|
#4
|
|||
|
|||
If you have an XBUS device on COM 10 with 3 sensors connected, then you need to call xsens.addMT() 3 times. The following code shows how:
Code:
xsens = viz.add('xsens.dle') sensor1 = xsens.addMT(port=10) sensor2 = xsens.addMT(port=10) sensor3 = xsens.addMT(port=10) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vizard Enterprise Edition and motion capture | aaThomas | Vizard | 4 | 10-05-2007 11:31 AM |
newbie problem getting vizard to work | Colin | Vizard | 2 | 11-10-2006 11:54 AM |
problem talking to usb device in Vizard | Vbents | Plug-in development | 2 | 06-15-2006 04:08 PM |
Vizard Program Problem - | G-Chan | Vizard | 1 | 06-13-2005 09:29 AM |
Vizard Crashes: causes are hard to determine, possible problem with the viz code | vr_boyko | Vizard | 1 | 01-07-2005 11:52 AM |