The picture above is the raw GPS track, and the picture below is the path generated by the HMM algorithm(connecting the nodes on the edges of the path). It seems like the result has some detour compare to the raw GPS track, where I use red line to emphasis. I think there are some missing information in the road network or some bugs in the createRouter().calcPath() method. So how can I avoid this? Hope someone can help me, thank you very much!