// Create Ns2MobilityHelper with the specified trace log file as parameter
Ns2MobilityHelper ns2 = Ns2MobilityHelper (m_traceFile);
ns2.Install (); // configure movements for each node, while reading trace file
// initially assume all nodes are not moving
WaveBsmHelper::GetNodesMoving ().resize (m_nNodes, 0);
--Séanadh Ríomhphoist/
Email Disclaimer
Tá an ríomhphost seo agus aon chomhad a sheoltar leis faoi rún agus is lena úsáid ag an seolaí agus sin amháin é. Is féidir tuilleadh a léamh anseo.
This e-mail and any files transmitted with it are confidential and are intended solely for use by the addressee. Read more here.
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 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/korTZCgR15w/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/f3a56a3b-1875-4e52-9297-acfe3077213f%40googlegroups.com.
As far as I know, the speed specified in the sumo file is final. Which is there other way of specifying speed ?
On Sat, Feb 8, 2020, 6:31 AM Zenouska Murphy <zenousk...@mail.dcu.ie> wrote:
When implementing your own mobility file, you are asked to fill in the node speed. Does this speed override the speeds of each vehicle in the mobility file you are using or is this speed entered ignored?
On Thursday, 6 February 2020 10:46:01 UTC, Sunny wrote:Hi dear,Yes, you can easily incorporate your own mobility scenario (generated by SUMO) in the same program "vanet-routing-compare.cc" just by replacing the existing mobility file name in your own file and give the option of scenario=2 while running the program. and dont forget to mention the number of nodes and ofcourse simulation time.Hope this helps you.
On Tuesday, February 4, 2020 at 2:46:57 AM UTC+1, Boong Baang wrote:I implemented a basic VANET scenario where the vehicles move in a fixed speed throughout the simulation and broadcasts BSMs using WAVE. If I want to modify the code so that the vehicles move in changing speeds, i.e. it doesn't move at constant speeds throughout the simulation, how should I do that ?I also need to ensure that the scenario is realistic. Eg. if a vehicle is changing speed, the vehicle behind it responds and decreases it's speed or moves into a different lane. How should I go about implementing it ?I found that we can construct a realistic mobility scenario using SUMO. So if I import such a scenario, how do I replace my old mobility model with the new SUMO scenario. I found the program "vanet-routing-compare.cc" has an option of incorporating such SUMO files (after appropriate changes), but how do I do it for the my program.I am attaching the original ns3 program, please let me know of any ways using which I can incorporate realistic mobility for the vehicles.
--Séanadh Ríomhphoist/
Email Disclaimer
Tá an ríomhphost seo agus aon chomhad a sheoltar leis faoi rún agus is lena úsáid ag an seolaí agus sin amháin é. Is féidir tuilleadh a léamh anseo.
This e-mail and any files transmitted with it are confidential and are intended solely for use by the addressee. Read more here.
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 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/korTZCgR15w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-...@googlegroups.com.
On 08-Feb-2020, at 14:47, Zenouska Murphy <zenouska...@mail.dcu.ie> wrote:
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/a0cfcbe9-b111-4948-a8af-eb38cc6bb3f7%40googlegroups.com.
<ns3.JPG>