battery check and new pid in main Copter