Module 5: GUI
The main graphical user interface has the main responsibility of accepting the user input necessary to model objects that exist in the displayed image of the robot’s workspace.
As displayed in the functional block diagram of the system (see figure --) the input to this module is:
A picture as outputted from the Draw module and
Input from the user.
The expected output is:
State input to the State machine,
Commands to the robot and
Requests for system shutdown.
5.2 Design
In order to best satisfy the specification the design concentrated creating an interface of high usability. Usability is a measure of both ease of operation of a system and the utility of such operations. The idea being that if usability of the modeling interface was optimized then the performance of the operator would be increased.
Core elements of the design of this interface were designed by Palmer (2003) within his honours thesis. Palmer’s design had the primary goal of developeloping a conceptual model of an interface that will maximise the achievable productivity of Australia’s Telerobot on the Web by making it more intuitive to use.
5.2.1 The model
In order to allow object modeling a suitable model to manipulate into an appropriate shape, position and orientation was required. The model implemented was a dynamically alterable wireframe rectangular prisms (see figure --). A rectangular prism modeling shape was chosen in order to reduce the confusion that would be produced by allowing multiple modeling shapes. A rectangular prism was utilised as the modelling shape because its geometry best represents the grippers grasp geometry .
The AR interface is to enable direct manipulation of the parameters which specify the AR model. The model is required to have a dynamically manipulable size, position and orientation allowing the modelling of different shapes within the environment
5.2.2 Manipulation Sequence
The sequence constructed to allow the manipulation of the model is as follows:
An ‘Add Model’ button is pressed to add a model to the workspace. The model added is within a Static State (see figure --a).
If the cursor is moved over the Select Point of a graphical model the model changes colour (see figure --b). The cursor also changes to indicate that an action is possible. If the select point is then clicked on with the mouse the cursor moves into the Modelling State.
The Modelling State is indicated by another change in colour and the presence of manipulation Control Points (see figure --c). These control points as described in ‘Control Point Arrangement’ allows the length, width, height, rotation angle and position of the graphical model. If the mouse cursor is moved over a Control Point the model changes to its Active Manipulation colour and the cursor changes to a symbol indicative of the action that can be performed (see figure – d). If a Control Point is clicked on with the mouse then the model moves into an Active Manipulation State.
Within the active Manipulation State, the cursor changes to a symbol of an active version of the action symbol (see figure – e to i). For example, if the model is being rotated a cursor indicating that rotation is being performed is shown (see figure –e).
To choose another model for manipulation, follow the sequence again from beginning.
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
(i)
(j)
5.3 Testing
The GUI was tested by listing expected results from different interactions including:
The expected results of the specified inputs were determined by the interaction sequence and its corresponding implementation within the ‘State Machine’.
Share with your friends: |