Linux code fusionE connectes to the arrays, receives JSON from the arrays, performs fusion, and forwards the
results to Linux code mock_receiverD.py.  fusionE sends lines of bearing for single array detections and
3D coordinates for successful triangulation.  mock_receiverD.py plots the array locations and shows the 3D
locations as little balls and lines of bearing at rays extending outward from the array locations. I assume
you will replace mock_receiver.py with your own code. The ip addresses and ports for the BeamformX arrays are shown when 
you do Remote in BeamformX and also on starup in command mode.


The config file that is used is named config.json
Edit this to show the correct ip addresses, ports, East-North-Up (ENU) coordinates of the arrays.
Postion the arrays horizontally so that the "top" is facing north and leave the "q" values (rotation quaternions)
as they are. The parameters max_mahalanobis_distance and max_spatial_sigma in config.json affect how often the intersection criteria is met: bigger 
numbers give more intersections. The parameter tempC sets the temperature. This only has to be within a few degrees of the correct value.


Required settings of BeamformX for each of the array machines:

On startup, set transform length to 1024 and the frame rate to 4 fps

In Drone Hound dialog, set maximum frequency to 6 kHz and make sure the Drone threshold is set to 0.

In Camera choose Fisheye view

In Settings, set dynamic range to 30 dB and the integration time to 0.5 s.

For BeamformX in GUI mode, you can double-click BeamformX.bat or start a command window and run BeamformX.bat

Initially use GUI mode to set up the starting parameters like the license code and the transform length.

Start BeamformX on all of the machines and do ./run_remote.sh to start mock_receiverD and fusionE on the Linux machine.

When the BeamformX machines are configured to run correctly, you can switch BeamformX to headless mode by starting it from
the command line using

BeamformX.bat --headless

This skips the BemformX starup dialogs and just begins running for TCP/IP communication by mock_reieverD or possibly telnet. 
The setting changes that you can make via TCP/IP are limited. They are listed in README.txt


I understand that it is possible to use OpenSSH Server to open a command window for each remote windows machine on the Linux box. 
This should make it possible to start BeamformX by doing BeamformX.bat --headless remotely from the Linux machine. You can stop BeamformX
from mock_receverD or fusionE with the command Exit.

I also undersand
that it is possible to have BeamformX start automatically when the Windows machine boots using Auto-Start at Windows Boot (Task Scheduler)



 

