View Single Post
  #4  
Old 10-14-2005, 09:14 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

The flockofbirds plugin uses the following variables to initialize, make sure they are correct:

PORT_FOB - The serial port number which the motion star is connected to (default = 1)

NUM_FOB - The number of sensors that are plugged into the motion star (default = 1)

BAUD_FOB - The baud rate of the serial communication (default = 115200)

So, if you had 3 sensors connected on COM2, you would do the following:
Code:
PORT_FOB = 2
NUM_FOB = 3
tracker_1 = viz.add('flockofbirds.dls')
tracker_2 = viz.add('flockofbirds.dls')
tracker_3 = viz.add('flockofbirds.dls')
I realize that the MotionStar is capable of sending data over an Ethernet connection. If this is the case for you, then we will need to modify our plugin to support this, as it currently only checks the serial port.
Reply With Quote