I was wondering how a rocket adjusts its position to ensure it takes the desired path. What sensors, or generally technology, are used to gain data on the rocket's position, where it is heading and the rocket's orientation?
Additionally, is processing of the data from the sensors required before feeding the data to the output devices or actuators of the rocket? For example the engine or the fins in order to adjust the rocket's position. If so what processing occurs?