4 from __future__
import print_function
7 def addTrace(robot, trace, entityName, signalName, autoRecompute=True):
9 Add a signal to a tracer and recompute it automatically if necessary.
11 signal =
"{0}.{1}".format(entityName, signalName)
12 filename =
"{0}-{1}".format(entityName, signalName).replace(
"/",
"_")
13 trace.add(signal, filename)
15 robot.device.after.addSignal(signal)