Aldebaran.NaoCamCSharpExample.HeadPanning.UpdateYaw C# (CSharp) 메소드

UpdateYaw() 공개 메소드

public UpdateYaw ( int val ) : void
val int
리턴 void
        public void UpdateYaw(int val)
        {
            if (_motion != null)
            {
                try
                {
                    _motion.setAngles("HeadYaw", ScaleToRange(-val, _minYaw, _maxYaw),0.1f);
                }
                catch (Exception e)
                {
                    Console.Out.WriteLine("HeadPanning.UpdateYaw exception: " + e);
                }
            }
        }