Exemplo n.º 1
0
        private void OpenGripper()
        {
            Debug.WriteLine("Opening gripper.");
            MoveLogicalCommand moveCommand = new MoveLogicalCommand(m_Servos);

            moveCommand[ChannelId.Gripper] = 20;
            m_SSC32Board.RunCommand(moveCommand);
        }
Exemplo n.º 2
0
        private void Move()
        {
            MoveRawCommand moveCommand = new MoveRawCommand();

            moveCommand[ChannelId.Base]        = this.BaseMilliSecs;
            moveCommand[ChannelId.Shoulder]    = this.ShoulderMilliSecs;
            moveCommand[ChannelId.Elbow]       = this.ElbowMilliSecs;
            moveCommand[ChannelId.WristUpDown] = this.WristTiltMilliSecs;

            m_SSC32Board.RunCommand(moveCommand);
        }