Sir John Barton also invented a floating compass.
The context of the sentence suggests Sir John Barton invented a unique type of compass that floats, potentially for use in specific situations or environments where traditional compasses might not be practical.