TrafficSystemMock is an program that simulates traffic, you can:
- build a MapFile & Roadways
- move a Vehicle along a path
- use TrafficDetectors to detect & get movement info about the vehicles
- start the server -- run Java (Javafx & Spring & Mysql)
- open the html file -- run Javascript (React)
- create the demo (Map & Vehicle)
- place vehicle in map
- click & move the vehilce in the map
- ...
- Java
- JavaFx
- Hibernate
- Mysql
- Spring
- Javascript
- Typescript
- React
- SpringMvc
- Websocket (minor)
- RxJava (minor)
- H2 (minor)
- TestFx
- this is an experimental project (incompleted)
- no documentations is written
- no code comments
- ... (incompleted design & functionalities)
-
TrafficSystem - focus mainly on
- freehand movement (control like in RTS, there is no Path to restrict the movement)
- find path algorithm (though many attempts, the algorithm ends up fall back to the original old way)
- collision detection
-
TrafficSystemMock - focus mainly on
- path connection design
- persistence to database
- movement animation mechanism (speed & batch) (though, not much better)
- TrafficDetector
- design webpage app in React; communication bt Javascript & Java;
-
(will fix the project naming problem)