jakobaxelsson / sossim

A system-of-systems (SoS) simulator
MIT License
0 stars 0 forks source link

Add configuration parameters to additional classes #13

Closed jakobaxelsson closed 11 months ago

jakobaxelsson commented 11 months ago

Some classes contain hardcoded values, that should be given as configuration parameters instead. This also means that those classes need to take the configuration as an argument to the init function.

Classes that need to be considered are Agent, Space, and the user interface (could be some selections of what to view).

jakobaxelsson commented 11 months ago

Vehicle has been updated with configuration parameters. Remains to update the UI so that vehicle views take the max_load parameter into account, to draw a vehicle that always fits in the available space.

jakobaxelsson commented 11 months ago

Vehicle drawing has been fixed.

jakobaxelsson commented 11 months ago

Moved some parameters from TransportSystem to RoadNetworkGrid.