PlotJuggler icon indicating copy to clipboard operation
PlotJuggler copied to clipboard

[Feature Request] Skip point in custom timeseries

Open Bartimaeus- opened this issue 3 years ago • 1 comments

There are some cases where it would be nice for a custom time series to selectively "skip" one or more points. This would be especially useful for filtering data.

Presently returning math.NaN, nil, or nothing result in a semaphore error

Example: custom time series that is only the data from the first day of a timeseries

image

Interestingly, returning "math" does seem to let you skip points (bug or feature?): image

You could decide to return 0 when outside the range, but that throws off data statistics like average.

Bartimaeus- avatar Jul 18 '22 16:07 Bartimaeus-

Returning an empty table seems to work: return {}

ssys-zdavis avatar Aug 26 '22 18:08 ssys-zdavis