toward RC CAR

What conclusions can be drawn from here?

That your problem is in the mapping function. In addition to printing the joyh value before mapping, you should print it again after the mapping.