A robotic catheter system includes a drive mechanism comprising a drive which interacts with a catheter device to cause the catheter device to move along its axis. An encoder assembly detects the motion of the catheter device by a magnetic interaction with the catheter device.