Link PhaseSpace and InertialLabs
Hello all,
I am running Vizard with a Sony HMZ-T1 with an attached Inertial Labs OS3D sensor and a Phase Space motion capture setup. I have the MainView orientation linked to the Inertial Labs sensor with the following method: #InertialLabs Sensor Setup InertialLabs = viz.add('InertialLabs.dle') sensors =InertialLabs.addSensorBus(workset=0,port=6) # Get handle to first sensor sensor1 = sensors[0] def updateView(): euler = sensor1.getEuler() viz.MainView.setEuler(euler[0], euler[2], euler[1]*(-1)) vizact.ontimer(0,updateView) I have PhaseSpace functioning as well. I would like to link the MainView position to a Phase Space marker, and have seen forum references to both Any help or advice would be much appreciated. |
You can use the viz.mergeLinkable command for this:
Code:
#InertialLabs Sensor Setup |
Jeff, you rock. Thanks.
|
All times are GMT -7. The time now is 08:17 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC