Another > assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName:

3,466 views
Skip to first unread message

Luiz Baroni

unread,
Jan 9, 2015, 7:10:30 AM1/9/15
to ns-3-...@googlegroups.com
Hello community,

I've been using NS-3 for a few months now, and i decided to created a new Mobility Model, based on an OMNET++ model i found. I used the gauss-markov-mobility-model as a base for the general structure. When i tried to test it, this error came up:

'build' finished successfully (2.506s)

assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: ns3::PaparazziMobilityModel not found", file=../src/core/model/type-id.cc, line=539

terminate called without an active exception
Command ['/home/luiz/ns-3/ns-allinone-3.20/ns-3.20/build/scratch/paparazzi'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").

the files are in the correct path (.../ns-3.20/src/mobility/model $), and i'm using NS-3.20
i'm sending attached the files, and the example i created.
Anyone has any idea whats going on?
paparazzi.cc
paparazzi-mobility-model.cc
paparazzi-mobility-model.h

Konstantinos

unread,
Jan 9, 2015, 7:32:21 AM1/9/15
to ns-3-...@googlegroups.com
Hi Luiz,

Have you added the paparazzi-mobility files in the wscript file of mobility module so as to include them in the build?
The process of adding a new model in NS-3 is explained in the manual here http://www.nsnam.org/docs/release/3.21/manual/html/new-models.html

Regards,
K.

Luiz Baroni

unread,
Jan 9, 2015, 7:52:04 AM1/9/15
to ns-3-...@googlegroups.com
Ow, forgive me for not reading the basics. Haha Thank you very much!! =D

zhou...@mail.ustc.edu.cn

unread,
Sep 13, 2016, 2:50:12 AM9/13/16
to ns-3-users
I also come across this problem now.So could you tell me  how  you solved it? thanks

Konstantinos

unread,
Sep 13, 2016, 3:51:07 AM9/13/16
to ns-3-users
Hi,

If you have the same problem, then the solution is described above.

Regards,
K.

st11...@ait.asia

unread,
Nov 28, 2017, 7:03:16 PM11/28/17
to ns-3-users
I could no make it .I am using version 3.26

Raju Dhakal

unread,
Nov 29, 2017, 2:32:53 AM11/29/17
to ns-3-users
Dear sir , 
I tried to use paparazzi model in my ns3 version 3.26. But it did not work. Do you have any idea? 
--
Raju Dhakal(st119017)

Raju Dhakal

unread,
Nov 29, 2017, 3:20:52 AM11/29/17
to ns-3-users
Can you please help me ?
Iam in big trouble for simulating drones as DTN ferry.
--
Raju Dhakal(st119017)
Reply all
Reply to author
Forward
0 new messages