added function fromROSMsg and corrected a spelling mistake
now works with distributed descriptor computation, also catches some errors