Subject: NetAnim Not Showing Packet Animations Despite Enabling Route Tracking in TDMA Simulation

42 views
Skip to first unread message

Pratyush Sharma

unread,
Jul 11, 2025, 1:09:06 AM7/11/25
to ns-3-users

Hi everyone,

I'm working on a custom TDMA-based duplex communication simulation in ns-3 (version 3.42) using WiFi, and I’ve enabled NetAnim visualization successfully. I can see all nodes (UEs and base station) positioned correctly, and the simulation runs without errors.

However, the issue is that no packet animations appear in NetAnim — I only see the nodes.

Link to code: https://github.com/Pratyushs411/ns-3/blob/main/mobilityTDMA.cc

Screenshot 2025-07-11 at 10.37.00 AM.png

Tommaso Pecorella

unread,
Aug 30, 2025, 7:56:52 AM8/30/25
to ns-3-users
Hi,

thanks for reporting this. We're aware that NetAnim is in dire need of some bugfixes, but currently we lack a maintainer expert on QT (any help is appreciated).

I got reports that older NetAnim versions might be working, so my best advice is to try an older version.

Tom Henderson

unread,
Aug 31, 2025, 8:17:02 AM8/31/25
to ns-3-...@googlegroups.com
There was a recent bugfix commit to fix wireless animations, so I
recommend instead to try the latest development version of NetAnim, or
at least make the below change in your NetAnim code and rebuild it:

https://gitlab.com/nsnam/netanim/-/commit/efac0f0339c7367588ed655f3c4a1662ba017a6b
Reply all
Reply to author
Forward
0 new messages