William Frederick, 2nd Duke of Gloucester and Edinburgh (1776-1834)/sensor