robotino: fix double unit conversion for API 1