Wednesday, 20 February 2008

Tuesday, 19 February 2008

Email 19/02/08

Hi Joe,

I'm sure Dan Hutchinson has asked you already about getting a PDA or two for us to play on for the GVPS project. Just wondering if you've had any luck in sourcing them for us? We would like to get some work done with them ASAP.

Thanks,

Stu
Co-Coordinator
GVPS Project Group 4

Monday, 18 February 2008

Email 18/02/08

Hey Guys,

Right from the meeting this morning the following has been decreed!

Will

- Define RMI interface and run it on rmi://localhost/GVPS (for now)
- Implement the interface
- Ensure the database side of things is working nicely!

Stu & Si (Working on the Simulator)

- Stu - Parse the simulation file
- Si - Do the GUI for the simulator

Jimbo

- Allow new instances of the ICS to be made
- Connect to server (and give the ID)
- Specify a new location

Dan

- Route calculation using Dijkstra's algorithm

This work needs to be completed by NEXT MONDAY when we have to present it to the tutor. In addition to this ensure any other changes have been committed to the SVN, this means any code that still hasn't been completed for the map parsing and drawing completed and committed.

Dan

Thursday, 14 February 2008

Email 14/02/08

Hey Guys,

Right the next milestone will be not next Monday but the Monday after, when we go and meet Jon a present our work to him.

I think that the following break down will work quite well, I've also included what I think would be a good level for each system to be at for that particular date.

Monitoring Centre - Will, Si (Will designed it so he knows what needs to be done)
- Should be able to receive connections from cars ( We gonna use RMI for this?)
- Should be able to receive a request from a car to go to a particular parking space, calculate wether there is free space and send response
- Should be able to receive updates from cars on their current position and display them on a map

(For the next milestone i envisage that the administrator will be able to close roads and do the other admin type stuff)

Simulation Engine - Stu (Stu did the designs so can divide the work up)
- Should be able to parse the Simulation file (formats online) and create the appropriate instances of Monitoring Centre and however many cars are needed

(Mile stone after that should allow manual specification of events)

ICS - Dan, Jimbo

- Should be able to create a connection with a monitoring centre
- Should allow the driver to specify where they would like to park and send this request to the server
- Should be able to calculate a route to a given location, not taking into account the fact that they may change destination
- Should display the given information to the user onscreen

I think if we have a meeting tomorrow at 10:00am? let me know if thats a bad time and we can reschedule, it wont be a very long one just to discuss this milestone and what needs to be done so each sub group can make as much progress!

(If you still haven't finished parsing and drawing side of things get it finished before embarking on this as we can't progress until it's complete)

Dan

Tuesday, 12 February 2008

Email 12/02/08

Hey Guys,

Just to let you know I've put the MySQL database live on one of my webservers.

Here are the details for the server:

Hostname: mysql5.dns-systems.net
Port: 3307
Username: zgh1224_gvps
Database Name:
Password:

If you guys need to manage the database via phpAdmin then I can give you the address

Cheers guys,

Stu

Friday, 8 February 2008

Email 08/02/08

Hey Guys,

Right most of the code for the File Parser is finished now, if it isn't, just polish it off this weekend(And add the code into the FileProcessor class that will return the correct Vector) As you implement these pieces of code un-comment them in the MapModule file (They will just throw null pointer exceptions at the minute). We need to turn our attention to getting the MapModule class finished for Monday morning now if at all possible so we've got something to show Jon in the meeting.


The Work
If you look in the MapModule class and in the Map.* package you'll find that all objects that need to be drawn on the MapModule implements an interface called draw(Graphics2D g2). Now what the MapModule class does is each time we call for a repaint of the Map it cycles through everything that is draw-able (Roads, Traffic Signs (There all grouped under one Vector but the polymorphic element allows each one to be drawn differently), Buildings and calls the draw() method on them passing them the correct context making everything very easy for us =)

What I propose is that each person takes the objects they parsed and write the drawing code for it. It's dead easy to test it to because you can just add the code to the relevant draw() method in each Map object that you implemented and then hit run on the Test.java class which will show you the results of the effort. I'll work on getting the zoom/pan/alignment sorted then we should have a nice snazzy MapModule we can stick into the MonitoringCentre & ICS Modules.

I've been toying with the Roads this last week so there's already some code in the draw() method for that object it needs to be switched to support closed roads also.

To recap the work will be...

Will: (Drawing the buildings) - I was looking at how to do the cut outs, http://java.sun.com/docs/books/tutorial/2d/advanced/complexshapes.html << I think has everything you need

Si: Code for the CarParks (Perhaps and a colour scheme based on the current level in the Car Park?)

Jim: Entrance & Finish off remainder of the road code =)

