You can calculate the orientation with the rotation rate. For example, I calculate the orientation of my rocket this way. A very cheap chip for this job would be the MPU6050 a more expensive one would be BN055 (if you are planing on longer measurements probably the way to go because of low drift)