Replies: 1 comment 1 reply
-
Overall, I am just looking for ways to optimize my model since it will be used as a "game" of sorts and as close to "real-time" outputs are desired. I'll paste my full model below if more information is required.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My model begins by initializing agents with the network skill and creates a UDP server for each of them:
Next, the agent fetches the message from the network and then sets it's location based on the point included in the message contents:
Now, while this works and the agents move smoothly, the changes lag behind. The UDP client is publishing information at a rate of 120 hz and it should be much faster. Could the networking components not handle the fast rate? Or is the message buffer affecting the message fetch? I am not sure and would appreciate some help or advise if possible. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions