Craig Ashley edited Our Prototype.tex  about 10 years ago

Commit id: 83a8e58d8959a5adafa9857008f26464b7afb9eb

deletions | additions      

       

\section{Prototype}  \subsection{Early Prototype}  The program begins by setting up the various interface kits. It first waits early prototype  for the main interface kit (with screen), the circular touch phidget, and the RFID reader to be connected. It then adds listeners to the circular touch and RFID phidgets to detect events as and when they happen. Once the start-up procedure is complete, the program state moves into the main loop application made use  ofrunning code. This main loop performs all the major operations on  the main Android SurfaceView, a View (classes for dealing with user  interface kit. These operations include: and interaction) for drawing graphics onto the screen.  The prototype took in image files that were placed in the resources folder, and decoded them into Bitmap objects that could drawn onto the SurfaceView using the Canvas, which holds the drawing calls.   The Canvas was then used to draw the map background, and an arrow was drawn on top of that background.  A Thread was used to keep the graphics being drawn without it taking away processing from the user interface, so the application would not become unresponsive.  \begin{itemize}  \item Detecting thresholds and actioning commands for the slider  \item Detecting thresholds and actioning commands for the joystick