The issue start with the different kinds of data. We got 1903 light data from sensor which was based on time, and got 107 GPS points which was based on distance.
So, the problem need be solved here is interpolate more GPS points for each light data. Here is the JAVA program.
STEP 1, IMPORT DATA
STEP2, INTERPOLATE DATA
STEP 3, EXPORT DATA
With this program we got a new CSV files with 1903 data include light data and gps data. Here is the QGIS visualize the data. (The blue point is the original 107 GPS points we got, the red point between is the new point we interpolate.)