|Surveyor Robotics Journal|
Thu, 19 Jun 2008
Archiving and command line options added to SRV1Test.java TCP/UDP console
We have made a few changes to the SRV1Test.java console application, adding the ability to use the command line to override default configuration variables and archive the incoming video frames:
The default values are -remote_addr 169.254.0.10, -remote_port 10001, -protocol TCP, -local_port 10001.
The -archive option causes SRV1Test to capture all incoming frames to the specified directory. Each frame will be stored with a sequential time tag, so you can use any of a variety of conversion programs to transform the JPEG frames to a movie format such as Quicktime, AVI, MPEG, Flash, e.g.
Thu, 12 Jun 2008
New Java-based test application for SRV-1 Blackfin - supports UDP & TCP connections
We now have a simple java-based test application for UDP and TCP connections with the Matchport and SRV-1 Blackfin.
SRV1Test.java source code is found here:
The protocol, IP address, and ports are hard-coded in the first lines of the SRV1Test.java source code:
and provided the Java SDK is installed, the application is easy to compile and run:
The program quickly connects to the designated SRV-1 Matchport and begins to pull frames. While connected, the user can send SRV_protocol commands in ASCII or Hex and view the results.
The Matchport can be configured for a UDP connection via the Matchport's web interface -
Note that in UDP mode, the Matchport does not support hardware flow control, and we have seen that it can't keep up with the 2500kbps interface, though it works fine at 921kbps. We are looking at ways to overcome this flow control issue in the SRV-1 Blackfin firmware, but for the moment, please note this limitation.
Again, here is the source code download link: