Exemplo n.º 1
0
        public override void DoCalib()
        {
            var index = 0;

            var calib1Height = Platform["Calib1Height"]?.Data()[2] ?? 0;
            var calib2Height = Platform["Calib2Height"]?.Data()[2] ?? 0;

            foreach (var pos in Project.CapturePos)
            {
                index++;

                Platform.Jump(pos, jumpHeight: -20, zLimit: -22);
                Log($"{Platform.Name} Jump Calib {index}");


                var ret    = Camera1.TriggerCalib(index);
                var result = Camera1.GetResult(string.Empty);

                Log($"{Camera1} Trigger Calib {index} {ret} {result}");
            }
        }