I’m doing some changes lately on my CTS board firmware and I started by cleaning up and rewriting some parts of the code. Got rid of some unused code and the “windowed” mode and managed to shrink entire code by 10% even after adding some features.
Anyway, since one of the new feature is to increase the colour gamut for tracking from 12 bits/pixel to 18 bits/pixel I had to revamp my CTS Client too. I hate switching from Windows to Mac and back every time so I decided to write it on Java. Considering the fact is the first time I’m writing anything on Java… err…
Anyway, I am using “RXTXComm.jar” for serial communication, which is available on Linux, Windows and Mac, so is supposed to work fine on all platforms, i guess :-)
Writing the application was quite fun, especially now when I got it working. I added support for controlling servos in real-time, set the ranges, set PID values, put back the colour selection monitoring.
I will be adding support for other features available on the new firmware version: real-time tracking with servo control and streaming, upload camera configuration over serial port (gamma and saturation profiles, AWB configuration, resolution settings), etc.