|A processor that prints the position of its owning node into a log file. More...|
|The factory class for the LogMovementProcessor. More...|
|Loads and represents a SUMO network. More...|
|Moves nodes based on a SUMO dump file. More...|
The SUMO Application offers access to the files of the network simulator SUMO.
sumo::SumoNet parses a SUMO network file and offers its content to the simulation. It can also translate between world coordinates and edge-based coordinates.
sumo::SumoNodeMovementCreator parses a SUMO dump file, which contains the node movements. According to the dump file, it creates, moves and deletes the nodes in the simulation. To realise this, it implements a shawn::NodeMovementCreator.
For test purposes, it contains the sumo::LogMovementProcessor. This processor puts out the position of every node in a log file. This helps to verify that the application works correctly. The sumo::LogMovementProcessor resides in the folder log_movement_processor.
Usage in the Shawn configuration file:
node_movement mode=sumo net_file=NET dump_file=DUMP processors=PROCESSOR
You can test the application with the following Shawn configuration file:
prepare_world edge_model=simple comm_model=disk_graph range=100 node_movement mode=sumo net_file=NET dump_file=DUMP processors=log_movement simulation