Added the option to discretize sensor readings on the control_motion node.