inertial sensors, of course.
Do I really have to answer this? Toward the front of the car, aligned with the road, on the vector before yaw began, of course.
How do you think they know to activate lane-departure warnings, active yaw control, etc?
Yep, but now there are smart people (and...