The osFlexPilot Autopilot is designed for control of fixed-wing and helicopter UAS benefiting from a shielded enclosure and/or extensive payload interfaces. The osFlexPilot can interface with virtually any actuator over PWM, CAN, RS-422, RS-485, RS-232, or S.BUS. Power can be regulated and switched on and off to payloads at the input voltage, 5V, and 3.3V. A RC receiver can be interfaced to the autopilot allowing for manual control of vehicles. Extensive payload interfaces allow for virtually any payload including laser range finders, HD cameras, radar altimeters, transponders, and other sensors to directly interface to the autopilot and user software. Battery voltage and current draw measurements allow for accurate calculation of remaining battery capacity to ensure maximum flight times. The osFlexPilot supports low-cost, high link-rate, and even IP modems.