Error in motor command