Closed SAMPROOO closed 5 years ago
When the loop starts the and calculates sleep_time, the value that it outputs is wrong. This is because timestamp_previous is not a timestamp but 0.0 as it was defined as the starting value.
sleep_time
timestamp_previous
Thank you!
When the loop starts the and calculates
sleep_time
, the value that it outputs is wrong. This is becausetimestamp_previous
is not a timestamp but 0.0 as it was defined as the starting value.