An medical device, comprising an elongate shaft extending along a shaft longitudinal axis and comprising a shaft proximal portion and a shaft distal portion that is sized and configured for insertion into a body. An active magnetic position sensor can be disposed within the shaft distal portion.