Closed sbourdeauducq closed 7 years ago
t1 = now_mu()
self.core_dma.replay("blink")
t2 = now_mu()
print(t2-t1)
incorrectly prints 0.
@sbourdeauducq This is how I understood the specification.
replay
should advance the timeline?now
difference in record
, or from the actual recorded messages?Do I understand it right that replay should advance the timeline?
Yes.
What is the length of a replay, then?
It should be as if the content of the with record
had been inserted instead of the replay
, in this case 5(100+250)+5(50+150) ms. In other words, value of now
at the end of the with
block, minus value at the beginning. How did you understand the specification otherwise?
This started occuring after 28211e0b32f92e73a650364f129ce4cc9ba7aac2.