northern-bites/nbites — pull request #260 by oneamtu (2012-02-05 17:44:13+00:00)
Title: Remote

Deals with issue #249 streaming

A lot of changes:
1. I added SocketOut and SocketIn as IO providers for logging/parsing
2. Made reading in also asynchronous
3. revamped the outputfactory
4. added streaming in and saving functionality to qtool
5. re-wrote colorcreator as colorcalibrate in a cleaner fashion
6. made the mobjectparser threaded as well.

To test this:
a) put code onto the robot
b) open the qtool and go to the second tab. you should be able to see the robot showing up in the remote section
c) once you select the robot it will start streaming; you can open memoryviewer to check that out
d) pressing rec on the top will start recording a log

Stuff still broken (that will be fixed in the near future):
a) There's no way to stop recording (one has to close the qtool)
b) There should be an easy way to toggle between saving a log to a robot stick and streaming - right now
it's coded in to stream
c) Thresholding the image in color calibrate is still slow - because we draw each pixel individually; also the layout is a bit broken because we draw 2 640 x 480 images - we should scale down the image and the thresholding
d) We need a new module for color tables
e) My code needs more commenting