I would check the connection plug for the foot control to the TM making sure its tight, and all the pins are in good condition, not bent, etc. then check the connection plug for the Ipilot as well. I would also check the connections at the battery and make sure they are clean, tight, etc. and check your fuse or breaker as well. Might even check the wires/connections behind the plug up front as well. Sounds like a bad connection to me as well.
GO BIG ORANGE !
I meant to behave, but there were just way too many other options available at the time.