Skip to content
Snippets Groups Projects
Unverified Commit e5a099ed authored by Guilhem Saurel's avatar Guilhem Saurel Committed by GitHub
Browse files

Merge pull request #84 from florent-lamiraux/devel

[tools] Replace '/' by '_' in filenames for traces.
parents 3d7a37d3 3afbcda6
No related branches found
No related tags found
No related merge requests found
Pipeline #17954 failed
......@@ -9,7 +9,7 @@ def addTrace(robot, trace, entityName, signalName, autoRecompute=True):
Add a signal to a tracer and recompute it automatically if necessary.
"""
signal = '{0}.{1}'.format(entityName, signalName)
filename = '{0}-{1}'.format(entityName, signalName)
filename = '{0}-{1}'.format(entityName, signalName).replace('/', '_')
trace.add(signal, filename)
if autoRecompute:
robot.device.after.addSignal(signal)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment