Bug 2504

Summary: Visualizer, Animator, and Flow Monitor are unable to trace WAVE packets, checked using vanet-routing-compare.cc
Product: ns-3 Reporter: Adarsh Patel <adarshpatel>
Component: netanimAssignee: John Abraham <john.abraham.in>
Status: PATCH PENDING ---    
Severity: normal CC: linlinjavaer, ns-bugs, riley, tomh
Priority: P5    
Version: ns-3.23   
Hardware: All   
OS: All   
Attachments: 1. enable visualize for wave
2 enable netanim for wave
enable netanim for wave (revised)
enable visualizer for wave (revised)

Description Adarsh Patel 2016-09-18 21:17:51 EDT
I am receiving data through callback functions for example "wave-simple-device.cc" given in WAVE module and other examples too on NS-3.23, but unable to trace packets on Visualizer, Animator, as well as on Flow Monitor too.
Comment 1 Adarsh Patel 2016-09-18 21:27:39 EDT
But If I choose Wifi80211pHelper instead of waveHelper it is working.
Comment 2 Junling Bu 2016-09-23 07:46:43 EDT
Created attachment 2595 [details]
1. enable visualize for wave
Comment 3 Junling Bu 2016-09-23 07:47:18 EDT
Created attachment 2596 [details]
2 enable netanim for wave
Comment 4 Junling Bu 2016-09-23 07:48:03 EDT
Please test the patches 1& 2, which I think can fix the reported bug.
Comment 5 Tom Henderson 2016-10-02 01:38:22 EDT
Created attachment 2601 [details]
enable netanim for wave (revised)
Comment 6 Tom Henderson 2016-10-02 01:38:56 EDT
Created attachment 2602 [details]
enable visualizer for wave (revised)
Comment 7 Tom Henderson 2016-10-02 01:41:43 EDT
I updated the patches to ns-3-dev, since they did not apply cleanly.  I just compiled but did not further test them.  

The netanim patch should be looked at further because in the revised patch, it is patching a method that has been refactored to what is called AnimationInterface::GenericWirelessTxTrace (), but the changes being introduced in the patch are no longer generic but are instead specialized to Wifi and Wave device types.