[ros] fix translation of arrays of 32-bit floats, see #313