this would be more logical for altitude information, the car should use GPS and topography information to know if your coming to a grade and to start accelerating to match the grade as well as applying dynamic braking and downshifting on steeper grades, this could be combined with accelerometers as well.