Difference between revisions of "RoboJogger"

From Robowiki
Jump to navigation Jump to search
m (Add a couple more sneak peak images.)
m (→‎Sneak Peak: a few extra notes)
Line 27: Line 27:
 
[[File:RoboJoggerSneakPeak.png]]
 
[[File:RoboJoggerSneakPeak.png]]
  
Dialog for running RoboRunner setup.
+
Dialog for running RoboRunner setup.  Currently accessed via menu: Tools -> Run Setup.
  
 
[[File:RoboJoggerSneakPeak2.png]]
 
[[File:RoboJoggerSneakPeak2.png]]
  
Dialog for adding a new challenge (smart battles and force wiki output options not yet present).
+
Dialog for adding a new challenge (smart battles and force wiki output options not yet present).  Currently accessed via menu:  File -> New Challenge.  Not sure if there will be a button for this anywhere, but it will be added to a popup menu for the main window, in addition to being avaiable via the File menu.
  
 
[[File:RoboJoggerSneakPeak3.png]]
 
[[File:RoboJoggerSneakPeak3.png]]

Revision as of 22:16, 5 December 2012

A user interface for RoboRunner currently being developed by Skotty. Once the user interface is complete, this page will provide details on it; until then, this page will provide information on development progress.

Development Progress

The RoboJogger UI is being built using Skotty's existing Swing codebase as a starting point. This means some of the background code may not be entirely clean or relevant, but it will speed development considerably.

At present, there is no licensing restrictions on any of the code, as it is all written entirely by Skotty and Skotty generally doesn't bother with licenses for his own code. However, some kind of open source license may be applied to RoboJogger before it is released, provided there is any desire for such.

Code to handle setup is complete (e.g. the windows and background code that is the equivalent of running setup.sh in RoboRunner). This part provides a window for selecting the Robocode directory and number of threads, as well as a progress bar for the setup once setup is started. One minor bonus feature is that it will preserve any previously existing roborunner.properties file (if one exists), replacing only the robocodePaths entry. As currently written, the copy step that copies from the Robocode directory does not copy robots from the robots folder.

Code to run battles has been started. This development can be broken down into:

  1. Adding/Removing Challenges From List -- in progress
    • Dialog for adding/editing challenge parameters -- complete
    • Ability to process robot jars and parse challenge files -- complete
    • Options dialog for setting preferences (such as default challenges directory) -- complete
    • Table of challenges with ability to add/remove/prioritize -- in progress
  2. Handling Challenge Results -- not started
  3. Clearing Robot Files (rmdata.sh and rmall.sh) -- started
  4. Running RoboRunner -- in progress

Next progress update will be on or around 12/7/2012.

Sneak Peak

A sneak peak of the main RoboJogger UI window. Pretty basic at the moment, and it could see drastic changes depending on further development and feedback. (My skills are more in the area of bringing a design to life rather than coming up with the good design in first place). Ultimately, it will probably end up looking a lot like RoboResearch, as it is trying to accomplish basically the same thing. The table of challenges acts like a priority queue, with RoboRunner running whatever challenge is at (or nearest) the top that has not already been run. All functions for now are controlled by menu items or buttons, but before it's done, there will also be popup menus and at least some drag/drop ability. There are other dialog windows for basic options, adding new challenges, running setup, challenge results, and a few other things.

RoboJoggerSneakPeak.png

Dialog for running RoboRunner setup. Currently accessed via menu: Tools -> Run Setup.

RoboJoggerSneakPeak2.png

Dialog for adding a new challenge (smart battles and force wiki output options not yet present). Currently accessed via menu: File -> New Challenge. Not sure if there will be a button for this anywhere, but it will be added to a popup menu for the main window, in addition to being avaiable via the File menu.

RoboJoggerSneakPeak3.png