public void RosValidate() { if (Accel is null) { throw new System.NullReferenceException(nameof(Accel)); } Accel.RosValidate(); if (Covariance is null) { throw new System.NullReferenceException(nameof(Covariance)); } if (Covariance.Length != 36) { throw new RosInvalidSizeForFixedArrayException(nameof(Covariance), Covariance.Length, 36); } }