So I am working on a project to test intelligent traffic lights. So traffic lights will adjust the green light according to how many cars are present on the roads. I have foudn the following simulator online available with source code; [url removed, login to view]
This simulator consists of two components, the editor and the simulator.
The editor enables you to build the road network and add traffic lights. If you right click on a road you can specify the number of cars which spawn on each road.
Traffic lights time can be set by right clicking also.
Problem: However I have a problem for the timings. This simulator only lets you change the green light time for all roads. I need to be able to change the green light timings for each road. So if Road A has heavy traffic, the green light will be longer (for example 40seconds) and road B which has few cars, will only have a green light for short time (10 seconds)
This is the major feature upgrade I require in the editor. Refer to attachment [url removed, login to view]
In the simulator a number of statistics are displayed in red at the top left of the window. In addition to these statistics I require two more which are;
- Time of cars spent stationary in the current session (in seconds)
- Time elapsed in current session (in seconds)
I require is to save the statistics to a csv file. The text file should be able to be opened in Microsoft Excel with the following information (see attached [url removed, login to view])
The last feature I require regards the pause button. Currently when the simulation is running and the pause button is clicked, and go back to editor, the session is lost and the simulation is restarted. I will need to pause the simulation at any time and edit the following two variables;
- Car spawn rate of roads
- Green light timings for each road
So during the simulation, I will need to pause the simulation and edit the variables mentioned. If this is not possible during simulation. I will need to save the session, and open it again, so I can change the variables.
One last thing, please let me know what IDE you will be using, I have netbeans and eclipse. However I would prefer it if you send me the source code for the netbeans IDE.
Thank you for your time and I am looking forward to doing business with you.
4 freelance ont fait une offre moyenne de 238 $ pour ce travail
Hello, I am a Java expert and I have the necessary skills to implement your desired updates to the system. It sounds like an interesting project and I would be glad to work on that.