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?