Implement trajectory format with Google's Protocol Buffer