To view this discussion on the web visit https://groups.google.com/d/msgid/castalia-simulator/b6829be1-169f-4db2-a3f0-6cd7191fe49b%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "Castalia Simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castalia-simula...@googlegroups.com.
To post to this group, send email to castalia-...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Castalia Simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castalia-simula...@googlegroups.com.
To post to this group, send email to castalia-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/castalia-simulator/b6829be1-169f-4db2-a3f0-6cd7191fe49b%40googlegroups.com.
Also: don't forget to erase the Castalia-Trace.txt after each simulation. Do you have any idea how the script behaves for multiple runs?
2014-03-06 13:56 GMT+00:00 Simon Hook <hook....@googlemail.com>:--I forgot to mention that, make you sure to uncommentSN.node[*].MobilityManager.collectTraceInfo = truein the omnetpp.ini file before running the simulation, or there won't be any data about the movement to parse!
On Thursday, March 6, 2014 2:48:21 PM UTC+1, Simon Hook wrote:Hey Guys,I wrote a little python script to visualize the movement of nodes in the network. This can be used to check if your MobilityManager works as intended and if you set everything up correctly in the omnetpp.ini file. It's VERY basic and probably prone to a lot of erros, so proceed at your own risk ;)I used python 2.7 and the latest version of pygame. Put the script in your castalia folder and run it with:python visualize_castalia.py Simulations/radioTestto show the movements of the radioTest simulation. Make sure you have actually run the simulation before, or else the script can't find the Castalia-Trace.txt file. Hitting Escape will stop the Simulation.I'm not sure if I'll put more work into this, because it could already be enough for my purpose and it's not really the focus of my work. Gotta check what my advisor says to it. If you extend it, please share the modifications so other people can also use them.I also found this comment in the group here and Rachids tool looks way better than my script, so keep an eye out for that! Anyway, here's a screenshot and here is the script.Best wishesSimon
José Miguel Catela
--
You received this message because you are subscribed to the Google Groups "Castalia Simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castalia-simula...@googlegroups.com.
To post to this group, send email to castalia-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/castalia-simulator/e2dcdbd8-d743-4ad6-895b-408df83a5780%40googlegroups.com.
Okay, I made a github repro here. The readme file has a description and a todo list in it.
--
You received this message because you are subscribed to the Google Groups "Castalia Simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castalia-simula...@googlegroups.com.
To post to this group, send email to castalia-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/castalia-simulator/10f9fd8c-52c1-48bc-9a6a-9c4e22e4ac48%40googlegroups.com.
Excellent! I'll refresh my python knowledge and start contributing to it.Thank you once again.
2014-03-06 16:56 GMT+00:00 Simon Hook <hook....@googlemail.com>:
--Okay, I made a github repro here. The readme file has a description and a todo list in it.
You received this message because you are subscribed to the Google Groups "Castalia Simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castalia-simulator+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/castalia-simulator/10f9fd8c-52c1-48bc-9a6a-9c4e22e4ac48%40googlegroups.com.
--
José Miguel Catela