A queue was also added for each track, in order to track how many trains are on the track. The queue will also help detecting whether the tracks will really follow a First In-First Out order.
The visualization rules will be defined in the QML JavaScripts. C++ will send the new states of the stations and trains.
The next steps will be to fix the tracks in QML and to add the trains to the QML map and update them.
No comments:
Post a Comment