position from a txt file

28 views
Skip to first unread message

fatima zahra rabahi

unread,
Nov 5, 2019, 1:32:34 PM11/5/19
to ns-3-users
hello i have a txt file that contains the position of the nodes at every moment and i want to implement it in my programe so that every node moves with the coordinates that exists in this txt file
I have 5 moving nodes
here is a part of this txt file
"now=+101.6706s node=1 pos=-1.546:390.8718
now=+101.6706s node=2 pos=-9.4844:401.8545
now=+101.6706s node=3 pos=-4.9024:180.5475
now=+101.6706s node=4 pos=3.29:226.3234
now=+101.6706s node=5 pos=0.77161:6.4154"
thank you for proposing me a solution to this problem

Sheshmani Yadav

unread,
Nov 5, 2019, 1:34:42 PM11/5/19
to ns-3-...@googlegroups.com
Even I also have same question.
If you get please let me know.

Thank you!

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/53da726c-d6b7-43f9-9b07-5e56048cd1f4%40googlegroups.com.

fatima zahra rabahi

unread,
Nov 5, 2019, 1:36:24 PM11/5/19
to ns-3-...@googlegroups.com
ok thank's

You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/ILX0wSafm1M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/CAFYh_oy-gv4k0cMsHaP2UhkQLv99qVXq4sdGPtoZ%2BsUyyX2bUQ%40mail.gmail.com.


--
Rabahi Fatima Zahra
PhD Student
Laboratoire des Structures Intelligentes(SSL Laboratory)
Centre Universitaire Ain Temouchent 


E-mail:  

fatima zahra rabahi

unread,
Nov 10, 2019, 6:13:37 AM11/10/19
to ns-3-...@googlegroups.com
any solution please

Reply all
Reply to author
Forward
0 new messages