How to generate a 'tacefile.tcl' for Mobility module to use by 'bonnmotion' ?

45 views
Skip to first unread message

Frank Wang

unread,
Feb 28, 2017, 8:12:41 PM2/28/17
to ns-3-users
I download bonnmotion and tried, then encountered with some trouble. After getting two result files from bonnmotion and going to use 'tclsh source' to generate the tcl file I wanted.
I was doing it like this :
./bm -f my_scenario RandomWalk -n 20 -d 600 -x 99999 -y 99999 -z 99999 -h 500 -l 100 -p 20 -s 20000                                                                        
./bm NSFile -f my_scenario

dtn-012345@ubuntu:~/ns-3_build/ns3-dtn-bit/bonnmotion-3.0.1/bin$ tclsh
% source my_scenario.ns_params
600.0
% source my_scenario.ns_movements
can
't read "node_(0)": no such variable
%


Can anyone tell me how to do it right?

Tommaso Pecorella

unread,
Mar 4, 2017, 5:53:28 PM3/4/17
to ns-3-users
Attach the my_scenario.ns_movements file. Without it, how can we do an even educated guess ?

T.
Reply all
Reply to author
Forward
0 new messages