Aqua Phoenix
     >>  Research >>  Sentinel  


3.5 Manual controls

Some of the basic tank controls have been implemented in this frame for reasons of testing. The controls include: Forward/Start, Left, Right, Backwards, and Stop. It should be noted that the command 'Backwards' has been implemented successfully for the interface and the tank, yet it is not being used for automated driving.

Figure 1.7: Manual Control Frame

3.6 State controls and Audio controls

State controls include the Start and Stop state. Start begins the process of taking snapshots from the Live Video Screen, reducing the data, calling a method to make a decision based on the data-reduced image, and sending the decision over the network. It should be noted that while the video capture frame feeds at a rate of 20 to 25 frames per second, only 10 of these end up as reduced images. The method that reduces each image processes exactly 320*240 pixels per image, which is quite large to begin with. Given the high degree of processor utilization, a result of 10 reduced images is quite reasonable.

Figure 1.8: State controls and Audio controls Frame
The Stop state merely stops image data reduction and sends a Stop signal to the Sentinel Java Interface. It does not close the network connection, as the Network Frame has autonomous states.

For demonstration purposes, we have included a soundtrack that plays at a low volume, as soon as the interface is opened. In addition, while the tank is in motion, we have provided sound effects for three of the main functions: Start, Stop, as well as Fork. Both the soundtrack as well as the sound effects have been taken from a popular War Strategy game by the name of "Command & Conquer - Red Alert 2". As JMF provides a programming interface for sound media files as well, we are using it to play the different sound effects and the soundtrack. The toolbar includes some controls for muting/volume control to this end.