=============================================
    Remote Framework Sample:  TakePicture
=============================================

* Overview

TakePicture has live streaming video and picture taking functionality. 
TakePicture is also a socket server application that can be controlled
from another PC. 

PC(Any OS)--[Socket port:54321]-->PC(Windows)--[RFW]>-->AIBO
Socket Client                     NetControl

* How to use

1. Build it by using Visual C++6.0 or later.
2. Turn on AIBO with the Remote Framework Memory Stick.
3. Execute
  3.1 If you want to execute TakePicture.exe stand alone, 
      *.dll files are needed in the same folder as TakePicture.exe,
      or *.dll files must be in your PATH (Windows Environment Variable).
4. Input AIBO's IP address and click the Connect button.
5. Click the Remote button.
 (This sample is based on BaseClient so you can control AIBO
 from this dialog window)
6. Click the Socket Server ON button.
7. Run a suitable socket client application and send the following commands
 via socket port 54321.

 The following are socket client applications: 
  A. echo_client.exe in the EchoServer sample of the OPEN-R SDK.
     The OPEN-R SDK download page can be found here:  http://www.sony.net/openr  
  B. RFW_aiboControl.php and aiboCommander.php in php_socket_appli
     in this sample folder.
     You will need a web server that can handle .php files. Apache HTTP server
     with php is one of them.
     http://www.apache.org/
     http://www.php.net/

------------
COMMAND LIST
------------
HELLO
BYE
DANCE
FORWARD <distance>
BACK <distance>
RIGHT <distance>
LEFT <distance>
STOP
MOVEHEADV <angle>    Move Head Vertically
MOVEHEADH <angle>    Move Head Horizontally
MOVEHEADC            Move Head to the center position
PHOTO <filename>     Save Photo to <filename> as a jpeg