Stu: The Traffic Signs object.

Dan: The zoom/pan/shit

The Future
After this week is over and we've got these common elements sorted we'll break down into smaller Dev teams to work on the individual modules so we can get a bit of head way!

Any Questions wazz me an e-mail

Dan

Next Milestone

Hey Guys,

Right most of the code for the File Parser is finished now, if it isn't, just polish it off this weekend(And add the code into the FileProcessor class that will return the correct Vector) As you implement these pieces of code un-comment them in the MapModule file (They will just throw null pointer exceptions at the minute). We need to turn our attention to getting the MapModule class finished for Monday morning now if at all possible so we've got something to show Jon in the meeting. 


The Work
If you look in the MapModule class and in the Map.* package you'll find that all objects that need to be drawn on the MapModule implements an interface called draw(Graphics2D g2). Now what the MapModule class does is each time we call for a repaint of the Map it cycles through everything that is draw-able (Roads, Traffic Signs (There all grouped under one Vector but the polymorphic element allows each one to be drawn differently), Buildings and calls the draw() method on them passing them the correct context making everything very easy for us =)

What I propose is that each person takes the objects they parsed and write the drawing code for it. It's dead easy to test it to because you can just add the code to the relevant draw() method in each Map object that you implemented and then hit run on the Test.java class which will show you the results of the effort. I'll work on getting the zoom/pan/alignment sorted then we should have a nice snazzy MapModule we can stick into the MonitoringCentre & ICS Modules.

I've been toying with the Roads this last week so there's already some code in the draw() method for that object it needs to be switched to support closed roads also.

To recap the work will be...

Will: (Drawing the buildings) - I was looking at how to do the cut outs, http://java.sun.com/docs/books/tutorial/2d/advanced/complexshapes.html << I think has everything you need

Si: Code for the CarParks (Perhaps and a colour scheme based on the current level in the Car Park?)

Jim: Entrance & Finish off remainder of the road code =)

Stu: The Traffic Signs object.

Dan: The zoom/pan/shit

The Future
After this week is over and we've got these common elements sorted we'll break down into smaller Dev teams to work on the individual modules so we can get a bit of head way!

Any Questions wazz me an e-mail

Dan

Friday, 1 February 2008

Email 01/02/08

Just to reiterate if your on windows you need to edit your server file at %appdata%\subversion\config\servers with the info below and if you get a error in netbeans about the server certificate not being trusted you need first go to the command line and issue any command with svn like:

svn info https://gvps-project.googlecode.com/svn/trunk/

and accept the certificate and then copy the subversion\auth\svn.ssl.server folder to replace c:\Documents and Settings\Stu\.netbeans\6.0\config\svn\config\auth\svn.ssl.server

If you need more help with the svn just give me a e-mail back and I'll try and help.

Stu

Dans original info:

(The common problem that I had was connecting behind proxy but Stu solved this solution is (if your a *nix junkie to add the following lines to your config file)

~/.subversion/config/servers


[groups]
googlecode = *.googlecode.com

[googlecode]
http-proxy-host = wwwcache.lancs.ac.uk
http-proxy-port = 8080
http-timeout = 60
ssl-trust-default-ca = yes

and ensure that your IDE is also configured to work from behind the proxy as well!

Email 01/02/08

Hey Guys,

Really sorry about the delay, been properly busy the past couple of days! All the same I've put down the ground work (A selection of classes for the map data and a class to encapsulate the Map)

I've also created a class called FileProcessor which has one public static method called processFile(String)

I was thinking that implementing each processor in a different class is gonna start making things very difficult so what I've done is produced a method in the FileProcessor class for each of the files and kindly pass you an InputStream object referring to the particular files you were all assigned. (I've amalgamated buildings_details.csv and buildings.txt into the same class (as they are encapsulated this way so a little bit of post processing with be required here to get it all together and return the Vector.

Take some time to figure out were your input is required and what classes are there and knock out the code =)

As for SVN stuff we've got a hosting solution from Google code for free for upto 100Mb, I use Eclipse for coding and have configured that fine. I'll add you all as projects owners (Stu is one already) you can simply follow the instructions on the website for details on how to configure your IDE

(The common problem that I had was connecting behind proxy but Stu solved this solution is (if your a *nix junkie to add the following lines to your config file)

~/.subversion/config/servers


[groups]
googlecode = *.googlecode.com

[googlecode]
http-proxy-host = wwwcache.lancs.ac.uk
http-proxy-port = 8080
http-timeout = 60
ssl-trust-default-ca = yes

and ensure that your IDE is also configured to work from behind the proxy as well!

Anyone got any votes for a meeting next Monday? in the time we would of normally had a meeting with Jon? OR a meeting on Wednesday at 11?

Dan