Hello All,

I am using Tython scripting interface with the Tinyviz visualizer to
interact with the running simulation.

I used the following comand to invoke the tyhon command line and tinyviz to
connect to the simulator.

                   $> tinyviz -run build/pc/main 3

Tython command prompt is displayed and the TinyViz is also connected to the
simulator. I am also able to import simcore module with the command "from
simcore import * " and can use the commands like sim.resume() and sim.pause
().
But when I try ti import the modules like simutil and simtime, I am getting
the following error

from simutil import *
Traceback (innermost last):
 File "<input>", line 1, in ?
ImportError: no module named simutil

I need to import simutil and simtime modules so that i can register events
with the simdriver and make them to execute periodically.

Help regarding this is greatly appreciated.

Thanks and regards,
Sandeep Pulluri
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to