How does Terrain Compensation work?

17 Views Asked by At

Does anybody know the math behind terrain compensation? All I know is that to make these calculations, sensors such as accelerometers and gyroscopes, are mounted in different axes to compensate for roll, pitch, and yaw. What equations/formulas are used to convert the data from the sensors and figure out the correct position?

Example of Position Error