Page 1 of 1

Traffic Simulator

Posted: Wed Jun 12, 2013 7:54 am
by dejai
As part of a machine learning assignment (building a reinforcement learner for traffic lights) I had to build a traffic simulator and I wanted to make it easy to build new traffic situations and visualise how efficient the learner was at minimizing the total waiting time of cars. I decided I would use Irrlicht because I am pretty familiar with it and it works on everything ever made (including the ancient debian system at my university). Here are some screen shots of it:

Screenshots
Image
Image
Image

Youtube Video
https://www.youtube.com/watch?v=bgT7ovqGHM8

Conclusion
It was really fun getting back into using Irrlicht, I used to play around with it a lot when I was 13-15. Probably one of the nicest things was that I could just compile it into a static library and everything worked as expected, I didn't have to mess around with converting things to random xml formats. Getting a free xml parser in irrlicht was also great made loading in the maps really simple.

Re: Traffic Simulator

Posted: Wed Jun 12, 2013 12:59 pm
by Rusk
Looks cool. I wish they used something like this where I live. Instead, I'm sure they have a system that can identify my car and make me wait as long as possible.