Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

graph plot of cooja simulation output #2498

Open
Dipen404 opened this issue Jul 18, 2018 · 5 comments
Open

graph plot of cooja simulation output #2498

Dipen404 opened this issue Jul 18, 2018 · 5 comments

Comments

@Dipen404
Copy link

How can i plot graph from simulation output such as OF0 vs ETX. I also need to plot graphs related to energy consumption,packet delivery ratio,network convergence time,latency,hop count

@lamnd09
Copy link

lamnd09 commented Jul 24, 2018

Hi,
Obviously, you can collect output from Cooja and plot the graph.
On other metrics, it's up to program/application running on your nodes.

@Dipen404
Copy link
Author

@lamnd09 thanks for the reply. I have read we can plot graph using perl script, but i don't have much more ideas on that. Can you help me with this?

@lamnd09
Copy link

lamnd09 commented Jul 24, 2018

Hi,
On energy consumption, you can use powertrace to measure it as instructions followed this link: http://thingschat.blogspot.com/2015/04/contiki-os-using-powertrace-and.html

PDR, Latency, hopcount, it's up to your application, read the output from cooja, export as text file, then use a python or perl script to read as casual.

@Dipen404
Copy link
Author

@lamnd09 thank you. But i don't know about perl script. It would be thankful if you can guide me to read the text files using perl script to plot graph

@dharejo
Copy link

dharejo commented Oct 19, 2019

hi, i am just taking 10 motes of same type and testing their graph.
em not modifying code just using cooja example shell.c for simulation. but getting 0.0 latency graph can one help me how to plot graph of latency.

Latency

alexrayne pushed a commit to alexrayne/contiki that referenced this issue Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants