Design and validation of an attitude and heading reference system for an aerial robot prototype