Many insects that are active at night use long antennae to navigate. Males of the American Cockroach, Periplaneta americana, can have 150 – 170 segments in the flagellum of their antenna.
Camhi & Johnson* studied the wall following behavior of the American cockroach. A cockroach will often walk next to a wall by maintaing one antenna in contact with the wall. The cockroach antennae curves slightly backward at the end, which keeps the antenna from getting stuck in a crack…
Source: Living With Insects Blog