Skip to content

A GUI App that is able to load robots with different characteristics

Notifications You must be signed in to change notification settings

preetpatel/RobotGUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Extension To RobotAssignment

This is an extension to the Robot Assignment repo. It uses the different types of robots created in that repo to create a graphical application which uses JSwing and multiple design patterns. RobotGUI is a model/view application that presents three views of a shared model. Such applications are commonplace and introduce the need for views to be mutually consistent and synchronised with a model whose state changes at run-time.

Screenshots

alt text

Usage

With this GUI, you can add as many robots and customise their characteristics. Robots with custom images are able to be loaded as well and properties such as speed and size can be set individually. On startup the Robot application attempts to read configuration information from the filenamedrobot.properties. You should locate this file within your logon directory. For homePCs running Windows, the logon directory isC:/Users/username. You should ensure that the robot classes property lists the fully qualified names of Robot subclasses that you want the application to use. Essentially, the combo box on the GUI is populated with the names of the classes you specify for the robot classes property. Hence when using the application you can specify the kind of robot you want to add to the animation. In specifying class names for this property, each name should be separated by whitespace; note however that if names are spread across multiple lines a \ character should end each line except the last. For example, the following specifies that two classes should be loaded:
robotclasses = robot.WheeledRobot\
robot.CarrierRobot

About

A GUI App that is able to load robots with different characteristics

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages