Put all the encoder code into the phidget_motor package instead of corobot_phidget_ik as it is more appropriate that way.
Not tested yet.