public void InitPIDs() { pitchController = GLB.PitchYawController.Clone <ConstAttitudeController>(); yawController = GLB.PitchYawController.Clone <ConstAttitudeController>(); pitchPID = GLB.AvDampingController.Clone <PIDf_Controller2>(); rollPID = GLB.AvDampingController.Clone <PIDf_Controller2>(); yawPID = GLB.AvDampingController.Clone <PIDf_Controller2>(); pitchController.name = "pitch"; //debug yawController.name = "yaw"; //debug }