rillrate icon indicating copy to clipboard operation
rillrate copied to clipboard

pulse max sample count

Open lelongg opened this issue 4 years ago • 2 comments

How about adding a constructor to pulse for specifying the max sample count to store ?

lelongg avatar Mar 19 '21 10:03 lelongg

Thanks! No problem, I think we can do it for the next release.

In general, do you want to store more or less data? Or the chart is rendering wrong? Or maybe you want to keep the data by a time interval instead of explicit quantity?

therustmonk avatar Mar 19 '21 17:03 therustmonk

In this case, I would like to store more data. I would not say that the chart is rendering wrong but it's definitely strange. I update the pulse at 100Hz and the left end of the chart is always flat like in the screenshot below. I assume the old samples are thrown away before being able to reach the left end.

image

Being able to have a fixed time window for the chart would also do the job, maybe even better since in some use case I don't always have a fixed sample rate.

By the way I use rillrate to display live data from a robot and it's very nice. It looks like its going to be the tool I missed for so long. Thanks for your work !

lelongg avatar Mar 19 '21 19:03 lelongg