-
ethanjwilliams authoredethanjwilliams authored
For Homework 3, I modified the OpenDIS ExampleSimulationProgram to enhance its functionality by experimenting with entity enumeration values and adjusting the network communication setup. On the networking side, I configured the program to use UDP multicast for distribution of the PDUs across multiple participants in the simulation. I did this to attempt to create the low-latency communication needed in large-scale simulations, where UDP's minimal overhead is advantageous, and multicast ensures that updates reach all clients at the same time. I also enabled verbose logging to facilitate debugging. Additionally, I adjusted the simulation loop to increment Entity 1’s position in each iteration, simulating movement, and set the loop to run for a maximum of 10 iterations. In my opinion, these changes improve the program’s ability to simulate realistic scenarios while maintaining network communication.