PDA

View Full Version : Adding more than one Flock of Birds


asimbh
12-14-2006, 08:10 PM
I was wondering if there is a way to add more than one flock of bird modules. I'm trying to add two modules in order to track two birds with respect to one transmitter attached to master module. I'm getting data from the master module but the second one is giving zeros. I think it because the second module is not initialized.

giancamati
12-14-2006, 11:58 PM
Hi, as I met the same problem I would like to give you the solution. :)

NUM_FOB = 2
PORT_FOB = 0
BAUD_FOB = 115200
flock1 = viz.add('flockofbirds.dls')
flock2 = viz.add('flockofbirds.dls')

This is the way you can connect 2 FOB together.

After these few lines, you can link your viewpoint, objects or other stuff to the sensors.

Best Regards

asimbh
12-15-2006, 12:21 AM
Thanks!

But I still have the same problem. I get the data from the master module but not from the second bird. It says could not find the bird on com1. Would please let me know the hardware configuration you are using for double check though I'm reasonably sure that the configuration I have are correct.

Thanks, much appreciated

giancamati
12-15-2006, 01:48 AM
HI,

you should check master dipswiches and secondary dipswitch. and the connect the two birds by the FBB port you can find on the back.

For the master dipswitch I have 1,2,3 DOWN
4,5,6 up
7 down
8 up

for the secondary
1-2-3 DOWN
4-5 UP
6 DOWN
7 - 8 UP

Good luck
Giancarlo