Library for a GPS vehicle sensor