mashirui521 / RobotVision

A matlab-based robot controller as well as image processor using android smartphone
0 stars 0 forks source link

[New Feature] Capture picture from matlabserver #12

Closed mashirui521 closed 9 years ago

mashirui521 commented 9 years ago

New feature should be added in java server / phone client, then the matlab functions should be updated to java server

mashirui521 commented 9 years ago

This may be useful for creating command handler: http://stackoverflow.com/questions/2983250/custom-event-listener-on-android-app

mashirui521 commented 9 years ago

Now, server can require capture. Matlab server should be updated.

mashirui521 commented 9 years ago

The capture listener in PhoneClient was created. MatlabServer should be updated for realizing the workflow.

mashirui521 commented 9 years ago

MatlabServer is updated. In receiving picture, a failure exists: the received data is not correct. The data is a 4-length array (possibly a integer is got by server, not the correct picture).

mashirui521 commented 9 years ago

Reference to last comment, the capturing picture task should be async. The defect is about the conflict as well as scheduling problem between socket server/client.

mashirui521 commented 9 years ago

picture can now captured from server.

mashirui521 commented 9 years ago

a capture thread was established in client. Pictures could be received continually now.

mashirui521 commented 9 years ago

MatlabServer can capture picture continually. The standard workflow is now correct