It could but I consider the implementation in Attitude/attitude.c as essentially legacy code and I'd rather keep sensors.c standalone rather than refactoring these into a common library.  I could be coerced though.