Mobile Spatial coordinate Measuring System: localization and system diagnostics