You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using PlotJuggler for plotting and filtering creating graphs from sensor data timeseries in csv files. It's very easy to use and has exactly the filters I want: integral, derivative, moving average.
The only problem I have so far is that there is no linear trend removal, which is crucial when using the integral function. Unfortunately, I cannot add a Lua-based filter with trend removal because the filter needs to know the total number of the elements of the timeseries. I simply do not know and cannot find how to access this information*. It seems that the Lua extension of PlotJuggler only supports operations on one value at a time and it does not provide an object (or array) for accessing the whole timeseries. Could you please help?
*Edit for clarification: It is easy to calculate the number of the elements of the timeseries once (PlotJuggler already has a filter for that) but I cannot use this number as a global variable in a new function on the same timeseries.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using PlotJuggler for plotting and filtering creating graphs from sensor data timeseries in csv files. It's very easy to use and has exactly the filters I want: integral, derivative, moving average.
The only problem I have so far is that there is no linear trend removal, which is crucial when using the integral function. Unfortunately, I cannot add a Lua-based filter with trend removal because the filter needs to know the total number of the elements of the timeseries. I simply do not know and cannot find how to access this information*. It seems that the Lua extension of PlotJuggler only supports operations on one value at a time and it does not provide an object (or array) for accessing the whole timeseries. Could you please help?
*Edit for clarification: It is easy to calculate the number of the elements of the timeseries once (PlotJuggler already has a filter for that) but I cannot use this number as a global variable in a new function on the same timeseries.
Best regards
Beta Was this translation helpful? Give feedback.
All reactions