![]() |
|
#1
|
|||
|
|||
Hi,
Here is some sample code that we used to get the ERT working here: Code:
import viz viz.go() NUM_FOB = 2 PORT_FOB = 1 #First tracker is the ERT, which does not contain tracking data ert = viz.add('flockofbirds.dls') #Second tracker is the actual sensor bird = viz.add('flockofbirds.dls') |
#2
|
|||
|
|||
Thanks! It works now. I have another question though. Is there any way to make the bird only send position data? I have an inertia cube that Is used for orientation and I only need position data from the bird.
Thanks, Robin |
#3
|
|||
|
|||
Hi,
Are you using the bird/intersense for head tracking? If so, then you can use the following code to use the bird position and intersense orientation for head tracking: Code:
bird = viz.add('flockofbirds.dls') isense = viz.add('intersense.dls') #Create new tracker object that gets position from bird and rotation from isense headTracker = viz.mergeLinkable(bird,isense) #Link tracker to main view viz.link(headTracker,viz.MainView) |
#4
|
|||
|
|||
Perfect. Thanks a lot.
|
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|