Skip to content
Snippets Groups Projects
Commit 564f120a authored by ethanjwilliams's avatar ethanjwilliams
Browse files

Williams - Homework 3

parent 60bd7ce4
No related branches found
No related tags found
No related merge requests found
For Homework 3, I modified the OpenDIS ExampleSimulationProgram to enhance its functionality
by experimenting with entity enumeration values and adjusting the network communication setup.
Specifically, I changed the entities in the simulation to a Swedish Poseidon-class surface vessel
(Entity 1) and a Triton-class surface vessel (Entity 2) from the dis entities list.
I assigned Entity 1 to the friendly force and Entity 2 to the enemy force to simulate an adversarial scenario,
and I configured a FirePDU for Entity 1 with custom munition settings. On the networking side, I configured the
program to use UDP multicast for distribution of the PDUs across
multiple participants in a simulation environment. This choice was driven by the need for
low-latency communication in large-scale simulations, where UDP's minimal overhead is
advantageous, and multicast ensures that updates reach all participants simultaneously. I also
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, with the ability to terminate early if certain
conditions are met. In my opinion, these changes improve the program’s ability to simulate realistic
scenarios while maintaining efficient and responsive network communication.
\ No newline at end of file
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.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment