Method: Roby::Log::EventStream#next_time

Defined in:
lib/roby/log/event_stream.rb

#next_timeObject

The time we will reach when the next sample is processed



90
91
92
93
94
95
# File 'lib/roby/log/event_stream.rb', line 90

def next_time
    return if index_data.empty?
    if index_data.size > current_cycle + 1
 Time.at(*index_data[current_cycle + 1][:start])
    end
end