private void OpenGripper() { Debug.WriteLine("Opening gripper."); MoveLogicalCommand moveCommand = new MoveLogicalCommand(m_Servos); moveCommand[ChannelId.Gripper] = 20; m_SSC32Board.RunCommand(moveCommand); }
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); }