Hi, guys,
I added something to See3PO project Host.cs.
(1) public Host() //A constructor without UI
(2) some if (m_UI != null) to make testing work without UI
(3) A code section between
//*************************************************************************************
// Image Transferring
//*************************************************************************************
Codes about image transferring
//************************************************************************************************
// Private Attributes
//*******************************************************************************************
(4) a testing project See3POTest
(4.1) HostTest.cs includes RequestImageTest() method.
The method first use Host() to initialize a instance of host,
ToggleConnection(), (but actually start listening, not connecting)
Since we need to click "Connections->Connect to Remote Brain" in
localbrainwin UI,
System.Threading.Thread.Sleep(5000); is used to allow you to click it in 5 secs.
Then RequestImage() is executed.
We also need to give it some time to receive image (Thread.Sleep(5000); )