View Single Post
  #2  
Old 07-27-2007, 02:34 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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')
The trick is that the ERT is counted as a bird, so you need to set NUM_FOB to 2 and the first sensor returned by the flock of birds represents the ERT. The second sensor will contain the bird data.
Reply With Quote