Simulation runtime is very long when video visualization is enabled.
Video visualization is currently achieved by:
- Generating plots with Matplotlib and saving as images in an images folder in root directory of branch
- OS gets each image in images directory and joined to a list.
- Unsorted images list is sorted in lexicographic order of file name > e.g. image_1, image_2, image_3...
- Each image is eventually joined and converted to video using OpenCV
Problem Identified
The I/O operation of accessing folders and accompanying processes seems to slow the whole program.
Simulation runtime is very long when video visualization is enabled.
Video visualization is currently achieved by:
Problem Identified
The I/O operation of accessing folders and accompanying processes seems to slow the whole program.