Presentation is loading. Please wait.

Presentation is loading. Please wait.

JLSim – customizable traffic simulation application

Similar presentations


Presentation on theme: "JLSim – customizable traffic simulation application"— Presentation transcript:

1 JLSim – customizable traffic simulation application
Goals: a) Powerful GUI with strong user interaction. (contrary to web applets)‏ b) Accurate traffic simulation using various algorithms c) [Eventually] -> Crash Analysis JLSim – customizable traffic simulation application Jinyu Liu Pd. 3

2 Visual Traffic Simulation
“VISSIM” by Tom Fotherby Education/Project/index.html - 11,000 lines of Java code, fully featured traffic simulation with customizable user interface. - Microscopic traffic approach.

3 The Thing That Failed (1st Quarter):
- GLUT/OpenGL - SDL/OpenGL Various C GUI's – MUI, PLUI, GLUI Switch->: Java -Includes buttons, checkboxes, textboxes within the swing class. -NetBeans = easy GUI creation. -Netbeans 3.6 vs. netbeans 5.5.1, forms aren't compatible

4

5 Second Quarter: There were still compatibility issues between
versions of NetBeans 3.6 [school] vs 5.5 [home] -> form compatibility issues

6 NetBeans Form Designer
-Options available as of now -Obvious ones missing are 1) acceleration 2) reaction time 3) individual car adding 4) traffic light duration and frequency.

7 Application Design -> Jmenu: File, Edit, View, Help File -> Scenario (load/save)‏ Edit -> Add roads, intersections should automatically be added. View -> Zoom Options (not yet implemented)‏ Help -> About + Help tool (not yet and might not be implemented)

8

9 4th Quarter Goals: 1) Add more GUI functions like being able to modify acceleration, light length times, and braking distance along with traffic signal variables. 2) Implement intersections + traffic lights (auto creation at position where vertical road + horizontal road intersect. 2a) Implement various traffic algorithms (for braking and accelerating and general movement)‏ 3) Begin implementation of Design mode (if time allows) -> This would allow users to automatically add roads onto a grid placed on the background of the traffic simulation. 4) Simple data output to text file.

10

11 If I Had More Time... -Working dynamic lights + accurate collision detection -Braking distance user-defined variable -More extensive data output options/statistical analysis of results FIN


Download ppt "JLSim – customizable traffic simulation application"

Similar presentations


Ads by Google