AP_Compass new API with compilation errors