Complete poseToRanges() function.
Use the new corobot_core library.