[Kst] [Bug 134987] New: Skipping frames sometimes misses the last point

Nicolas Brisset nicolas.brisset at eurocopter.com
Mon Oct 2 11:47:09 CEST 2006

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: Skipping frames sometimes misses the last point
           Product: kst
           Version: unspecified
          Platform: unspecified
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: nicolas.brisset eurocopter com

Version:           1.3.0 (using KDE 3.4.0, compiled sources)
Compiler:          gcc version 3.4.3
OS:                SunOS (sun4u) release 5.8

Kst is excellent when working with data sampled at different rates and coming from different files. There is however a small glitch that just caused some anger: when skipping points (e.g. read 1 sample per 25 frames) the last point may be omitted when the user expects it to be considered.

I'll attach a testcase soon, where you will notice the following:
- the vector read from the smaller file has 141 samples, which is correct considering the fact that the file provides 141 samples
- the vector read from the bigger file with skip activated (read 1 sample per 25 frames) has only 140 samples, while there are 3501 samples: we expected to find 141 samples as well (140*25=3500). 

This is surely a very small index issue somewhere (not in the datasourrce since skip is not implemented in the datasource), but in our case the missing point really is an issue because we want to know the final result accurately, and it is given by that last point!

More information about the Kst mailing list